Commit graph

788 commits

Author SHA1 Message Date
Justin
c758c5c2f9 Support 'actionType' prop in ActionButton 2022-05-03 13:22:26 -04:00
Justin
a065399772 Merge branch 'deep-linking' into 'develop'
Support app deep-linking

See merge request soapbox-pub/soapbox-fe!1303
2022-05-03 15:09:31 +00:00
Justin
318d7fdc48 Support app deep-linking 2022-05-03 10:43:17 -04:00
Justin
8dc7cc8794 Convert ActionButton to TSX 2022-05-03 09:27:15 -04:00
Alex Gleason
89b612e6bf
Streamfield: i18n 2022-05-02 22:05:43 -05:00
Alex Gleason
96401006ff
Streamfield: support label and hint text 2022-05-02 21:57:20 -05:00
Alex Gleason
a6f4f07d9f
Streamfield: allow removing elements 2022-05-02 21:38:15 -05:00
Alex Gleason
cd1a404351
Basic custom profile fields 2022-05-02 21:10:47 -05:00
Justin
86fb9bf704 Add ProgressBar and dark mode support 2022-05-02 13:55:08 -04:00
Justin
924b042c84 Improve reporting modal 2022-05-02 13:55:07 -04:00
marcin mikołajczak
8ba9cef23d Merge branch 'autoload-switch' into 'develop'
Make 'Automatically load more items…' work

See merge request soapbox-pub/soapbox-fe!1288
2022-05-01 19:52:33 +00:00
5a86de5d13 Use useSettings hook
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-01 21:36:29 +02:00
Alex Gleason
50e71c1156
EmojiButtonWrapper: delay closing the selector for 500ms 2022-05-01 14:31:40 -05:00
520a3bd765 Merge remote-tracking branch 'soapbox/develop' into autoload-switch 2022-05-01 21:30:13 +02:00
d6795a55b1 Fix 'Automatically load more items…'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-01 21:30:07 +02:00
Alex Gleason
d20d66078c
EmojiButtonWrapper: wrap in .relative 2022-05-01 14:10:35 -05:00
Alex Gleason
ebff30e559
StatusActionBar: stopPropagation on reply click 2022-05-01 13:50:13 -05:00
Alex Gleason
e2cbc449ad Merge branch 'card-title-truncate' into 'develop'
CardTitle: truncate too long text

See merge request soapbox-pub/soapbox-fe!1286
2022-05-01 18:45:50 +00:00
Alex Gleason
c4cd2d2049
CardTitle: truncate too long text 2022-05-01 13:29:36 -05:00
Alex Gleason
2e5cc2619d
ProfileHoverCard: convert to tsx 2022-05-01 13:11:20 -05:00
Alex Gleason
b7d4411627
Add JSDoc comments to all ui components 2022-04-30 23:39:58 -05:00
Alex Gleason
28ead43f96
Fix DMs link 2022-04-30 11:45:58 -05:00
Alex Gleason
f19bd32e52
/admin --> /soapbox/admin 2022-04-30 11:31:04 -05:00
Alex Gleason
580960695c
ProfilePage: convert to TSX 2022-04-29 17:59:30 -05:00
d487e34548 Merge remote-tracking branch 'soapbox/next' into edit-posts 2022-04-29 23:07:34 +02:00
Alex Gleason
858740ad47
EditProfile: convert to React.FC+TSX (mostly) 2022-04-29 14:22:29 -05:00
Alex Gleason
151cc8b149
Blurhash: convert to TSX 2022-04-29 09:44:49 -05:00
Alex Gleason
3abfdd8bf2
Layout: move pb-36 to Layout.Main 2022-04-28 21:48:12 -05:00
Alex Gleason
527b5086a6
Counter: dark ring styles 2022-04-28 16:33:42 -05:00
Alex Gleason
aa9c643006
Break Counter into its own component 2022-04-28 16:29:15 -05:00
Alex Gleason
d56a97451f
Let menus have counters 2022-04-28 16:20:21 -05:00
Alex Gleason
fd9c7add5c
Tabs: support count prop on item 2022-04-28 15:28:08 -05:00
Alex Gleason
a8f2ca83a1
Add tabs to dashboard 2022-04-28 14:06:47 -05:00
Alex Gleason
af07af9b75
HomePage: convert to TSX 2022-04-28 13:05:00 -05:00
Alex Gleason
283213b5ba
Convert legacy forms to TypeScript 2022-04-28 12:43:36 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
535cca7599
Convert a few files into TypeScript 2022-04-27 20:01:31 -05:00
79d313c4a8 fix repost button on DMs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-27 23:11:24 +02:00
Alex Gleason
e0cc53038a Merge branch 'typescript/convert-mfa-form' into 'next'
[Typescript] Convert MfaForm

See merge request soapbox-pub/soapbox-fe!1265
2022-04-26 19:08:47 +00:00
Kevin Brown
0ff866979f
Add disabled 2022-04-26 13:26:06 -04:00
Alex Gleason
3c90937bf2
WrappedRoute: refactor with TSX+FC 2022-04-26 12:01:57 -05:00
Alex Gleason
6db00e0293 Revert "Merge branch 'allow-text-selection' into 'next'"
This reverts merge request !1262
2022-04-26 14:28:39 +00:00
Justin
0a622d0741 Allow text selection in the Status component 2022-04-26 09:54:26 -04:00
Alex Gleason
2758980021
Restore mobile account switcher, make it available to everyone 2022-04-25 18:37:20 -05:00
Alex Gleason
92cdd238b1
Merge remote-tracking branch 'origin/next' into next-small-fixes 2022-04-25 18:26:29 -05:00
Alex Gleason
b8955d63e2
SidebarMenu: make accounts clickable 2022-04-25 18:26:17 -05:00
Alex Gleason
7982c2c1f2
Toggle visiblity --> Hide 2022-04-25 17:33:29 -05:00
161f561b44 dark styles on public pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-25 23:41:02 +02:00
1ef6c55d44 maybe add some links to sidebar menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-25 22:44:15 +02:00
Justin
af5be1c276 Remove Lottie 2022-04-25 12:40:27 -04:00
Alex Gleason
3bd272622a
Nvm, definitely do cache icon requests 2022-04-24 19:07:10 -05:00
Alex Gleason
8586c8ded5
LinkFooter: add breathing room 2022-04-24 18:35:23 -05:00
Alex Gleason
187af8b7d2
Improve dropdown menu styles 2022-04-24 17:53:03 -05:00
Alex Gleason
73f086c680
Add "Donor" badge 2022-04-24 17:27:08 -05:00
Alex Gleason
09ad4f0252
Merge remote-tracking branch 'origin/next-ts-conversions' into next-patron 2022-04-24 17:05:41 -05:00
Alex Gleason
2afcf5c2b6
SidebarNavigation: remove unused ImmutableMap import 2022-04-24 17:05:11 -05:00
Alex Gleason
3f9cc3cd04
Restore Patron features, context to TSX 2022-04-24 17:01:57 -05:00
Alex Gleason
7038d6a844
Convert a bunch of files to TypeScript 2022-04-24 14:28:07 -05:00
Alex Gleason
bcb8d75f71
ScrollableList: don't call onLoadMore() unless it hasMore 2022-04-23 16:43:37 -05:00
Alex Gleason
ab2e6b2ee3
Features: extensive documentation 2022-04-23 15:40:54 -05:00
Alex Gleason
8becc4de2a
Layout: add breathing room to bottom of UI, fixes #880 2022-04-23 12:19:51 -05:00
Alex Gleason
7b6a56c005
ScrollableList: use Virtuoso component types 2022-04-23 11:28:28 -05:00
Alex Gleason
942027bbd9 Merge branch 'next' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1250
2022-04-22 21:12:22 +00:00
Alex Gleason
ea34a7f303
DELETE INTERSECTION OBSERVER ARTICLE 2022-04-22 13:13:40 -05:00
Alex Gleason
006e253e23
ScrollableList: Don't support autoloadMore for now
This setting allowed disabling endless scrolling, and would display a clickable "load more" button at the bottom of the feed.
2022-04-22 13:00:12 -05:00
Alex Gleason
083b3c22d0
ScrollableList: render emptyMessage inside the PullToRefresh 2022-04-22 12:56:06 -05:00
Alex Gleason
730556a692
ScrollableList: render a spinner if placeholder isn't provided 2022-04-22 12:27:37 -05:00
Alex Gleason
ae48cb2c06
ScrollableList: replace margins with padding 2022-04-22 12:24:09 -05:00
8f848877a0 yarn lint:js
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-22 19:08:37 +02:00
Alex Gleason
a8c306e62b
ScrollableList: add placeholder footer, fix "empty" state 2022-04-22 10:23:53 -05:00
0e3d0e25b5 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-22 17:13:30 +02:00
Alex Gleason
0d463bbbd1
ScrollableList: fix empty children 2022-04-22 09:35:52 -05:00
Alex Gleason
b3f4abc8c1
Reimplement ScrollableList with Virtuoso 2022-04-21 21:50:12 -05:00
Alex Gleason
4047f796d1
Refactor Account favicon into a button component, gets rid of console error 2022-04-21 18:27:16 -05:00
Alex Gleason
6184ab780a
ErrorBoundary: fix BuildConfig import 2022-04-21 12:20:26 -05:00
Alex Gleason
889027cd02
Use heart icon instead of thumb-up, fix focus ring 2022-04-20 16:48:17 -05:00
Alex Gleason
b31d088525
EmojiButtonWrapper: remove onBlur event (the desired outcome already happens with onMouseLeave) 2022-04-20 16:40:22 -05:00
Alex Gleason
234e008c93
EmojiButtonWrapper: improve Popper positioning 2022-04-20 16:35:09 -05:00
marcin mikołajczak
edd8c2705a Merge branch 'next' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1245
2022-04-20 17:55:29 +00:00
Alex Gleason
074a1a6fce Merge branch 'next-onboarding' into 'next'
Next: onboarding flow

See merge request soapbox-pub/soapbox-fe!1217
2022-04-20 17:53:02 +00:00
5cecb2ef9e SidebarNavigation: Do not show Bookmarks/Lists links if unauthenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-20 19:25:07 +02:00
Alex Gleason
ab5b8f747e
Make handleShare use status.uri instead of status.url 2022-04-20 10:54:12 -05:00
Alex Gleason
445327d139
ErrorBoundary: clear IndexedDB too 2022-04-20 10:46:49 -05:00
Alex Gleason
1deb4dfd2d
Merge remote-tracking branch 'origin/next' into next-onboarding 2022-04-20 08:23:15 -05:00
Alex Gleason
38bb876560
public_layout/header: convert to tsx 2022-04-19 17:11:24 -05:00
Alex Gleason
862d345e26
Replace react-lottie with lottie-web, move that giant Pulse animation into a chunk 2022-04-19 17:03:28 -05:00
Alex Gleason
45018a6fb0
Refactor ErrorBoundary, let it destroy the ServiceWorker 2022-04-19 16:30:10 -05:00
Alex Gleason
7630c64ddd
ExternalLogin: convert to tsx 2022-04-19 15:04:34 -05:00
Alex Gleason
5731b9b1c7
Redirect all /auth routes 2022-04-19 14:37:48 -05:00
Alex Gleason
f577f6fcbe
Account: normalize favicon and domain, clean up account.tsx 2022-04-19 12:28:47 -05:00
Alex Gleason
e5ca5464b7
Widget: fix action button in dark mode 2022-04-19 12:28:37 -05:00
Alex Gleason
5a4ad706cf
Widget: prevent circular imports 2022-04-19 11:37:06 -05:00
Alex Gleason
6968c6bf40
Remove BirthdayReminders component 2022-04-18 23:35:40 -05:00
Alex Gleason
67b0b6a317
Add BirthdayPanel 2022-04-18 23:30:40 -05:00
Alex Gleason
97b5c5af43
Widget: add actions 2022-04-18 23:10:01 -05:00
Justin
76a04ccbb9 Improve Pending Status design 2022-04-18 15:08:41 -04:00
Justin
582767e673 Fix bugs with Account component 2022-04-18 12:15:15 -04:00
Alex Gleason
39f6910d27
Poll: fix squished radio buttons 2022-04-16 21:08:18 -05:00
Alex Gleason
24ffe230d5 Merge branch 'next_' into 'next'
next

See merge request soapbox-pub/soapbox-fe!1231
2022-04-17 00:28:13 +00:00
Alex Gleason
35396923be
Test rendering notifications 2022-04-16 19:03:33 -05:00