Commit graph

3030 commits

Author SHA1 Message Date
Alex Gleason
8ad66ec45a
Add custom Toggle component (wrapper around react-toggle) 2022-05-06 12:46:42 -05:00
Alex Gleason
04463b8aaf
EditProfile: use Toggle instead of Checkbox 2022-05-06 12:37:46 -05:00
Alex Gleason
44c234e3db
Fix external video embed height 2022-05-06 12:11:59 -05:00
Alex Gleason
568c41e302 Merge branch 'error-logo' into 'develop'
ErrorBoundary: only limit the logo's height (not width)

See merge request soapbox-pub/soapbox-fe!1320
2022-05-06 16:59:38 +00:00
Alex Gleason
5284fa5313 Merge branch 'search-hashtags-crash' into 'develop'
Search: fix crash on paginating hashtags

See merge request soapbox-pub/soapbox-fe!1319
2022-05-06 16:56:44 +00:00
Justin
6746642321 Improve Waitlist UX 2022-05-06 12:46:21 -04:00
Alex Gleason
f2d59d901f
ErrorBoundary: only limit the logo's height (not width) 2022-05-06 11:41:50 -05:00
Alex Gleason
a657b6374c
Search: fix crash on paginating hashtags 2022-05-06 11:36:55 -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
marcin mikołajczak
f40fdc3448 Merge branch 'search-results-divide' into 'develop'
Dark style for divide-gray-200

See merge request soapbox-pub/soapbox-fe!1316
2022-05-06 13:29:27 +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
801b5cb0cc Dark style for divide-gray-200
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-06 11:21:00 +02:00
Alex Gleason
50f1131811
SitePreview: make it actually work 2022-05-05 21:25:52 -05:00
Alex Gleason
b62a2db8a5
ThemeSelector: okay but definitely use onChange, not onBlur 2022-05-05 21:09:54 -05:00
Alex Gleason
40dda8b274
LinkFooter: add /soapbox/config link back 2022-05-05 20:22:34 -05:00
Alex Gleason
ea8c33beed
SitePreview: clean up links 2022-05-05 18:52:24 -05:00
Alex Gleason
f7d274954c
SoapboxConfig: reorganize and add headings 2022-05-05 18:46:30 -05:00
Alex Gleason
c14c68cfce
SoapboxConfig: put theme items into List 2022-05-05 18:38:16 -05:00
Alex Gleason
758b14fd68
SoapboxConfig: change checkboxes to Toggle list 2022-05-05 18:30:25 -05:00
Alex Gleason
ab7e123c96
SoapboxConfig: expand input widths 2022-05-05 18:19:53 -05:00
Alex Gleason
db08a27657
SoapboxConfig: fix theme selector 2022-05-05 18:12:08 -05:00
Alex Gleason
0bd43a3f2c
SoapboxConfig: improve style of file uploader 2022-05-05 17:51:07 -05:00
Alex Gleason
874ae980e6
SoapboxConfig: refactor Textarea 2022-05-05 17:45:32 -05:00
Alex Gleason
df714f1112
SoapboxConfig: improve ColorPicker styles 2022-05-05 17:37:25 -05:00
Alex Gleason
65beeedb59
SoapboxConfig: improve style of IconPicker 2022-05-05 17:29:24 -05:00
Alex Gleason
b0e60bb60d
SoapboxConfig: improve layout 2022-05-05 16:56:34 -05:00
Alex Gleason
f5039b9877
SoapboxConfig: refactor inputs 2022-05-05 16:35:30 -05:00
Alex Gleason
2fdf4413f5
SoapboxConfig: improve spacing 2022-05-05 16:22:57 -05:00
Alex Gleason
f3e95bba51
SoapboxConfig: convert home footer links into Streamfield 2022-05-05 16:18:43 -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
9abe924e92
SoapboxConfig: move PromoPanelInput into its own file 2022-05-05 15:57:30 -05:00
Alex Gleason
af61ae9d35
PromoPanelInput: remove icon label 2022-05-05 15:54:06 -05:00
Alex Gleason
91c52cdde7
SoapboxConfig: use Streamfield for PromoPanelInput, refactor getter/setters 2022-05-05 15:52:25 -05:00
Alex Gleason
3be558cf41
Move CryptoAddressInput into its own file 2022-05-05 15:12:38 -05:00
Alex Gleason
2588bdd4ff
SoapboxConfig: use Streamfield for cryptoAddresses 2022-05-05 15:06:52 -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
eaeeed29c0
SoapboxConfig: convert to TSX 2022-05-05 14:25:57 -05:00
Alex Gleason
748d1f6c21
SitePreview: convert to tsx 2022-05-05 13:23:25 -05:00
Alex Gleason
1bd81a2f0f
SoapboxConfig: break extraneous components out into their own files 2022-05-05 13:08:45 -05:00
Alex Gleason
781a1ad437
PlaceholderStatus: preserve mobile shadows 2022-05-05 11:51:52 -05:00
Alex Gleason
16e1bc0f28 Merge branch 'status-gaps' into 'develop'
Use gaps between statuses even on mobile

See merge request soapbox-pub/soapbox-fe!1312
2022-05-05 14:50:13 +00:00
Justin
c752909d8f Merge branch 'improve-mobile-for-edit-profile' into 'develop'
Stack avatar/header file picker on mobile

See merge request soapbox-pub/soapbox-fe!1313
2022-05-05 13:56:21 +00:00
Justin
2b41e5f257 Stack avatar/header file picker on mobile 2022-05-05 09:36:49 -04: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
ffbb6f51de use camelCase
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-04 20:36:46 +02:00
53152d9174 Do not redirect to /messages after editing status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-04 20:33:49 +02:00
Alex Gleason
e0b7c2a26c Merge branch 'small-fixes' into 'develop'
Small fixes

Closes #927, #936, and #933

See merge request soapbox-pub/soapbox-fe!1310
2022-05-04 18:28:53 +00:00
Justin
51820319ae Fix white flash on landing page 2022-05-04 14:09:44 -04:00
Alex Gleason
c00b5f7476
ProfilePage: fix tabs (fixes #927), redirect wrong case username 2022-05-04 13:08:49 -05:00
Alex Gleason
47d1a8e5d6
ActionBar: fix repost active state, fixes #936 2022-05-04 12:08:17 -05:00
Alex Gleason
5e9c81b0c1
Notification: change status notification to bell-ringing 2022-05-04 11:55:22 -05:00
Alex Gleason
8f979b30fc
Badge: fix bot text color, fixes #933 2022-05-04 11:52:22 -05:00
Alex Gleason
a9a5ab115e Merge branch 'theme-gate' into 'develop'
Dark theme fixes

See merge request soapbox-pub/soapbox-fe!1308
2022-05-04 16:37:11 +00:00
Alex Gleason
ddcef4fc6c
HomePage: fix dark divider below Composer 2022-05-04 11:16:35 -05:00
Alex Gleason
1375c62fc1
Add ThemeToggle to Preferences 2022-05-04 11:11:47 -05:00
Alex Gleason
d7e2b843cf
Remove theme feature gating 2022-05-04 11:08:31 -05:00
Justin
d11d28f8d0 Merge branch 'improve-dark-mode' into 'develop'
Add dark style to share button

See merge request soapbox-pub/soapbox-fe!1307
2022-05-04 16:06:00 +00:00
Justin
9862480441 Add dark style to share button 2022-05-04 11:45:47 -04: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
07070b1023 Change header image background 2022-05-04 11:00:21 -04:00
Justin
a987b5f296 Improve dark-mode 2022-05-04 10:50:53 -04:00
Justin
12d45ced84 Support dark-mode logo 2022-05-04 10:14:59 -04:00
Justin
7e8a53c4cf Merge branch 'improve-dark-mode' into 'develop'
Support System Theme (light / dark mode)

Closes #818

See merge request soapbox-pub/soapbox-fe!1305
2022-05-04 14:00:17 +00:00
Justin
bf86d70a93 Use i18n 2022-05-04 09:40:04 -04:00
Justin
528906fe31 Set 'system' as default theme 2022-05-04 09:35:45 -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
Justin
210cee2b7a Move theme toggle to profile dropdown 2022-05-04 09:10:08 -04:00
Justin
4e7c5b5819 Support System theme 2022-05-04 09:08:40 -04: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
b8be588b60 Post editing: Compose improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 23:00:07 +02:00
Alex Gleason
0d0d12489e
Merge remote-tracking branch 'origin/develop' into next-embeds 2022-05-03 15:43:55 -05:00
236a76e4ef Show poll and attachments in edit history
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 21:38:38 +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
68d5a5d604 Quote posting requires Soapbox, actually
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 19:40:54 +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
Alex Gleason
4fcece9b72 Merge branch 'streamfield' into 'develop'
Allow editing custom profile fields

See merge request soapbox-pub/soapbox-fe!1300
2022-05-03 15:02:32 +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
Justin
870f78e413 Add unmute action to ActionButton 2022-05-03 08:24:34 -04:00
Justin
e2f24cdd6b Account for multiple rules 2022-05-03 08:15:11 -04:00
Alex Gleason
95ba8e49d7
EditProfile: make profile field label smaller than content 2022-05-02 22:56:38 -05:00
Alex Gleason
81938ec4d0
EditProfile: fix formdata submission 2022-05-02 22:45:58 -05:00
Alex Gleason
300efe3259
Gate profileFields behind a feature 2022-05-02 22:17:23 -05:00
Alex Gleason
6ed1ead7ef
EditProfile: add profile field placeholders 2022-05-02 22:10:17 -05: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
Alex Gleason
02426697d7
Public pages style fixes 2022-05-02 17:35:55 -05:00
Alex Gleason
e11575ff50
LandingPageModal: convert to tsx 2022-05-02 16:26:27 -05:00
Alex Gleason
2028873d34
LandingPageModal: fix routes 2022-05-02 16:24:45 -05:00
Alex Gleason
23fb01d32d
Set onboarding on account creation 2022-05-02 16:24:19 -05:00
Alex Gleason
35a731ffd9
Restore localStorage onboarding code 2022-05-02 15:55:52 -05:00
Alex Gleason
86ecda84c5
rule_id --> rule_ids 2022-05-02 14:50:16 -05:00
Alex Gleason
83a0988daa
submitReport(): don't call getState() a million times 2022-05-02 14:40:34 -05:00