Commit graph

107 commits

Author SHA1 Message Date
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
96ccc66641
Convert DropdownMenu to typescript 2022-04-02 13:03:12 -05:00
Alex Gleason
1a1464f5ba
Poll: convert to React.FC, remove PollContainer 2022-03-26 22:24:52 -05:00
Alex Gleason
0cdf898b37
Convert Polls to TSX 2022-03-26 18:11:26 -05:00
Justin
97af1ece28 Resolve missing CSS variables in the theme 2022-03-24 11:48:03 -04:00
Alex Gleason
793b0f9128
Start adding dark mode 2022-03-23 19:18:37 -05:00
Alex Gleason
fff580f053
Normalize Tailwind colors from SoapboxConfig 2022-03-23 15:31:19 -05:00
Alex Gleason
12617bf7de
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-23 13:05:53 -05:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -05:00
Alex Gleason
a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Alex Gleason
0938612678
Use colors from soapbox.json at runtime 2022-03-21 18:43:31 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
a801a8a7c8
soapbox/store/configureStore --> soapbox/store, add custom Hooks 2022-03-14 18:04:49 -05:00
Alex Gleason
d600a74410
Revert "PollContainer: don't pass me as a prop"
This reverts commit dc2d3b1b09.
2022-03-10 19:36:58 -06:00
Alex Gleason
dc2d3b1b09
PollContainer: don't pass me as a prop 2022-03-10 16:30:42 -06:00
Alex Gleason
7a3c014ac7
Don't use accent color in Halloween mode 2022-02-27 19:43:31 -06:00
06d33de47f Single user mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-25 16:35:48 +01:00
5b3f7c1cdc Let accent color be configurable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-24 18:28:52 +01:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
e0f0370579 Merge remote-tracking branch 'soapbox/develop' into modals-stack
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 14:30:38 +01:00
marcin mikołajczak
8fed920bb7 Merge branch 'develop' into 'snackbar-action-link'
# Conflicts:
#   app/soapbox/features/edit_profile/index.js
2022-02-01 08:27:38 +00:00
Alex Gleason
0d000bf4e0
Set instance version default, just in case... 2022-01-31 11:23:39 -06:00
Alex Gleason
7e7ca52cca
Delay rendering until instance has loaded or failed (for feature detection) 2022-01-31 10:58:44 -06:00
807b3c7e5b Use stack for modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
bf7cd98c03 Add 'View' action link to some notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 16:00:05 +01:00
Alex Gleason
0964fc1f4d
Add "demo" mode for taking screenshots 2022-01-26 19:37:32 -06:00
67006fdc34 Fix normal reblogging
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 16:31:55 +01:00
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
154eab8273 Ask for confirmation before canceling scheduled post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-08 13:13:19 +01:00
marcin mikołajczak
df47c0c789 Merge branch 'mentions-modal' into 'develop'
Turn some pages into modals

See merge request soapbox-pub/soapbox-fe!958
2022-01-06 17:43:46 +00:00
marcin mikołajczak
831a3418f9 Merge branch 'just-messing-around' into 'develop'
Add headers to confirmation modals

See merge request soapbox-pub/soapbox-fe!942
2022-01-06 17:09:08 +00:00
2d3784eb88 Minor changes, port 'Generalize “press back to close modal” to any modal and to public pages' from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 17:45:10 +01:00
06e3b95a29 change label
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 16:51:34 +01:00
1541b97e1a Actually fix reblogs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-03 23:30:29 +01:00
11107c6df9 Merge remote-tracking branch 'origin/develop' into just-messing-around
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-03 18:52:22 +01:00
49d61f84e1 fix reblogs with confirmation modal enabled
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-03 17:27:31 +01:00
marcin mikołajczak
9c6f805499 Remote interactions modal 2022-01-02 20:43:53 +00:00
809b875ae3 Add headlines to confirmation modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 18:50:02 +01:00
Alex Gleason
7259ed58fb
Offline: persist Soapbox config (eg frontend_configurations or soapbox.json) 2021-11-15 16:56:33 -06:00
Alex Gleason
cb98c16011
Poll: fix crash when voting 2021-11-05 23:29:35 -05:00
Alex Gleason
8634db39a5 Merge branch 'polls-unauthorized-modal' into 'develop'
Check if unauthorized when toggling poll options

See merge request soapbox-pub/soapbox-fe!828
2021-11-03 18:15:57 +00:00
Alex Gleason
860f8c3b93
Developers: become a developer through the console 2021-11-02 11:47:26 -05:00
92ee89936e Show unauthorized modal when toggling poll options
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-27 22:51:17 +02:00
f2b91a2231 Fix polls for unauthenticated users
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 14:03:42 +02:00
Alex Gleason
3c5384f318
localforage: add localforage, remember a fetched instance 2021-10-20 13:18:55 -05:00
Alex Gleason
f70791004b
Chats: add account search 2021-10-14 12:23:51 -05:00
Alex Gleason
da79e5a876
Add conditional Chat/DM buttons throughout the interface 2021-10-13 13:55:02 -05:00