Commit Graph

1897 Commits

Author SHA1 Message Date
e652de227c Merge branch 'accessibility' into 'develop'
Accessibility improvements

See merge request soapbox-pub/soapbox-fe!697
2021-08-28 18:26:33 +00:00
9b879b6931 Fix page incorrectly scrolling when bringing up dropdown menus 2021-08-28 15:38:51 +02:00
7b7808defe Fix and refactor keyboard navigation in dropdown menus 2021-08-28 15:37:53 +02:00
a8501fb44d Fix scroll position resetting when opening media modals in web UI 2021-08-28 15:23:12 +02:00
14c094e9db styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-28 15:23:09 +02:00
11057970ef Improve focus handling with dropdown menus
- Focus first item when activated via keyboard
- When the dropdown menu closes, give back the focus to
  the actual element which was focused prior to opening the menu
2021-08-28 15:23:05 +02:00
675c5a4df2 Improve keyboard navigation in privacy dropdown
* Trap tab in privacy dropdown

* Give focus back to last focused element when privacy dropdown menu closes

* Actually give back focus to the element that had it before clicking the dropdown
2021-08-28 15:23:00 +02:00
64665df236 Improve dropdown menu keyboard navigation
* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes
2021-08-28 15:22:43 +02:00
e43692b4ce Trap tab in modals 2021-08-28 15:22:25 +02:00
2ef0cdb71b Fix ordering of keyboard access between CW field, textarea and emoji picker 2021-08-28 15:22:20 +02:00
4b4e815e40 Add hotkey for opening media files 2021-08-28 15:22:08 +02:00
6c034e3a41 Minor accessibility improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-28 15:22:04 +02:00
6ccd2bc32f Make profile banner expandable 2021-08-27 14:52:14 -06:00
47a05b0512 Merge branch 'fix-join-date' into 'develop'
ProfileInfoPanel: fix join date

See merge request soapbox-pub/soapbox-fe!695
2021-08-27 05:50:13 +00:00
504962b47b ProfileInfoPanel: fix join date 2021-08-26 22:48:56 -07:00
eea2f38f8c Build config: allow hardcoding BACKEND_URL into the build 2021-08-26 20:42:20 -07:00
2d11a3bd10 Refactor Icon components, add specific ForkAwesomeIcon component 2021-08-26 14:15:34 -07:00
56462d8a9a Add accounts_meta reducer to support storing source data for multiple accounts 2021-08-23 17:51:32 -05:00
d2a6a90757 Mastodon: fix edit profile source rendering 2021-08-23 16:03:35 -05:00
be0f252351 Mastodon: conditionally display Markdown, emojiReact column settings, sidebar features, and account aliases 2021-08-23 15:31:42 -05:00
6b19f39d51 Federating conditional UI 2021-08-23 14:14:47 -05:00
39c95f7a00 Conditional OAuth scopes 2021-08-22 19:13:09 -05:00
3e4a687a4b Standalone: fix token scope request 2021-08-22 17:13:01 -05:00
28b1bdf1ee Standalone: fix auth with Mastodon 2021-08-22 14:46:40 -05:00
0b4b3479ea Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
1b30468366 Auth: move some actions into security.js 2021-08-22 10:55:56 -05:00
1579e047b5 Add displayName, use as app name 2021-08-21 22:46:33 -05:00
fcaf19df76 Auth: rudimentary API baseURL support 2021-08-21 22:08:26 -05:00
74f4c59004 Auth: refactor OAuth token actions 2021-08-21 19:45:45 -05:00
a1cbbfcb02 Auth: refactor app actions 2021-08-21 19:16:54 -05:00
463b3ba085 Auth: store users by their ActivityPub ID instead of their primary key 2021-08-21 17:38:19 -05:00
bfa61cf62a Merge branch 'attachment-previews' into 'develop'
Attachment preview icons

See merge request soapbox-pub/soapbox-fe!678
2021-08-21 14:44:57 +00:00
686c458b63 Attachment preview icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-21 16:28:05 +02:00
64e2f53692 Mastodon: don't conditionally render chat routes (this causes bugs) 2021-08-20 16:28:15 -05:00
e5e15fc3f0 Mastodon: conditionally render emojiReacts 2021-08-20 16:16:53 -05:00
893c903d71 Mastodon: conditionally disable chats 2021-08-20 15:46:17 -05:00
88d1b9a0a2 Add missing propType
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-19 23:52:51 +02:00
5f68df64f1 Fix load more search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-19 23:49:37 +02:00
5abd81695a fix lint 2021-08-14 22:59:33 -04:00
d6f9b6547a use brand color as browser theme color 2021-08-14 22:49:09 -04:00
3fcee10887 Move to new fontsource packages 2021-08-12 09:06:28 -06:00
fc03a10505 pinnedHosts: fix light theme CSS 2021-08-11 20:34:49 -05:00
d2a4f433e2 RemoteTimeline: only display filter message if the host isn't pinned 2021-08-11 20:15:26 -05:00
4e2f12eb18 pinnedHosts: add host picker to public timelines 2021-08-11 19:38:25 -05:00
6961309b85 RemoteTimeline: allow pinning hosts 2021-08-11 18:55:10 -05:00
9e12e978d8 RemoteTimeline: rename InstanceInfoPanel 2021-08-11 18:35:31 -05:00
a5460bb97e pinnedHosts: actions 2021-08-11 18:23:42 -05:00
fbeb8de2a0 AccountTimeline: pinned post column settings 2021-08-11 16:00:49 -05:00
1d18db3439 AccountTimeline: column settings UI 2021-08-11 15:49:57 -05:00
dcf7dd216f AccountTimeline: let it be configurable like other timelines 2021-08-11 15:31:46 -05:00