Commit graph

301 commits

Author SHA1 Message Date
Alex Gleason
a8a0f18b2c
SubNavigation: use Tabler back icon 2021-09-20 18:36:37 -05:00
Alex Gleason
4a78deb7d3
PrimaryNavigation: use Tabler icons, add timelines 2021-09-20 18:28:55 -05:00
Alex Gleason
3de8dcced0
Tabler: add icons to ThumbNavigation 2021-09-20 17:05:59 -05:00
Alex Gleason
26c7068d66
Add Tabler icons 2021-09-20 15:33:28 -05:00
Alex Gleason
008d53a7d9
Merge remote-tracking branch 'origin/develop' into next 2021-09-18 20:52:26 -05:00
Alex Gleason
b0e37c773e
Load panels async 2021-09-18 17:48:13 -05:00
Alex Gleason
48216659d6
Merge remote-tracking branch 'origin/develop' into next 2021-09-18 16:22:09 -05:00
Alex Gleason
074604a1c9
Put Bookmarks and Lists behind feature flags 2021-09-18 15:03:38 -05:00
Alex Gleason
d6201905c8
Pass iconset into IconButton, IconWithCounter 2021-09-12 19:45:17 -05:00
Alex Gleason
3bf15df730
Add SVG icon support 2021-09-12 18:57:30 -05:00
Alex Gleason
1ea45f7cdb
Gut the TabsBar 2021-09-12 18:51:39 -05:00
Alex Gleason
9a33215528
Improve SidebarMenu design 2021-09-12 18:39:26 -05:00
Alex Gleason
e0f97f4e99
Start navigation changes 2021-09-12 18:20:13 -05:00
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
Alex Gleason
ffbdfb5712
Statuses: refactor visibility of moderator actions 2021-07-15 11:20:15 -05:00
Alex Gleason
a368ddfee8
UserIndex: display dates on accounts in a more compact way 2021-07-14 16:27:14 -05:00
Alex Gleason
12939e3354
LatestAccountsPanel: add expand button, use compact display of accounts 2021-07-14 13:17:21 -05:00
Alex Gleason
a362e0bbd7
UserIndex: display account joined date when available 2021-07-14 10:22:07 -05:00
Alex Gleason
92794847bc
Hide AdminFE from non-admin staff users 2021-07-13 10:41:31 -05:00
Alex Gleason
96af79ad90
Moderators: conditional display of features 2021-07-12 23:32:02 -05:00
Alex Gleason
4f51f1cea6
ErrorBoundary: display user's browser info 2021-07-11 18:19:18 -05:00
Alex Gleason
4e3c002f8a
Refactor getOtherAccounts selector 2021-07-10 04:49:44 -05:00
Alex Gleason
22254ec6bb
Big emojis: fix race condition 2021-07-09 18:52:06 -05:00
Alex Gleason
011b5dd19b
Big emojis: ignore mentions 2021-07-09 18:39:05 -05:00
Alex Gleason
2082c19c53
Rename justEmojis to onlyEmoji 2021-07-09 16:54:44 -05:00
Alex Gleason
c856e9df55
Big emojis in chats, too 2021-07-09 14:22:01 -05:00
Alex Gleason
60872c9f67
Display large emojis when it's the only thing in the status 2021-07-09 13:51:41 -05:00
Alex Gleason
1a3a6e2eb5
Fix propTypes warning in Blurhash, key warning in ProfileInfoPanel 2021-07-08 14:54:54 -05:00
Alex Gleason
c505cde24f
Timelines: fix dequeue, fix component propTypes 2021-07-08 14:52:07 -05:00
Alex Gleason
2978745311
Timelines: big refactor, use Immutable.OrderedSet 2021-07-08 14:28:53 -05:00
Alex Gleason
55495ebf4f
ErrorBoundary: display error text, fixes #672 2021-07-05 18:08:04 -05:00
4d3f4c5680 Accessible emoiji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-03 15:28:55 +02:00
8f53134b5e Minor accessibility improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-03 12:43:56 +02:00
Alex Gleason
5c630ad094
Replace repetitive blurhash code with component
https://github.com/tootsuite/mastodon/pull/14267
https://github.com/tootsuite/mastodon/pull/14278
2021-07-01 21:50:53 -05:00
Alex Gleason
d9202baa58
Simplify greentext code 2021-07-01 20:41:03 -05:00
Alex Gleason
e7d360baae
ProfileDropdown: memoize otherAccounts for performance 2021-07-01 19:31:27 -05:00
Alex Gleason
93d68ffe9b
SidebarMenu: memoize otherAccounts for performance 2021-07-01 18:59:48 -05:00
Alex Gleason
55015a72c1
Fix greentext postprocessing 2021-06-30 22:38:33 -05:00
Alex Gleason
bbeecddc37
Greentext support 2021-06-30 21:39:27 -05:00
Alex Gleason
8e168fdc0a Merge branch 'reaction-labels' into 'develop'
Reaction labels

See merge request soapbox-pub/soapbox-fe!557
2021-06-30 21:09:59 +00:00
78c55e8798 status.favourite: like
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:56:23 +02:00
f8deb13345 status.favourite: favorite
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:50:27 +02:00
Alex Gleason
c382eb086a Merge branch 'hotkey-navigation' into 'develop'
Partially fix hotkey navigation on timelines (up/down)

See merge request soapbox-pub/soapbox-fe!559
2021-06-30 16:05:59 +00:00
13a4549111 Partially fix hotkey navigation on timelines (up/down)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:57:33 +02:00
998e129072 Reaction labels
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:33:42 +02:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
Alex Gleason
dedac70e58
Fix display of multiple rich media items 2021-06-16 15:20:14 -05:00
Alex Gleason
ef53cd2de1
CryptoDonate: add donate button to mobile sidebar 2021-06-10 14:05:07 -05:00
Alex Gleason
47f6376e3e
Letterbox images with excess aspect ratios 2021-05-30 14:21:52 -05:00
Alex Gleason
66a491d298
Fix video display in media gallery 2021-05-17 22:17:10 -05:00
Alex Gleason
4db03cc3c9
Indicate > 4 attachments, fixes #591 2021-05-17 17:38:36 -05:00