Commit graph

185 commits

Author SHA1 Message Date
Alex Gleason
6ff34d77fd
RegisterInvite: move to AuthLayout 2022-05-07 12:02:45 -05:00
Alex Gleason
dd4f41f246
ExternalLogin: move to AuthLayout instead of UI 2022-05-07 11:52:56 -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
Justin
4e7c5b5819 Support System theme 2022-05-04 09:08:40 -04: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
Justin
318d7fdc48 Support app deep-linking 2022-05-03 10:43:17 -04:00
Alex Gleason
35a731ffd9
Restore localStorage onboarding code 2022-05-02 15:55:52 -05:00
Alex Gleason
706d864293
Put /signup behind feature flags 2022-04-30 12:02:30 -05:00
Alex Gleason
16322e8d6c
Add /signup route 2022-04-30 11:54:24 -05:00
Alex Gleason
e08a297eff
/auth/verify --> /verify 2022-04-30 11:28:18 -05:00
387ebfc56c Allow editing posts on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
7363d9c7f8
SoapboxMount: do load, even if something fails 2022-04-26 15:07:13 -05:00
Alex Gleason
ea34a7f303
DELETE INTERSECTION OBSERVER ARTICLE 2022-04-22 13:13:40 -05:00
Alex Gleason
79a5820687
SoapboxMount: fix useEffect() 2022-04-21 17:47:11 -05:00
Alex Gleason
6012b2a5ba
Delete dysfunctional test 2022-04-21 17:38:13 -05:00
Alex Gleason
6b19adbb26
Add basic tests to containers/soapbox 2022-04-21 14:32:10 -05:00
Alex Gleason
ce42a47e70
Convert containers/soapbox into TSX 2022-04-21 12:19:33 -05:00
Alex Gleason
04eac8a95e
SoapboxMount: convert to React.FC 2022-04-21 11:47:28 -05:00
Alex Gleason
426f02722a
Make Soapbox component an FC, move console.log 2022-04-21 11:21:09 -05:00
Alex Gleason
41ab4f0a44
Onboarding: use a server setting instead of localStorage, fix steps when data is already present 2022-04-20 12:08:49 -05:00
Alex Gleason
1deb4dfd2d
Merge remote-tracking branch 'origin/next' into next-onboarding 2022-04-20 08:23:15 -05:00
Alex Gleason
b72f398bad
Use feature detection for frontendConfigurations 2022-04-19 18:33:13 -05:00
Alex Gleason
29b28edee5
Improve loading of initial data 2022-04-19 18:15:42 -05:00
Alex Gleason
5731b9b1c7
Redirect all /auth routes 2022-04-19 14:37:48 -05:00
Justin
7e42679478
Add meta tag for iOS banner 2022-04-14 13:24:47 -05:00
Justin
8afb0f6e6f
Remove old comment 2022-04-14 10:43:11 -05:00
Justin
ec79f6354d
Skip onboarding if waitlisted 2022-04-14 10:43:11 -05:00
Justin
98c77006ce
Add Onboarding components 2022-04-14 10:42:56 -05:00
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
Alex Gleason
f6b1bca574
Helmet: wrap withRouter, probably fix page title getting stuck 2021-10-12 16:28:47 -05:00
Alex Gleason
4b92dbc93d
Create separate MaterialStatus component for statuses with gaps (in timelines) 2021-10-06 14:42:24 -05:00
Alex Gleason
fcf7b1ffed
Fix inability to delete a status 2021-09-28 17:29:14 -05:00
Alex Gleason
80d75d5a80
Fix status overflow issue *and* scroll bar 2021-09-26 18:48:43 -05:00
Alex Gleason
b0e37c773e
Load panels async 2021-09-18 17:48:13 -05:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY 2021-09-05 13:21:39 -05:00
Alex Gleason
a9b757f6a5
Merge remote-tracking branch 'origin/develop' into fe-basename 2021-09-03 11:44:02 -05:00
Alex Gleason
9a164ca8fa
Authenticated fetch: postpone fetching the instance 2021-09-03 07:42:27 -05:00
Alex Gleason
2b1ceb6d08
Build config: subdirectory support 2021-09-02 16:52:53 -05:00
Eugen Rochko
a8501fb44d Fix scroll position resetting when opening media modals in web UI 2021-08-28 15:23:12 +02:00
Thibaut Girka
64665df236 Improve dropdown menu keyboard navigation
* Allow selecting menu items with the space bar in status dropdown menus

* Fix modals opened by keyboard navigation being immediately closed

* Fix menu items triggering modal actions

* Add Tab trapping inside dropdown menu

* Give focus back to last focused element when status dropdown menu closes
2021-08-28 15:22:43 +02:00
Alex Gleason
0b4b3479ea
Standalone: support running Soapbox FE on a subdomain 2021-08-22 14:34:58 -05:00
Shevek
5abd81695a fix lint 2021-08-14 22:59:33 -04:00
Shevek
d6f9b6547a use brand color as browser theme color 2021-08-14 22:49:09 -04:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
193b326d15 a11y: Option to always underline links in posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-28 16:03:59 +02:00
Alex Gleason
d9202baa58
Simplify greentext code 2021-07-01 20:41:03 -05:00
Alex Gleason
bbeecddc37
Greentext support 2021-06-30 21:39:27 -05:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
Alex Gleason
ffa8fda6d5
Improve error boundary styles, provide way to clear browser data 2021-04-22 13:57:47 -05:00
Alex Gleason
aa7e62e8c0
Initialize auth refactor 2021-03-29 19:51:48 -05:00