Commit graph

266 commits

Author SHA1 Message Date
Alex Gleason
cddf70f0ab
Fix status style regressions 2022-08-22 12:11:01 -04:00
Justin
dd0f2fcf5b Support 'in review' sensitive content 2022-08-22 11:26:28 -04:00
Alex Gleason
c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-21 11:20:19 -04:00
Alex Gleason
5f8a22b452
Native status embeds from Soapbox 2022-08-12 12:58:35 -05:00
Alex Gleason
7615111eb0
IconButton: add themes 2022-08-12 10:42:26 -05:00
Alex Gleason
19ffcd2233
Merge remote-tracking branch 'origin/develop' into ads 2022-08-03 10:51:07 -05:00
Alex Gleason
c74721f1e1
Ads: display tooltip 2022-08-02 20:52:27 -05:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
Justin
cec3573253 Add support for shadow-3xl 2022-07-28 09:38:05 -04:00
Justin
0b06731b07 Simplify the Banner width across usage 2022-07-26 14:22:13 -04:00
Alex Gleason
aab3497f46
Banner: improve mobile styles 2022-07-26 11:52:58 -05:00
Alex Gleason
f13cfcaf8c
GdprBanner: slideout on accept 2022-07-26 11:37:02 -05:00
Alex Gleason
0480bfab94
Add Banner UI component 2022-07-26 10:30:48 -05:00
Justin
c30e8f1fd9 Set the ref on the actual carousel div 2022-07-20 09:01:36 -04:00
38066799e3 Merge remote-tracking branch 'soapbox/develop' into hide-profile-tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:31:32 +02:00
3d057daa43 Apply suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:03:52 +02:00
Alex Gleason
3377f1dcd1 Merge branch 'developers-stuff' into 'develop'
Add advanced settings under Developers section, refactor

See merge request soapbox-pub/soapbox-fe!1625
2022-07-14 18:18:22 +00:00
Alex Gleason
04ff9de05d Merge branch 'phone-input' into 'develop'
Introduce PhoneInput component

See merge request soapbox-pub/soapbox-fe!1632
2022-07-14 18:16:40 +00:00
Justin
150510bc8a Format number after changing country code 2022-07-14 14:08:59 -04:00
Justin
07f6935789 Refactor dropdown into 'addon' on Input 2022-07-14 11:55:00 -04:00
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