Commit graph

1086 commits

Author SHA1 Message Date
Alex Gleason
1902e47412
Checkbox: add jsdoc comment 2022-05-09 12:20:50 -05:00
Alex Gleason
c9ea4794ff
FormGroup: use hasError variable (tiny refactor) 2022-05-09 12:19:49 -05:00
Alex Gleason
e7d02da096
Delete legacy ShowablePassword component (new <Input> component adapts to type='password') 2022-05-09 12:05:32 -05:00
Alex Gleason
08386e1c42
Merge branch 'registration' of gitlab.com:soapbox-pub/soapbox-fe into registration 2022-05-09 12:03:04 -05:00
Justin
989b1800fa Add CTA banner to the bottom of the page 2022-05-09 13:02:12 -04:00
Alex Gleason
3c08326806
Merge remote-tracking branch 'origin/develop' into registration 2022-05-09 12:00:50 -05:00
Alex Gleason
d4ebfe474f
FormGroup: pass hasError to child component 2022-05-09 11:53:16 -05:00
Alex Gleason
5e531eda30
Input: add hasError styles 2022-05-09 11:28:38 -05:00
Alex Gleason
75c4582ce6
Merge remote-tracking branch 'origin/develop' into public-layout-improvements 2022-05-09 11:06:56 -05:00
Alex Gleason
3a0b88bb37 Merge branch 'stillimage-tsx' into 'develop'
Convert StillImage and legacy Avatar components to TSX

See merge request soapbox-pub/soapbox-fe!1329
2022-05-09 14:00:10 +00:00
Alex Gleason
24f40f9ecc Merge branch 'prefer-tabler' into 'develop'
Use settings.svg and mail.svg from Tabler

See merge request soapbox-pub/soapbox-fe!1328
2022-05-09 13:58:06 +00:00
Justin
f4aa3fed77 Extend 'FormGroup' to support Checkbox 2022-05-09 09:52:41 -04:00
Justin
03381c8fb2 Fix primary text on dark 2022-05-09 08:55:53 -04:00
Alex Gleason
7d3a0a8ab9
Break out LandingGradient into its own component 2022-05-07 15:52:01 -05:00
Alex Gleason
4d5f1d236d
gradient-purple, gradient-blue --> gradient-start, gradient-end 2022-05-07 15:23:43 -05:00
Alex Gleason
02616fc312
Tweak gradient colors 2022-05-07 15:02:00 -05:00
Alex Gleason
1122b26695
Fix avatar test 2022-05-07 13:37:24 -05:00
Alex Gleason
939c74fe44
UI Avatar: add overflow-hidden className 2022-05-07 12:58:12 -05:00
Alex Gleason
84839a5104
Convert legacy Avatar component to TSX 2022-05-07 12:56:52 -05:00
Alex Gleason
575bc834f5
StillImage: convert to TSX 2022-05-07 12:46:21 -05:00
Alex Gleason
adf7b9f3d6
Use settings.svg and mail.svg from Tabler 2022-05-07 12:23:56 -05:00
Alex Gleason
e0cc331781
Card: back button i18n 2022-05-07 12:04:28 -05:00
Alex Gleason
43d494d43c
Improve legacy Checkbox styles 2022-05-06 18:51:06 -05:00
Alex Gleason
165ddc91bd
RegistrationForm: use ui form inputs 2022-05-06 17:13:00 -05:00
Alex Gleason
90129818f2
RegistrationForm: convert to tsx 2022-05-06 16:51:36 -05:00
Alex Gleason
1a4991c6f9
Move Toggle to components/ui 2022-05-06 14:55:16 -05:00
Alex Gleason
66bc0029c4
AccountSearch: convert to tsx 2022-05-06 13:31:35 -05:00
Alex Gleason
e301255bf9
AccountSearch: fix text being too huge 2022-05-06 13:24:08 -05:00
Alex Gleason
8ad66ec45a
Add custom Toggle component (wrapper around react-toggle) 2022-05-06 12:46:42 -05:00
Alex Gleason
f2d59d901f
ErrorBoundary: only limit the logo's height (not width) 2022-05-06 11:41:50 -05:00
Alex Gleason
e734c7c967 Merge branch 'soapbox-config' into 'develop'
Overhaul SoapboxConfig

See merge request soapbox-pub/soapbox-fe!1315
2022-05-06 14:02:59 +00:00
80532116af Use Tabler Icons for attachment icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-06 14:34:38 +02:00
Alex Gleason
874ae980e6
SoapboxConfig: refactor Textarea 2022-05-05 17:45:32 -05:00
Alex Gleason
f5039b9877
SoapboxConfig: refactor inputs 2022-05-05 16:35:30 -05:00
Alex Gleason
b401af2950
Streamfield: don't render values container unless it has values 2022-05-05 15:59:36 -05:00
Alex Gleason
9bd18b13bd
Streamfield: labelText, hintText --> label, hint 2022-05-05 14:57:19 -05:00
Alex Gleason
0f341eee6e
Streamfield: export generic StreamfieldComponent<T> type 2022-05-05 14:45:10 -05:00
Alex Gleason
435b7001a4
Use gaps between statuses even on mobile 2022-05-04 23:27:43 -05:00
marcin mikołajczak
8f09fcab2e Merge branch 'edit-posts' into 'develop'
Allow editing posts on Mastodon

See merge request soapbox-pub/soapbox-fe!1271
2022-05-04 18:57:34 +00:00
Alex Gleason
47d1a8e5d6
ActionBar: fix repost active state, fixes #936 2022-05-04 12:08:17 -05:00
Alex Gleason
8f979b30fc
Badge: fix bot text color, fixes #933 2022-05-04 11:52:22 -05:00
Justin
716e9b952f Merge branch 'improve-dark-mode' into 'develop'
Improve dark mode

See merge request soapbox-pub/soapbox-fe!1306
2022-05-04 15:17:28 +00:00
Justin
a987b5f296 Improve dark-mode 2022-05-04 10:50:53 -04:00
Justin
13eeb608cb Merge branch 'unmute-action' into 'develop'
Add ability to Unmute user from within `/mutes` page.

See merge request soapbox-pub/soapbox-fe!1302
2022-05-04 13:12:14 +00:00
Alex Gleason
485748d947
EmbedModal: convert to typescript 2022-05-03 16:43:04 -05:00
Alex Gleason
851c28a3a8
EmbedModal: fix styles 2022-05-03 16:23:26 -05:00
7a7db0a4c2 Show pencil icon on edited statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 23:13:29 +02:00
f6f8ef99d9 Merge remote-tracking branch 'soapbox/develop' into edit-posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:29:38 +02:00
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
6c1a10e657 dark mode styles?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-16 23:10:50 +02:00
Alex Gleason
5d2e10b2fa
Merge remote-tracking branch 'origin/next' into next-notifications 2022-04-16 13:44:21 -05:00
Alex Gleason
722c96bec2
Notification: convert to TSX 2022-04-16 13:43:55 -05:00
Alex Gleason
bf8de20e0d
Prevent clicking stuff in statuses from expanding the status 2022-04-16 11:53:00 -05:00
Alex Gleason
be9bfa6409
StatusContent: refactor updateStatusLinks, remove reblogContent prop 2022-04-15 17:51:12 -05:00
Alex Gleason
2cfb151542
StatusContent: break out ReadMoreButton and SpoilerButton into FC's 2022-04-15 17:41:53 -05:00
Alex Gleason
cfbba43ca4
StatusContent: typescript, React.FC 2022-04-15 16:59:42 -05:00
75e8525798 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-15 14:57:47 +02:00
Alex Gleason
952e06ce41
AutosuggestTextarea: fix expand animation 2022-04-14 19:00:31 -05:00
5a81c4672a Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-14 22:33:17 +02:00
Alex Gleason
5955a0819a
Nuke FeaturesPanel, add "More" menu to left sidebar 2022-04-14 13:16:08 -05:00
f745c9fc97 typescript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 18:10:46 +02:00
Justin
3bd8ef13ef
Add 'link' theme to Button 2022-04-14 10:42:56 -05:00
Justin
afec2ad9ea
Add 'strokeWidth' prop to Icon 2022-04-14 10:42:56 -05:00
Justin
fd6ae83fe7
Add 'maxLength' prop to Input 2022-04-14 10:42:55 -05:00
Justin
3e0d7de2cd
Add more sizes to Stack 2022-04-14 10:42:55 -05:00
Justin
b7e9015dfd
Add 'transform' prop to Text 2022-04-14 10:42:55 -05:00
Justin
f625e13a25
Update Textarea type 2022-04-14 10:42:55 -05:00
Justin
6aa69f57b8
Convert Registration component to TSX 2022-04-14 10:42:55 -05:00
bd1e6d364a AutosuggestInput dark styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:36:07 +02:00
580633c915 AccountContainer: use withDate
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:31:50 +02:00
Alex Gleason
b79b74918f
Restore Dashboard links to navigation 2022-04-13 18:15:23 -05:00
Alex Gleason
9596ed072b
EmojiButtonWrapper: improve touch behavior 2022-04-13 17:37:38 -05:00
Alex Gleason
883ffb0a74
TimelineQueueButtonHeader: add whitespace-nowrap 2022-04-13 15:46:26 -05:00
Alex Gleason
b727ef3d21
Add timeline links to navigation 2022-04-12 20:10:47 -05:00
Alex Gleason
9c79ae386a
SidebarMenu: convert to tsx 2022-04-12 19:52:20 -05:00
Alex Gleason
21d7cafe26 Merge branch 'next-emoji-reacts' into 'next'
Next: Emoji reacts pt 2

See merge request soapbox-pub/soapbox-fe!1204
2022-04-12 17:22:55 +00:00
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
267ab4b153 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-11 20:11:47 +02:00
Alex Gleason
c5c1f83f36
Fix lint 2022-04-10 20:56:16 -05:00
Alex Gleason
ba5c3b224c
EmojiButtonWrapper: handle click 2022-04-10 20:41:00 -05:00
Alex Gleason
0912700d15
Create preliminary EmojiButtonWrapper component 2022-04-10 20:31:24 -05:00
Alex Gleason
f316dac83e
eslint: scream if I try putting a JS comment in a JSX text node 2022-04-10 19:59:53 -05:00
Alex Gleason
ae48c6e619
Fix action bar emoji labels 2022-04-10 16:07:23 -05:00
Alex Gleason
54d76d6b56
Move emoji utils into its own module 2022-04-10 15:25:07 -05:00
af92c6fd87 Fix ThumbNavigationLink icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 22:20:43 +02:00
Alex Gleason
c8220be1b4
Merge remote-tracking branch 'origin/develop' into next 2022-04-10 14:46:51 -05:00
Sean Meininger
570fd25a70 Grammatical fix for birthday reminder text 2022-04-10 12:18:44 -07:00
Alex Gleason
04e3b91c29 Merge branch 'next-icons' into 'next'
Use custom SvgIcon component wrapper around InlineSVG

See merge request soapbox-pub/soapbox-fe!1195
2022-04-10 18:42:19 +00:00
Alex Gleason
c7b768b88d
SvgIcon: loader fallback 2022-04-10 13:25:10 -05:00
Alex Gleason
734750a46a
eslint: disallow importing react-inlinesvg directly 2022-04-10 13:18:10 -05:00
Alex Gleason
b391f65e3c
SvgIcon: add tests 2022-04-10 12:56:15 -05:00
Alex Gleason
bd39b76799
SvgIcon: pass className to loader 2022-04-10 12:25:53 -05:00
98ff406ddf typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:46:25 +02:00
4f358b9632 Remove ReplyMentionsContainer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:07:03 +02:00
da09365055 Dark styles for select component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 11:11:08 +02:00
7d2a62b181 ReplyMentions component to ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:48:56 +02:00
e4908fe2b2 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 20:58:23 +02:00
Alex Gleason
423c005437
Use custom SvgIcon component wrapper around InlineSVG 2022-04-07 13:48:04 -05:00
Alex Gleason
17ee19aca7 Merge branch 'next-emoji-test' into 'next'
Next: Refactor Emoji component, add more comprehensive tests

See merge request soapbox-pub/soapbox-fe!1193
2022-04-07 16:32:38 +00:00
Justin
ad381d7fbc Add tests for TrendsPanel 2022-04-07 11:55:15 -04:00
Alex Gleason
182f5e6302
Refactor Emoji component, add more comprehensive tests 2022-04-07 10:24:41 -05:00
Justin
4f1cf84d39 Add tests for Modal 2022-04-07 11:01:38 -04:00
Justin
b6ce38122d Add simple test for FormActions 2022-04-07 10:12:23 -04:00
Justin
dbe6a0c415 Merge branch 'add-search-tests' into 'next'
Add tests for Search

See merge request soapbox-pub/soapbox-fe!1190
2022-04-07 14:06:00 +00:00
Justin
f8b6f8db28 Add tests for Search 2022-04-07 09:50:50 -04:00
63b90718b7 next
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-06 23:59:00 +02:00
bfd92827d9 Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-06 23:36:15 +02:00
Alex Gleason
fe4c2d5c5b
Try using react-sticky-box instead of react-stickynode 2022-04-06 10:04:06 -05:00
Alex Gleason
48fb37a90d
Layout: convert to tsx, use react-stickynode again 2022-04-05 18:06:30 -05:00
8f7a0e9942 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 23:49:35 +02:00
d727a3a7c5 update snapshot
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 23:47:56 +02:00
Alex Gleason
efe5670147
Refactor VerificationBadge 2022-04-05 12:32:41 -05:00
Justin
8251af62f2 Add test for Emoji 2022-04-05 11:03:57 -04:00
Justin
42c28610a8 Improve tests for Button 2022-04-05 10:42:19 -04:00
Justin
887ef55cd4 Merge branch 'avatar-tests' into 'next'
Add tests for Avatar

See merge request soapbox-pub/soapbox-fe!1182
2022-04-05 14:01:08 +00:00
Justin
e5ac95d050 Add tests for Avatar 2022-04-05 09:43:26 -04:00
dd1f8a257e styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 00:03:26 +02:00
Alex Gleason
20aa17ce64 Merge branch 'next-status-loading' into 'next'
Next: Improve status loading, refactor Status components to TSX

See merge request soapbox-pub/soapbox-fe!1179
2022-04-04 21:36:47 +00:00
Justin
6e62f894e3 Fix sensitive content bugs 2022-04-04 16:51:29 -04:00
Alex Gleason
1a4401ce75
Convert ThreadStatus to tsx 2022-04-04 15:20:17 -05:00
773f2f62b0 Add text color for columns
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-04 21:39:45 +02:00
Alex Gleason
fdb44d615d
Convert features/status/index to typescript (pretty much) 2022-04-04 14:17:24 -05:00
Justin
827bca3fd6 Silence prop warnings in test suite 2022-04-04 15:05:15 -04:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Alex Gleason
41ae50c495 Merge branch 'next-emoji-reacts' into 'next'
Next: emoji reacts part 1

See merge request soapbox-pub/soapbox-fe!1161
2022-04-03 18:09:27 +00:00
1ba551b88b styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:27:08 +02:00
Alex Gleason
d738e7d5bf
Fix tests 2022-04-02 21:40:47 -05:00
Alex Gleason
cc1b478e3f
StatusActionButton: change the way color props work 2022-04-02 20:23:00 -05:00
Alex Gleason
bd98842434
Refactor StatusActionButton 2022-04-02 18:43:34 -05:00
Alex Gleason
82130a1612
StatusActionBar: remove a bunch of .get() calls 2022-04-02 13:07:12 -05:00
Alex Gleason
96ccc66641
Convert DropdownMenu to typescript 2022-04-02 13:03:12 -05:00
Alex Gleason
a080ed8647
status.tsx: extend withRouter props 2022-04-02 11:55:54 -05:00
Alex Gleason
c74d154874
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-04-02 10:48:45 -05:00
0661ca25be styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:10:16 +02:00
Alex Gleason
a045ec45df
StatusActionButton improvements 2022-04-01 22:28:46 -05:00
Alex Gleason
883545b3b3
StatusActionButton: treat element as a group 2022-04-01 21:55:29 -05:00
Alex Gleason
dfb5e7f41b
SidebarNavigationLink: set parent height for before svg is loaded 2022-04-01 20:41:20 -05:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
4a8f08e313
StatusActionBar: convert to tsx 2022-04-01 18:39:27 -05:00
Alex Gleason
c59ff4e822
StatusActionCounter: use shortNumberFormat 2022-04-01 17:45:09 -05:00
Alex Gleason
3fe21ce268
StatusActionBar: conditionally render dumb Like button 2022-04-01 17:38:36 -05:00
Alex Gleason
561f348094
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-04-01 16:24:25 -05:00
Alex Gleason
6cb04965a2
StatusActionBar: refactor buttons 2022-04-01 16:16:10 -05:00
84cc259a8b styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-01 22:55:53 +02:00
Alex Gleason
0f044ad8e8
Create StatusActionButton component 2022-04-01 15:45:48 -05:00
Alex Gleason
6c8bc3f329
Hoverable component: we've come full circle 2022-04-01 14:55:42 -05:00
Alex Gleason
1742236074
First pass at Hoverable component 2022-04-01 13:31:08 -05:00
Alex Gleason
69de2aad55
Restyle emoji components 2022-04-01 11:42:07 -05:00
Alex Gleason
f03fb5b73c
Create now emoji-selector functional component (wip) 2022-03-31 21:17:29 -05:00
Alex Gleason
5e8472e29d
EmojiSelector: fix onReact prop 2022-03-31 20:47:28 -05:00
Alex Gleason
52982706fe
Add Emoji functional component 2022-03-31 20:32:53 -05:00
Alex Gleason
ee1ef09201
EmojiSelector: convert to tsx 2022-03-31 19:03:43 -05:00
Alex Gleason
830fb67215
Fix Jest snapshot 2022-03-31 14:29:04 -05:00
Alex Gleason
c077a4ea58
Improve status.card normalization (it will never be a string) 2022-03-31 14:28:09 -05:00
Alex Gleason
c4dd3c65f9
Convert components/status to Typescript 2022-03-31 14:13:43 -05:00
Alex Gleason
733d240893
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-03-31 11:47:07 -05:00
Alex Gleason
99b89d2230
external_video_id hotfix 2022-03-30 14:01:05 -05:00
Alex Gleason
c82d191dd8
ThumbNavigationLink: fix runtime error
No clue why that was happening
2022-03-30 11:34:05 -05:00
Alex Gleason
9fb3439cda Merge branch 'next-truthsocial-fixes' into 'next'
Next: TruthSocial fixes

See merge request soapbox-pub/soapbox-fe!1166
2022-03-30 16:15:32 +00:00
Alex Gleason
ebc2bf96ac
external_video_id: render card html instead of hardcoding the provider 2022-03-30 11:03:35 -05:00
Alex Gleason
36fb3759a0 Merge branch 'next' into 'next'
typescript, ThumbNavigationLink component

See merge request soapbox-pub/soapbox-fe!1165
2022-03-30 15:55:18 +00:00
cf0307af0f typescript, ThumbNavigationLink component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 17:37:30 +02:00
Justin
fbd8fa87ae Improve error handling 2022-03-30 10:40:09 -04:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +02:00
Alex Gleason
b1d2681115
WIP emoji reacts 2022-03-29 15:17:39 -05:00
6d4d96528c quote posts?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 20:12:49 +02:00
dbeb292009 wip dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
7006af2803
ui/column: fix snapshot 2022-03-28 19:02:21 -05:00
Alex Gleason
570164de33
ui/column: add relative class 2022-03-28 18:55:28 -05:00
Alex Gleason
75adf65ee9
Helmet: fix title 2022-03-28 18:55:21 -05:00
Alex Gleason
51fc8402f2
MediaGallery: use original image 2022-03-28 18:00:21 -05:00
Alex Gleason
1a1464f5ba
Poll: convert to React.FC, remove PollContainer 2022-03-26 22:24:52 -05:00
Alex Gleason
cc1df1bd09
Polls: style with Tailwind 2022-03-26 22:06:18 -05:00
Alex Gleason
9262d5c26b
Poll: break into smaller components 2022-03-26 19:53:51 -05:00
Alex Gleason
e78ea4aaf3
Polls: break out PollOptionText into a React.FC 2022-03-26 19:05:16 -05:00
Alex Gleason
334b45ec74
Polls: break out PollPercentageBar into separate component 2022-03-26 18:52:48 -05:00
Alex Gleason
0cdf898b37
Convert Polls to TSX 2022-03-26 18:11:26 -05:00
Alex Gleason
1ce340c1c5
Make polls look mostly okay 2022-03-26 15:39:50 -05:00
Alex Gleason
67c0c83b44
Refactor sidebar panels with Widget component 2022-03-25 14:08:12 -05:00
Alex Gleason
75f78dc5cb
Jest: update snapshots 2022-03-24 19:06:36 -05:00
Alex Gleason
ef0de13c91
Improve dark mode 2022-03-24 18:56:22 -05:00
Alex Gleason
f8592b3616
Jest: fix tests 2022-03-24 14:44:39 -05:00
Alex Gleason
dec49003f4
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 14:30:39 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Justin
63bafc41a1 Remove conditional to run style logic 2022-03-24 12:16:41 -04:00
Justin
97af1ece28 Resolve missing CSS variables in the theme 2022-03-24 11:48:03 -04:00
Justin
2094f9673d Fix bug when clicking on a Status 2022-03-24 08:23:18 -04:00
Alex Gleason
09d3f375d5
Dark mode: navbar bg, update snapshots 2022-03-23 21:46:59 -05:00
Alex Gleason
793b0f9128
Start adding dark mode 2022-03-23 19:18:37 -05:00
Justin
95a5ca2115 Convert Permalink to TSX 2022-03-23 13:50:45 -04:00
Justin
f0a9ed8ad4 Fix prop warnings 2022-03-23 13:50:45 -04:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Justin
7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Justin
614228a130 Merge branch 'improve-sensitive-design' into 'next'
Improve design of sensitive media

See merge request soapbox-pub/soapbox-fe!1129
2022-03-22 15:42:53 +00:00
Justin
122ee00f58 Improve design of sensitive media 2022-03-22 11:13:42 -04:00
Justin
40cc960985 Use React Router hook for 'history' 2022-03-22 08:42:26 -04:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Justin
012138829c Fix tests 2022-03-21 16:30:46 -04:00
Justin
e02d5142e5 Properly handle navigating to previous page if 'backHref' is undefined 2022-03-21 15:23:57 -04:00
Alex Gleason
787c6600a0
SidebarMenu: fix missing message 2022-03-21 13:39:12 -05:00
Alex Gleason
83137498d9
Generalize some language 2022-03-21 13:33:10 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3 2022-03-17 20:17:28 -05:00
Alex Gleason
1d4daee53b Merge branch 'datepicker-async' into 'develop'
Load react-datepicker asynchronously

Closes #855

See merge request soapbox-pub/soapbox-fe!1086
2022-03-16 21:42:13 +00:00
Alex Gleason
75db92719d
Normalize poll emoji 2022-03-10 19:55:14 -06:00
Alex Gleason
d600a74410
Revert "PollContainer: don't pass me as a prop"
This reverts commit dc2d3b1b09.
2022-03-10 19:36:58 -06:00
Alex Gleason
dc2d3b1b09
PollContainer: don't pass me as a prop 2022-03-10 16:30:42 -06:00
Alex Gleason
4bd1531056
More poll normalization fixes 2022-03-10 16:25:11 -06:00
a29019dbb0 Load react-datepicker asynchronously
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-09 22:59:51 +01:00
Alex Gleason
e7ed56127f
VerificationBadge: use tsx, add className prop 2022-03-07 12:42:00 -06:00
marcin mikołajczak
edb80c705d Merge branch 'attachment-thumbs-sensitive' into 'develop'
Fix: Quote posts do not carry sensitive tag

Closes #852

See merge request soapbox-pub/soapbox-fe!1079
2022-03-06 23:22:01 +00:00
06b8b407c5 AttachmentThumbs: sensitive tag
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
marcin mikołajczak
fd27688b11 Merge branch 'fix-modal-navigation' into 'develop'
Fix: User is returned to a previously viewed page after replying to a post

Closes #843

See merge request soapbox-pub/soapbox-fe!1078
2022-03-06 22:35:39 +00:00
5b46f0c0f7 Fix: User is returned to a previously viewed page after replying to a post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:20:13 +01:00
Alex Gleason
067e3a26f5
Allow setting a custom verified icon 2022-03-05 13:55:41 -06:00
Alex Gleason
583de44b35
Use an SVG verified icon 2022-03-05 13:17:03 -06:00
Justin
74af8c0e91 Fix scroll-to-top on Notifications 2022-03-03 10:13:45 -05:00
Alex Gleason
e9efb6078d
Merge remote-tracking branch 'origin/develop' into revert-7d2ccc72 2022-02-28 14:15:09 -06:00
Alex Gleason
d86eac4c1a
Remove isVerified() function 2022-02-27 22:25:23 -06:00
Alex Gleason
3a5c62cb70 Revert "Merge branch 'revert-f59d977a' into 'develop'"
This reverts merge request !1056
2022-02-27 00:13:35 +00:00
Alex Gleason
1f549ebe1a Revert "Merge branch 'typescript' into 'develop'"
This reverts merge request !859
2022-02-26 23:55:34 +00:00
Alex Gleason
79b782600b
Merge remote-tracking branch 'origin/develop' into typescript 2022-02-26 15:40:39 -06:00
bb6e904642 Use gavel icon from Tabler icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 13:32:54 +01:00
Alex Gleason
a6a87f6702
Convert Badge component to typescript 2022-02-23 15:29:03 -05:00
Alex Gleason
8bc790de17
ErrorBoundary: display Soapbox version 2022-02-23 12:42:04 -05:00
Alex Gleason
01bf8b4729
Merge remote-tracking branch 'origin/develop' into fix-self-reply 2022-02-23 12:03:04 -05:00
f9b934d8f5 Fix 'View context' in media modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-22 08:52:33 +01:00
Alex Gleason
70ac6b2a76
Fix error in ErrorBoundary 2022-02-21 03:17:52 -05:00
Alex Gleason
f7f18fac79
Refactor status normalizer 2022-02-20 02:27:29 -05:00
Alex Gleason
10c6a82e53
SidebarMenu: /settings/aliases --> /settings/migration 2022-02-18 22:22:11 -05:00
Alex Gleason
635f88f5e8
Rewrite code with optional chaining (?.) 2022-02-18 21:04:18 -05:00
5f73f96735 Minor modals cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 22:38:15 +01:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
Alex Gleason
a4060f8a4c Merge branch 'normalize-attachments' into 'develop'
Status: normalize media attachments

See merge request soapbox-pub/soapbox-fe!1036
2022-02-12 00:13:02 +00:00
Alex Gleason
63fa3e7154
Status: normalize media attachments 2022-02-11 17:58:18 -06:00
66ab33a550 Fix item deletion on 'Edit profile' and 'Soapbox config' pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-12 00:11:15 +01:00
c672f7a6ae Don't show 'Bookmark' item menu if not authenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-09 23:11:45 +01:00
Alex Gleason
d260cc2e2c
Add fallback avatar 2022-02-07 13:14:15 -06:00
Alex Gleason
c4bf347dae
MediaGallery: fall back on url when preview_url isn't provided 2022-02-07 12:26:11 -06:00
Alex Gleason
fb7c642dc7
GoToSocial support 2022-02-06 20:46:06 -06:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
e0f0370579 Merge remote-tracking branch 'soapbox/develop' into modals-stack
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 14:30:38 +01:00
Alex Gleason
3708c0128c Merge branch 'birthdays' into 'develop'
Birth dates

See merge request soapbox-pub/soapbox-fe!1000
2022-02-01 01:00:52 +00:00
807b3c7e5b Use stack for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
ae7f2f86a0 Add quoted status tombstone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 17:26:39 +01:00
6c11d2f0bf Merge branch 'birthdays' of https://gitlab.com/mkljczk/soapbox-fe into birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-26 18:43:44 +01:00
b1bc544a01 Birthdays: Use custom header
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-26 18:43:00 +01:00
741e80d9ab Birthdays: Try to fix timezones
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 23:37:40 -08:00
Alex Gleason
0f9e01b4a1
"birth date" --> "birthday", move the toggle next to the picker 2022-01-25 17:08:20 -06:00
8277d78f4c Quote posts: Shift+Click for normal repost
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 23:00:30 +01:00
ac42b43fab Birthdays: renames
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 21:10:13 +01:00