kibigo!
866e441df3
[WIP] Initial status work
2017-08-14 15:07:22 -07:00
Ondřej Hruška
4dc0ddc601
fix regression - collapse button not working
2017-08-07 22:46:24 +02:00
Ondřej Hruška
7a1ca8b0df
Merge remote-tracking branch 'upstream/master'
2017-08-07 22:43:52 +02:00
Ondřej Hruška
b8791ae79b
always put @handles on a new line. undo some needless changes from prev cmmt
2017-08-07 21:59:49 +02:00
Ondřej Hruška
b9a2ceca35
removed ellipsis from .display-name
2017-08-07 21:24:19 +02:00
Sorin Davidoi
8eb6d171e6
feat: Cache status height to avoid expensive renders ( #4439 )
...
* feat: Cache status height to avoid expensive renders
* feat: Escape content and emojify in reducers
* fix(css): Remove backface-visibility: hidden from .scrollable
* fix(statuses): Avoid creating DOMParses inside a loop
2017-08-07 20:32:03 +02:00
unarist
94e233e7b2
Fix column-back-button style for some browsers ( #4484 )
...
Use `text-align: unset` instead of `text-align: start` which Edge doesn't support for now.
Also remove default margin on Safari.
2017-08-02 13:09:37 +02:00
kibigo!
8150689b48
Merge upstream ( #111 )
2017-08-01 13:20:29 -07:00
Yamagishi Kazutoshi
8ccb3b96ab
Re-add outline ( #4474 )
...
* Re-add outline
* respect default of web browser
2017-08-01 01:40:31 +02:00
unarist
82b4cf4acb
Fix button overflow on confirmation modal for mobile ( #4465 )
2017-07-31 15:19:30 +02:00
Yamagishi Kazutoshi
bb85043f46
Disable sensitive button when with content warnings ( #4460 )
2017-07-31 05:06:56 +02:00
Sorin Davidoi
e44f03bc71
Improve accessibility (part 7) ( #4457 )
...
* fix(media_modal): Keyboard navigation
* fix(column_back_button): Use native button
* fix(media_gallery): Keyboard navigation
* fix(status_content): Make CW content focusable
2017-07-31 00:18:15 +02:00
Ondřej Hruška
6ff084dbbb
Improved notifications cleaning UI with set operations ( #109 )
...
* added notification cleaning drawer
* bugfix
* fully implemented set operations for notif cleaning
* i18n for notif cleaning drawer & improved logic slightly. Also added a confirm dialog
* - notif dismiss "overlay" now shoves the notif aside to avoid overlap
- added focus ring to header buttons
- removed notif overlay entirely from DOM if mode is disabled
* removed comment
* CSS tuning - inconsistent division lines fix
2017-07-30 12:36:28 -04:00
Yamagishi Kazutoshi
29abc9438c
Remove outline from focused toot ( #4448 )
...
* Remove outline from focused toot
* change style
2017-07-30 16:27:51 +02:00
Eugen Rochko
b3c44e95a9
Improve actions modal style ( #4423 )
2017-07-28 15:30:53 +02:00
Sorin Davidoi
296bfa23aa
fix(actions-modal): Inconsistent margins ( #4418 )
2017-07-28 13:34:06 +02:00
Sorin Davidoi
50d38d7605
fix(dropdown_menu): Open as modal on mobile ( #4295 )
...
* fix(dropdown_menu): Open as modal on mobile
* fix(dropdown_menu): Open modal on touch
* fix(dropdown_menu): Show status
* fix(dropdown_menu): Max dimensions and reduce padding
* chore(dropdown_menu): Test new functionality
* refactor: Use DropdownMenuContainer instead of DropdownMenu
* feat(privacy_dropdown): Open as modal on touch devices
* feat(modal_root): Do not load actions-modal async
2017-07-27 22:31:59 +02:00
Ondřej Hruška
cb69e35b3b
Add visibility icon to Detailed status
2017-07-27 00:41:28 +02:00
Sorin Davidoi
6a6a62f13f
Improve accessibility (part 2) ( #4377 )
...
* fix(column_header): Invalid ARIA role
* fix(column): Remove hidden nodes from the DOM
* refactor(column_link): Remove unused property hideOnMobile
* fix(column_header): Use aria-pressed
* fix(column_header): Make collapsed content not focusable, add focusable property
* fix(column_loading): Make header non-focusable
* fix(column_settings): Use role to group the toggles
2017-07-26 13:46:53 +02:00
Ondřej Hruška
7e5691804d
Merge git://github.com/tootsuite/mastodon into tootsuite-master
2017-07-25 21:36:22 +02:00
Sorin Davidoi
de105d64d5
fix(getting_started): No scrollbar if not needed ( #4350 )
2017-07-25 01:05:35 +02:00
Eugen Rochko
07d93716aa
Improve remote profile disclaimer ( #4342 )
...
* Improve remote profile disclaimer
* yarn run manage:translations
2017-07-24 20:05:29 +02:00
Eugen Rochko
2374d63536
Redesign extended information page ( #4322 )
...
* Redesign extended information page
* Remove unused keys
* Add $ui-base-lighter-color variable to SCSS
2017-07-24 15:09:08 +02:00
Eugen Rochko
ed4c754fff
Add background to media modal ( #4317 )
2017-07-23 20:28:31 +02:00
Eugen Rochko
1e0c7a0afc
Add loading indicator animation ( #4316 )
2017-07-23 20:28:18 +02:00
Eugen Rochko
3a3b556065
Improve noscript message and style ( #4315 )
2017-07-23 20:28:06 +02:00
Sorin Davidoi
ff26b72333
fix(getting_started): Scroll on mobile ( #4312 )
2017-07-23 14:50:26 +02:00
Ondřej Hruška
9b74a12045
Adjust margins for mobile with navbar-under
2017-07-22 20:41:21 +02:00
beatrix-bitrot
984d2d4cb6
Merge that good fresh upstream shit
2017-07-22 01:16:53 +00:00
Ondřej Hruška
0244019ca1
Fixed horrible outline around notif clearing checkbox & moved the overlay to a more sr-friendly place
2017-07-21 21:12:43 +02:00
Ondřej Hruška
604654ccb4
New notification cleaning mode ( #89 )
...
This PR adds a new notification cleaning mode, super perfectly tuned for accessibility, and removes the previous notification cleaning functionality as it's now redundant.
* w.i.p. notif clearing mode
* Better CSS for selected notification and shorter text if Stretch is off
* wip for rebase ~
* all working in notif clearing mode, except the actual removal
* bulk delete route for piggo
* cleaning + refactor. endpoint gives 422 for some reason
* formatting
* use the right route
* fix broken destroy_multiple
* load more notifs after succ cleaning
* satisfy eslint
* Removed CSS for the old notif delete button
* Tabindex=0 is mandatory
In order to make it possible to tab to this element you must have tab index = 0. Removing this violates WCAG and makes it impossible to use the interface without good eyesight and a mouse. So nobody with certain mobility impairments, vision impairments, or brain injuries would be able to use this feature if you don't have tabindex=0
* Corrected aria-label
Previous label implied a different behavior from what actually happens
* aria role localization & made the overlay behave like a checkbox
* checkboxes css and better contrast
* color tuning for the notif overlay
* fanceh checkboxes etc and nice backgrounds
* SHUT UP TRAVIS
2017-07-21 20:33:16 +02:00
Sorin Davidoi
3817704806
feat(compose): Change media query for compact mode to max-height: 400px ( #4291 )
2017-07-21 14:22:29 +02:00
Sorin Davidoi
c1bc5e14eb
feat(compose): More space on mobile devices ( #4282 )
...
* feat(compose): More space on mobile devices
* feat(compose): Hide navigation when typing on mobile devices
* fix(compose): Make animation faster
* fix(navigation_bar): Remove hardcoded title
* fix(compose): Prevent accidental bluring
* fix(compose): Increase max-height to 600px
2017-07-21 01:38:24 +02:00
beatrix
e7edb4d1ee
Merge pull request #87 from tootsuite/master
...
merge upstream
2017-07-20 11:24:32 -04:00
Sorin Davidoi
f24b81e27f
feat(css): Remove border radius from WebKit's scrollbars ( #4278 )
2017-07-20 00:20:54 +02:00
Surinna Curtis
7a77f7b3bb
Add sourceRoot/includePaths to loaders
...
Use the settings modal as an example/testcase
2017-07-18 11:27:48 -07:00
Ondřej Hruška
c727eae441
Updated from tootsuite
2017-07-17 20:03:57 +02:00
Lynx Kotoura
d1c3e35d3f
Fix style settings for images in media modal ( #4220 )
...
* Shrink too wide single image modal
Fix too wide react-swipeable-view-container
Fix 0067f80 shrinking all react-swipeable-view-container
Change to apply max-width of react-swipeable-view-container only under media-modal.
Fix b30b03b just a typo
* Centering contents in image-loader
Centering small img, canvas, and video in image-loader.
2017-07-16 11:52:11 +02:00
kibigo!
09cfc079b0
Merge upstream ( #81 )
2017-07-15 14:33:15 -07:00
Ondřej Hruška
08d021916d
Fixed issue #72 - bad css in report dialog
2017-07-15 16:45:39 +02:00
Ondřej Hruška
3a526e2369
Fix broken letterboxing in media previews
2017-07-15 15:38:18 +02:00
Sorin Davidoi
72bd73f605
Small style fixes ( #4206 )
...
* fix(components/media_modal): Center horizontally in Firefox
* fix(components/status_list): Do not remove load more button
2017-07-14 22:31:25 +02:00
Eugen Rochko
e2685ccc81
Fix #4149 , fix #1199 - Store emojis as unicode ( #4189 )
...
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
2017-07-14 19:47:53 +02:00
Ondřej Hruška
75aafc932e
Added buttons and menu items to dismiss individual notifications ( #76 )
...
* Added DELETE verb for notifications
* Added notification dismiss button to status dropdown
* Added reveal-on-hover notif dismiss button, added FollowNotification component
2017-07-14 11:03:43 -04:00
Sorin Davidoi
a9067167bb
Improve swiping ( #4188 )
...
* feat(components/columns_area): Toggle animation settings
* fix(components/media_modal): Center non-visible views
* fix(components/media_modal): Check for null
* refactor(columns_area): Better logic
2017-07-14 00:49:01 +02:00
Sorin Davidoi
a9a0c854e1
fix(components/media_modal): Style issues ( #4187 )
2017-07-13 22:18:18 +02:00
Sorin Davidoi
0c7c188c45
Web Push Notifications ( #3243 )
...
* feat: Register push subscription
* feat: Notify when mentioned
* feat: Boost, favourite, reply, follow, follow request
* feat: Notification interaction
* feat: Handle change of public key
* feat: Unsubscribe if things go wrong
* feat: Do not send normal notifications if push is enabled
* feat: Focus client if open
* refactor: Move push logic to WebPushSubscription
* feat: Better title and body
* feat: Localize messages
* chore: Fix lint errors
* feat: Settings
* refactor: Lazy load
* fix: Check if push settings exist
* feat: Device-based preferences
* refactor: Simplify logic
* refactor: Pull request feedback
* refactor: Pull request feedback
* refactor: Create /api/web/push_subscriptions endpoint
* feat: Spec PushSubscriptionController
* refactor: WebPushSubscription => Web::PushSubscription
* feat: Spec Web::PushSubscription
* feat: Display first media attachment
* feat: Support direction
* fix: Stuff broken while rebasing
* refactor: Integration with session activations
* refactor: Cleanup
* refactor: Simplify implementation
* feat: Set VAPID keys via environment
* chore: Comments
* fix: Crash when no alerts
* fix: Set VAPID keys in testing environment
* fix: Follow link
* feat: Notification actions
* fix: Delete previous subscription
* chore: Temporary logs
* refactor: Move migration to a later date
* fix: Fetch the correct session activation and misc bugs
* refactor: Move migration to a later date
* fix: Remove follow request (no notifications)
* feat: Send administrator contact to push service
* feat: Set time-to-live
* fix: Do not show sensitive images
* fix: Reducer crash in error handling
* feat: Add badge
* chore: Fix lint error
* fix: Checkbox label overlap
* fix: Check for payload support
* fix: Rename action "type" (crash in latest Chrome)
* feat: Action to expand notification
* fix: Lint errors
* fix: Unescape notification body
* fix: Do not allow boosting if the status is hidden
* feat: Add VAPID keys to the production sample environment
* fix: Strip HTML tags from status
* refactor: Better error messages
* refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)
* fix: Error when target_status is nil
* fix: Handle lack of image
* fix: Delete reference to invalid subscriptions
* feat: Better error handling
* fix: Unescape HTML characters after tags are striped
* refactor: Simpify code
* fix: Modify to work with #4091
* Sort strings alphabetically
* i18n: Updated Polish translation
it annoys me that it's not fully localized :P
* refactor: Use current_session in PushSubscriptionController
* fix: Rebase mistake
* fix: Set cacheName to mastodon
* refactor: Pull request feedback
* refactor: Remove logging statements
* chore(yarn): Fix conflicts with master
* chore(yarn): Copy latest from master
* chore(yarn): Readd offline-plugin
* refactor: Use save! and update!
* refactor: Send notifications async
* fix: Allow retry when push fails
* fix: Save track for failed pushes
* fix: Minify sw.js
* fix: Remove account_id from fabricator
2017-07-13 22:15:32 +02:00
unarist
c29c20ab3c
Add background color for spoiler input, like toot textarea ( #4181 )
2017-07-13 14:49:57 +02:00
kibigo!
79d898ae0a
Merge upstream!! #64 <3 <3
2017-07-12 02:03:17 -07:00
Ondřej Hruška
08d19778d5
Fix extra clickable spaces for narrow screen
2017-07-11 17:53:50 +02:00