Commit graph

246 commits

Author SHA1 Message Date
Alex Gleason
99c67916dd
PhoneInput: add some helpful comments 2022-07-13 19:50:07 -05:00
Alex Gleason
11a0329924
Fix pages that use PhoneInput 2022-07-13 19:08:19 -05:00
Alex Gleason
7f7edf9162
PhoneInput: improve styles 2022-07-13 18:45:42 -05:00
Alex Gleason
0591bf72a5
PhoneInput: remove unnecessary handleCountryChange function 2022-07-13 18:10:16 -05:00
Alex Gleason
ba98a8e82f
PhoneInput: prettify input while typing 2022-07-13 18:09:48 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
Alex Gleason
0ed1c3ca83
Improve display of PhoneInput 2022-07-13 12:26:07 -05:00
Alex Gleason
85cf99f618
CountryCodeDropdown: use button element 2022-07-13 12:16:54 -05:00
Alex Gleason
a8c709b41c
Refactor formatPhoneNumber to accept countryCode 2022-07-13 11:40:02 -05:00
Alex Gleason
5c9cecf8c8
Add PhoneInput component 2022-07-13 09:42:58 -05:00
37d97eb857 Notifications: TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 23:27:43 +02:00
Alex Gleason
104c2305fb
CreateApp: convert to TSX+FC 2022-07-11 11:34:14 -05:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
Alex Gleason
6ddb44f626
Upgrade Tabler to v1.73.0, use new import paths, remove Webpack hack 2022-07-09 11:20:02 -05:00
Alex Gleason
bcc9ff5066 Merge branch 'ts-tests' into 'develop'
Make TypeScript work correctly in tests

Closes #1010

See merge request soapbox-pub/soapbox-fe!1610
2022-07-07 13:39:51 +00:00
Justin
1309521b9c Improve Stack and HStack components 2022-07-06 14:30:06 -04:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
b2f2bcb833 Center tooltips and add arrow 2022-07-06 14:19:51 -04:00
Justin
3f74455484 Improve UI of IconButton when disabled 2022-07-06 14:19:42 -04:00
Alex Gleason
2dd1631162
More component test TS fixes 2022-07-06 13:12:35 -05:00
Alex Gleason
bae21c9e00
Datepicker: fix test failing due to date matching today 2022-07-05 11:53:05 -05:00
Alex Gleason
02f0c15a8c
Modal: remove overflow-hidden 2022-07-04 13:54:57 -05:00
Justin
5884d02e9d Add "8" to HStack space options 2022-06-29 11:10:00 -04:00
marcin mikołajczak
dfbe05b390 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1562
2022-06-25 06:00:44 +00:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Justin
2f4f2c02b1 Dark mode support for Polls 2022-06-16 14:22:00 -04:00
Justin
e39c8d6713 Add danger-link button 2022-06-14 14:17:35 -04:00
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +02:00
marcin mikołajczak
ff79329dd6 Merge branch 'develop' into 'ts'
# Conflicts:
#   app/soapbox/features/verification/registration.tsx
2022-06-10 16:16:31 +00:00
7578ca2ee0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:49:25 +02:00
309e6c1a67 Reactions modal fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:47:21 +02:00
Justin
6b07a7c3b6 Dark mode support for Polls 2022-06-09 09:43:37 -04:00
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