Commit graph

238 commits

Author SHA1 Message Date
Alex Gleason
08f5e1d021
Webpack: chunk Sentry to reduce entrypoint size 2021-09-12 12:33:39 -05:00
Alex Gleason
5921fa9b2d
Fix emoji tests again 2021-09-12 11:09:01 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin 2021-09-12 10:51:58 -05:00
Alex Gleason
bf9a6950eb
Webpack: optimize ErrorBoundary 2021-09-11 18:29:43 -05:00
Alex Gleason
b91c7055ea
StatusContent: add missing key props 2021-09-11 14:31:24 -05:00
Alex Gleason
c2560064e3
Sentry: basic monitoring 2021-09-11 13:44:54 -05:00
Alex Gleason
32dc0d863f Merge branch 'webpack-assets' into 'develop'
Webpack: move to asset modules, refactor

See merge request soapbox-pub/soapbox-fe!738
2021-09-11 01:54:36 +00:00
Alex Gleason
d0630c765f
Jest: update emoji tests 2021-09-10 20:37:13 -05:00
Alex Gleason
19181f40c3
Webpack: bundle Twemoji icons as assets 2021-09-10 17:15:57 -05:00
fc8bb22359 Reactions page improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-10 00:23:49 +02:00
marcin mikołajczak
c2fc7a0331 Merge branch 'develop' into 'reactions-page'
# Conflicts:
#   app/soapbox/utils/features.js
2021-09-09 20:48:30 +00:00
Alex Gleason
b24cf2361b
SidebarMenu: conditional display of features 2021-09-08 14:03:05 -05:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY 2021-09-05 13:21:39 -05:00
Alex Gleason
e8a4a69b4e
Subdirectory fix: load emojis 2021-09-04 13:11:46 -05:00
b8a9a17c09 Update emoji selector snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 21:54:39 +02:00
5a7b6e6a06 Trap Tab key in emoji selector
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-30 21:24:34 +02:00
Alex Gleason
e652de227c Merge branch 'accessibility' into 'develop'
Accessibility improvements

See merge request soapbox-pub/soapbox-fe!697
2021-08-28 18:26:33 +00:00
Thibaut Girka
9b879b6931 Fix page incorrectly scrolling when bringing up dropdown menus 2021-08-28 15:38:51 +02:00
Thibaut Girka
7b7808defe Fix and refactor keyboard navigation in dropdown menus 2021-08-28 15:37:53 +02:00
Thibaut Girka
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
Thibaut Girka
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
Thibaut Girka
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
Thibaut Girka
e43692b4ce Trap tab in modals 2021-08-28 15:22:25 +02:00
ThibG
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
Alex Gleason
2d11a3bd10
Refactor Icon components, add specific ForkAwesomeIcon component 2021-08-26 14:15:34 -07:00
Alex Gleason
6b19f39d51
Federating conditional UI 2021-08-23 14:14:47 -05:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Alex Gleason
e5e15fc3f0
Mastodon: conditionally render emojiReacts 2021-08-20 16:16:53 -05:00
Alex Gleason
bde53541b7 Merge branch 'account-aliases' into 'develop'
Account aliases

See merge request soapbox-pub/soapbox-fe!663
2021-08-11 17:02:56 +00:00
f203a4d389 WIP: Account aliases
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-05 15:31:29 +02:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason
836feb603d Merge branch 'features/polls-behind-cws' into 'develop'
Put poll options behind content warnings

See merge request soapbox-pub/soapbox-fe!653
2021-08-02 16:01:44 +00:00
e5184642fe Put poll options behind content warnings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-01 22:14:33 +02:00
33c7fcdcb7 No outline for emoji selector when invisible, but this time it actually works
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 13:07:24 +02:00
Alex Gleason
b22f20a390 Merge branch 'accessible-emoji-picker' into 'develop'
Keyboard-accessible emoji picker

See merge request soapbox-pub/soapbox-fe!634
2021-07-21 16:41:26 +00:00
c5dfd6c7d7 Update snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 16:34:50 +02:00
5ee92b47ce Keyboard-accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 13:58:22 +02:00
Alex Gleason
76a556cdeb Merge branch 'styles-accessibility' into 'develop'
Minor accessibility improvements

See merge request soapbox-pub/soapbox-fe!578
2021-07-20 18:41:38 +00:00
8cf8937bc9 Update snapshots
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-20 11:51:49 +02:00
9a5419002a Update Polish translation, make some strings translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 17:28:28 +02:00
690da99d75 remove emoji selector related changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 14:02:15 +02:00
13092271de wip accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 12:53:17 +02:00
Alex Gleason
567c4ce093 Merge branch 'fix/settings-checkbox' into 'develop'
Fix settings checkboxes

See merge request soapbox-pub/soapbox-fe!627
2021-07-16 23:52:24 +00:00
Alex Gleason
e978c1ca3b Merge branch 'profile-hover-staff-badges-fix' into 'develop'
ProfileHoverCard: fix redundant staff badges

Closes #690

See merge request soapbox-pub/soapbox-fe!622
2021-07-15 16:57:29 +00:00
Alex Gleason
402748f71f
ProfileHoverCard: fix redundant staff badges 2021-07-15 11:37:30 -05:00
Alex Gleason
58c142306d
Rename occurrences of self variable to ownAccount 2021-07-15 11:25:32 -05:00