Commit graph

857 commits

Author SHA1 Message Date
Justin
3dce8ee95a Pass through props like 'strokeWidth' to SvgIcon 2022-05-12 14:53:53 -04:00
Alex Gleason
d0ecdae9f3
SidebarNavigationLink: add jsdoc comments 2022-05-12 11:55:13 -05:00
Alex Gleason
2bd468358b
Rearrange SidebarNavigation 2022-05-12 11:38:01 -05:00
Alex Gleason
530b2838f3
Replace questionable icons 2022-05-12 07:56:22 -05:00
Alex Gleason
b0b0d5a76e
eslint: enforce jsdoc comments on UI components 2022-05-11 21:08:04 -05:00
Alex Gleason
71e114d049
SiteLogo: fall back to Soapbox logo instead of Tabler's home.svg 2022-05-11 20:47:39 -05:00
Alex Gleason
01ec7bc279
Replace logos throughout the UI with SiteLogo component 2022-05-11 19:54:23 -05:00
Alex Gleason
54dfb0e23e Merge branch 'eslint-spacing' into 'develop'
eslint: enforce spacing of imports (and infix ops)

See merge request soapbox-pub/soapbox-fe!1351
2022-05-11 21:26:59 +00:00
Alex Gleason
b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
67853f6efa
SidebarNavigation: use the bell icon 2022-05-11 15:37:15 -05:00
Alex Gleason
6a270a8e6d
SidebarNavigation: display follow requests counter 2022-05-11 15:35:33 -05:00
Alex Gleason
2a9f1ccb91
UnauthorizedModal: convert to TSX 2022-05-11 15:26:37 -05:00
Alex Gleason
9f89c31bd3
Create a logged-out call-to-action on threads 2022-05-11 14:35:56 -05:00
Alex Gleason
ae01b845de
eslint: enforce spacing of imports (and infix ops) 2022-05-11 12:40:34 -05:00
Justin
cb5fbdf7d9 Account for different 'rule_type' on rules 2022-05-11 09:25:48 -04:00
Alex Gleason
211ddc9505 Merge branch 'search-nav' into 'develop'
SidebarNavigation: add back search button

See merge request soapbox-pub/soapbox-fe!1349
2022-05-11 11:44:35 +00:00
Justin
4e47ee1bea Merge branch 'landing-page-dark-mode' into 'develop'
Add "dark mode" support to Landing Page

See merge request soapbox-pub/soapbox-fe!1344
2022-05-11 11:19:18 +00:00
Alex Gleason
504940304a
SidebarNavigation: add back search button 2022-05-10 20:25:19 -05:00
Justin
6a11832d67 Merge branch 'add-cta-banner' into 'develop'
Add CTA banner

See merge request soapbox-pub/soapbox-fe!1342
2022-05-10 19:52:38 +00:00
Justin
c862825970 Add dark mode support to landing page 2022-05-10 15:52:12 -04:00
19ff2a2e05 Account moving API is not part of Pleroma yet
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-09 22:49:51 +02:00
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