Commit graph

263 commits

Author SHA1 Message Date
Justin
3dc60f2cd8 Add Divider 2022-06-09 09:43:36 -04:00
Justin
7782c96ba4 Improve design of the Poll Form 2022-06-09 09:43:17 -04:00
a8a1567917 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 00:05:04 +02:00
Justin
cedbc468bd Merge branch 'improve-datepicker' into 'develop'
Add new custom datepicker for improved UX

See merge request soapbox-pub/soapbox-fe!1507
2022-06-08 17:12:54 +00:00
Justin
5900068144 Use new Datepicker on AgeVerification step 2022-06-08 12:06:05 -04:00
Justin
165a4cc469 Add new Datepicker component 2022-06-08 12:05:41 -04:00
Alex Gleason
edffe9a837
SensitiveButton: use UI components 2022-06-07 13:55:34 -05:00
6c45dcb109 TypeScript, FC (reducers, search)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 18:25:53 +02:00
Alex Gleason
54b6df719c
Layout: fix compose block spacing 2022-06-04 15:58:41 -05:00
Justin
1ede064457 Use white text on dark inputs 2022-06-01 14:18:01 -04:00
Alex Gleason
b02c80341b
ReplyIndicator: convert to TSX 2022-05-30 14:05:15 -05:00
1e74c6d3d7 TypeScript, FC, styles and fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 18:03:19 +02:00
b54396588e Add outline in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-25 18:00:13 +02:00
marcin mikołajczak
a7992addbd Merge branch 'i18n--' into 'develop'
Avoid inline message definitions

See merge request soapbox-pub/soapbox-fe!1444
2022-05-24 15:38:10 +00:00
38b3b7150f string | React.ReactNode -> React.ReactNode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 17:16:07 +02:00
73c4457f28 Scheduled statuses: TypeScript, fix styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-23 21:14:42 +02:00
Alex Gleason
93187c8eed
SoapboxMount: display a spinner while API requests are loading 2022-05-18 14:38:49 -05:00
Justin
54ef361bcc Allow waitlisted users to verify their SMS 2022-05-18 14:11:18 -04:00
marcin mikołajczak
417ac96ffb Restyle hotkeys modal 2022-05-17 15:45:38 +00:00
Alex Gleason
673b4a38b9
SoapboxConfig: use new FileInput 2022-05-16 18:33:44 -05:00
Justin
1d9cdb4645 Use 'primary' background on link button 2022-05-16 17:33:21 -04:00
Justin
857c63f2f5 Add FileInput component 2022-05-16 11:40:32 -04:00
30017d62c9 Use arrow-left for ReplyMentionsModal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-15 09:06:40 +02:00
Justin
de1d630daa Add login form to navbar 2022-05-12 17:02:29 -04:00
Alex Gleason
938665f157 Merge branch 'thread-cta' into 'develop'
Display a CTA in threads to log in

See merge request soapbox-pub/soapbox-fe!1353
2022-05-12 20:36:56 +00:00
Justin
086acccbf4 Add dynamic help links to landing page 2022-05-12 15:41:37 -04:00
Alex Gleason
c7375a2e01
Merge remote-tracking branch 'origin/develop' into thread-cta 2022-05-12 14:41:16 -05:00
Alex Gleason
19e59e897a Merge branch 'eslint-jsdoc' into 'develop'
eslint: enforce jsdoc comments on UI components

See merge request soapbox-pub/soapbox-fe!1357
2022-05-12 19:20:34 +00:00
Justin
3dce8ee95a Pass through props like 'strokeWidth' to SvgIcon 2022-05-12 14:53:53 -04:00
Alex Gleason
b0b0d5a76e
eslint: enforce jsdoc comments on UI components 2022-05-11 21:08:04 -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
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
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
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
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
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
939c74fe44
UI Avatar: add overflow-hidden className 2022-05-07 12:58:12 -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
1a4991c6f9
Move Toggle to components/ui 2022-05-06 14:55:16 -05: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
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
Alex Gleason
485748d947
EmbedModal: convert to typescript 2022-05-03 16:43:04 -05: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
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
Alex Gleason
c4cd2d2049
CardTitle: truncate too long text 2022-05-01 13:29:36 -05:00
Alex Gleason
b7d4411627
Add JSDoc comments to all ui components 2022-04-30 23:39:58 -05:00
Alex Gleason
580960695c
ProfilePage: convert to TSX 2022-04-29 17:59:30 -05:00
Alex Gleason
858740ad47
EditProfile: convert to React.FC+TSX (mostly) 2022-04-29 14:22:29 -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
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
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
161f561b44 dark styles on public pages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-25 23:41:02 +02: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
8becc4de2a
Layout: add breathing room to bottom of UI, fixes #880 2022-04-23 12:19:51 -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
7630c64ddd
ExternalLogin: convert to tsx 2022-04-19 15:04:34 -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
97b5c5af43
Widget: add actions 2022-04-18 23:10:01 -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
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
54d76d6b56
Move emoji utils into its own module 2022-04-10 15:25:07 -05: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
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
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
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
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
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
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
Justin
6e62f894e3 Fix sensitive content bugs 2022-04-04 16:51:29 -04:00
773f2f62b0 Add text color for columns
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-04 21:39:45 +02: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
bd98842434
Refactor StatusActionButton 2022-04-02 18:43:34 -05:00
Alex Gleason
96ccc66641
Convert DropdownMenu to typescript 2022-04-02 13:03:12 -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
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
6cb04965a2
StatusActionBar: refactor buttons 2022-04-01 16:16:10 -05: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
52982706fe
Add Emoji functional component 2022-03-31 20:32:53 -05:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +02: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