Ondřej Hruška
9b74a12045
Adjust margins for mobile with navbar-under
7 years ago
Ondřej Hruška
0244019ca1
Fixed horrible outline around notif clearing checkbox & moved the overlay to a more sr-friendly place
7 years ago
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
7 years ago
Sorin Davidoi
3817704806
feat(compose): Change media query for compact mode to max-height: 400px ( #4291 )
7 years ago
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
7 years ago
Sorin Davidoi
f24b81e27f
feat(css): Remove border radius from WebKit's scrollbars ( #4278 )
7 years ago
Surinna Curtis
7a77f7b3bb
Add sourceRoot/includePaths to loaders
Use the settings modal as an example/testcase
7 years ago
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.
7 years ago
Ondřej Hruška
08d021916d
Fixed issue #72 - bad css in report dialog
7 years ago
Ondřej Hruška
3a526e2369
Fix broken letterboxing in media previews
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
Sorin Davidoi
a9a0c854e1
fix(components/media_modal): Style issues ( #4187 )
7 years ago
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
7 years ago
unarist
c29c20ab3c
Add background color for spoiler input, like toot textarea ( #4181 )
7 years ago
Ondřej Hruška
08d19778d5
Fix extra clickable spaces for narrow screen
7 years ago
Eugen Rochko
e19eefe219
Redesign the landing page, mount public timeline on it ( #4122 )
* Redesign the landing page, mount public timeline on it
* Adjust the standalone mounted component to the lacking of router
* Adjust auth layout pages to new design
* Fix tests
* Standalone public timeline polling every 5 seconds
* Remove now obsolete translations
* Add responsive design for new landing page
* Address reviews
* Add floating clouds behind frontpage form
* Use access token from public page when available
* Fix mentions and hashtags links, cursor on status content in standalone mode
* Add footer link to source code
* Fix errors on pages that don't embed the component, use classnames
* Fix tests
* Change anonymous autoPlayGif default to false
* When gif autoplay is disabled, hover to play
* Add option to hide the timeline preview
* Slightly improve alt layout
* Add elephant friend to new frontpage
* Display "back to mastodon" in place of "login" when logged in on frontpage
* Change polling time to 3s
7 years ago
Yamagishi Kazutoshi
31366334cb
Drawer tab according to column ( #4135 )
* Add notifications link to drawer
* Remove local and public timeline tab in drawer
* Add home
7 years ago
Ondřej Hruška
9f7a5aac1e
Toot context menu is now centered
7 years ago
Ondřej Hruška
945c5812d3
Added extra clickable area in status gutter
7 years ago
Sorin Davidoi
4122a837fa
fix(components/media_modal): Aspect ratio ( #4128 )
* fix(components/media_modal): Aspect ratio
* fix: Remove useless style
7 years ago
Sorin Davidoi
fc4c74660b
Swipeable views ( #4105 )
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
7 years ago
Ondřej Hruška
8e2b1f79e4
Small indent fix in components.scss
7 years ago
Ondřej Hruška
2fb78fefc6
Fix fullwidth media CSS bugs with NSFW video, and bad spoiler margin on static pages ( #60 )
* Fix fullwidth style not applied to NSFW video correctly
* Fix botched video .media-spoiler margin on static pages
7 years ago
Yamagishi Kazutoshi
76318f8830
Don't use preview when image size is unknown ( #4113 )
7 years ago
Ondřej Hruška
dc2b8bdecd
Added a toggle for full-width media previews
7 years ago
Ondřej Hruška
e3c2183c12
New design for visibility icons
7 years ago
Sorin Davidoi
348d6f5e75
Lazy load components ( #3879 )
* feat: Lazy-load routes
* feat: Lazy-load modals
* feat: Lazy-load columns
* refactor: Simplify Bundle API
* feat: Optimize bundles
* feat: Prevent flashing the waiting state
* feat: Preload commonly used bundles
* feat: Lazy load Compose reducers
* feat: Lazy load Notifications reducer
* refactor: Move all dynamic imports into one file
* fix: Minor bugs
* fix: Manually hydrate the lazy-loaded reducers
* refactor: Move all dynamic imports to async-components
* fix: Loading modal style
* refactor: Avoid converting the raw state for each lazy hydration
* refactor: Remove unused component
* refactor: Maintain modal name
* fix: Add as=script to preload link
* chore: Fix lint error
* fix(components/bundle): Check if timestamp is set when computing elapsed
* fix: Load compose reducers for the onboarding modal
7 years ago
Ondřej Hruška
d41cec90cf
Added toot visibility icons and removed Boost btn changing icon
7 years ago
kibigo!
0c7ee5c792
Fixed non-status notification styling
7 years ago
kibigo!
bba75c15f1
Statuses redux!
- Better unified reblogs, statuses, and notifications
- Polished up collapsed toots greatly
- Apologies to bea if this makes everything more difficult
7 years ago
Ondřej Hruška
4cbbea5881
Improved CSS for drawer to restore original looks (full height)
7 years ago
Ondřej Hruška
167c392efd
Fix drawer clipping dropdowns
7 years ago
Surinna Curtis
6b77424660
some adjustments to open/active for advanced options dropdown
7 years ago
Surinna Curtis
301c185878
highlight … button if any options enabled
7 years ago
Surinna Curtis
cb7f54891f
Revert "change active/hover display on advanced options"
This reverts commit ade773cb0a
.
7 years ago
Surinna Curtis
f6ce1a9592
toggles for advanced options
7 years ago
Surinna Curtis
aee64b996c
change active/hover display on advanced options
7 years ago
Surinna Curtis
b73ee36949
Reduce advanced options dropdown width
7 years ago
Surinna Curtis
85d5249479
The beginnings of an advanced options dropdown
7 years ago
Surinna Curtis
ff9f2088f7
Move layout override into app settings modal
Squashed commit of the following:
commit 3842f87986
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 19:57:39 2017 -0500
Fix some style issues
commit 08628a0234
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 19:35:22 2017 -0500
Improved styling and layout of select app settings
commit 1787a7c20f
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 17:13:53 2017 -0500
remove the layout selector ui from the drawer
commit 7d93b180b1
Author: Surinna Curtis <ekiru.0@gmail.com>
Date: Mon Jul 3 17:01:51 2017 -0500
Add layout setting to app settings modal
7 years ago
Eugen Rochko
bf50e3e5ae
Fix height issue in report modal
7 years ago
adbelle
15227c713d
Remove color lightening for search results section
This will cause it to match the shading of the container behind it.
7 years ago
adbelle
30736f4886
Add opaque background to search results section
7 years ago
Yamagishi Kazutoshi
0e09048537
Fix broken style in media gallery (regression from #3963 ) ( #4014 )
7 years ago
kibigo!
46f83bb28b
Styling fixes to media spoilers
7 years ago
kibigo!
ec2daae71c
Media display improvements
- built in fullwidth styling
- letterbox settings toggle
- media no longer counts towards height when making toot-collapsing
measurements
7 years ago
Naoki Kosaka
049cea30b0
Fix media-gallery, overflow is hidden. ( #4008 )
7 years ago