Commit graph

677 commits

Author SHA1 Message Date
Alex Gleason
a23fb9f1aa
Actually move Layout.Sidebar out of WrappedRoute and into UI 2022-04-28 18:26:30 -05:00
Alex Gleason
2c542e4548
Layout: make all UI routes have a static left sidebar 2022-04-28 18:18:55 -05:00
Alex Gleason
039ff6b3f6
AwaitingApproval: move into ./tabs directory 2022-04-28 15:56:17 -05:00
Alex Gleason
85424b9acf
Admin: improve tabs navigation 2022-04-28 15:44:12 -05:00
Alex Gleason
da8eaec7b9
Delete AdminNav, AdminTabs i18n 2022-04-28 15:14:58 -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
aa29b260a8
ui/index: convert to TSX+FC 2022-04-26 13:36:08 -05:00
Alex Gleason
7df6d4bc9c
BackgroundShapes: convert to TSX 2022-04-26 12:05:49 -05:00
Alex Gleason
670d25428d
async-components: convert to TS 2022-04-26 12:03:52 -05:00
Alex Gleason
3c90937bf2
WrappedRoute: refactor with TSX+FC 2022-04-26 12:01:57 -05:00
Alex Gleason
2758980021
Restore mobile account switcher, make it available to everyone 2022-04-25 18:37:20 -05:00
Alex Gleason
3788980856
BundleColumnError: improve styles 2022-04-25 18:04:00 -05:00
Alex Gleason
672216d4de
BundleColumnError: convert to TSX 2022-04-25 17:54:17 -05:00
Alex Gleason
4d4070da9a
Make error routes developerOnly 2022-04-25 17:51:03 -05:00
Alex Gleason
754e669ea5
Add network error preview to Developers (/error/network) 2022-04-25 17:48:53 -05:00
Alex Gleason
d9903807ed
FundingPanel: remove unused history variable 2022-04-24 18:56:57 -05:00
Alex Gleason
000615ced4
CryptoAddress: improve icon size 2022-04-24 18:54:46 -05:00
Alex Gleason
eaf15fd77c
LinkFooter: improve style of repo link 2022-04-24 18:38:12 -05:00
Alex Gleason
18c4210cec
Fix VideoModal, remove Video close button 2022-04-24 18:24:57 -05:00
Alex Gleason
b8eff3e46b
VideoModal: convert to TSX 2022-04-24 18:07:20 -05:00
Alex Gleason
73f086c680
Add "Donor" badge 2022-04-24 17:27:08 -05:00
Alex Gleason
3f9cc3cd04
Restore Patron features, context to TSX 2022-04-24 17:01:57 -05:00
Alex Gleason
ea34a7f303
DELETE INTERSECTION OBSERVER ARTICLE 2022-04-22 13:13:40 -05:00
Alex Gleason
ae48cb2c06
ScrollableList: replace margins with padding 2022-04-22 12:24:09 -05:00
Alex Gleason
eecc46cbdc
Fix useEffect() calls... whoops 2022-04-21 17:52:48 -05:00
Alex Gleason
ef5ceeacfe
Fix soapboxConfig propType errors 2022-04-21 11:10:35 -05:00
a398f14b2f Lists links styling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-20 19:37:40 +02:00
Alex Gleason
9d03b8ab93 Merge branch 'next-public-layout' into 'next'
Next: improve public pages, feature detection, etc

See merge request soapbox-pub/soapbox-fe!1243
2022-04-20 13:19:35 +00:00
Alex Gleason
be778ce533
Restore PromoPanel 2022-04-19 21:42:03 -05:00
Alex Gleason
0c98157fb3
Delete WelcomeButton, remove TruthSocial remnants 2022-04-19 15:24:12 -05:00
Alex Gleason
564524bfcc
AuthLayout: use logo from soapboxConfig 2022-04-19 15:20:50 -05:00
Alex Gleason
5731b9b1c7
Redirect all /auth routes 2022-04-19 14:37:48 -05:00
Alex Gleason
67b0b6a317
Add BirthdayPanel 2022-04-18 23:30:40 -05:00
Alex Gleason
97b5c5af43
Widget: add actions 2022-04-18 23:10:01 -05:00
Alex Gleason
c523e95789 Merge branch 'fix-pending-status' into 'next'
Improve Pending Status design

See merge request soapbox-pub/soapbox-fe!1236
2022-04-18 21:23:51 +00:00
Alex Gleason
4bfffebb32
Normalize accounts in who-to-follow-panel.test.tsx 2022-04-18 16:04:58 -05:00
Justin
76a04ccbb9 Improve Pending Status design 2022-04-18 15:08:41 -04:00
dc3c273311 Birthdays modal to TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-17 23:27:33 +02:00
Alex Gleason
2828f233d5
Restore ProfileMediaPanel, convert to TSX+FC 2022-04-15 19:14:34 -05:00
5a81c4672a Merge remote-tracking branch 'soapbox/next' into next_ 2022-04-14 22:33:17 +02:00
2d0dbf6005 dark
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 22:20:53 +02:00
Justin
42396c4c4c Merge branch 'remove-preheader' into 'next'
Remove Preheader files

See merge request soapbox-pub/soapbox-fe!1220
2022-04-14 20:12:27 +00:00
Justin
6b281c72a3 Remove Preheader files 2022-04-14 15:56:09 -04:00
Alex Gleason
c5646cf873
Add a TestTimeline for previewing certain types of posts 2022-04-14 14:46:07 -05:00
Alex Gleason
5955a0819a
Nuke FeaturesPanel, add "More" menu to left sidebar 2022-04-14 13:16:08 -05:00
23943ccdee Remote interaction modal styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:51:23 +02:00
Alex Gleason
4230464812
Disable PreHeader 2022-04-13 18:28:05 -05:00
Justin
74c2e8ea15 Add tests for WhoToFollowPanel 2022-04-13 09:42:01 -04:00
Alex Gleason
8377e3c86b
Make darkMode a feature (for now) 2022-04-12 19:08:42 -05:00
Alex Gleason
3e988cb3a3
Merge remote-tracking branch 'origin/next' into next-theme-picker 2022-04-12 19:02:35 -05:00
Alex Gleason
21d7cafe26 Merge branch 'next-emoji-reacts' into 'next'
Next: Emoji reacts pt 2

See merge request soapbox-pub/soapbox-fe!1204
2022-04-12 17:22:55 +00: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
c5c1f83f36
Fix lint 2022-04-10 20:56:16 -05:00
Alex Gleason
37a8bc7083
WIP: embeds 2022-04-10 17:52:42 -05:00
Alex Gleason
f9d01dab0a
Make the ThemeToggle look decent, unhide it 2022-04-10 13:42:52 -05:00
98ff406ddf typescript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:46:25 +02:00
fb3b88b80b reply mentions modalto tsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:20:12 +02:00
8be889734c well, fix confirmation modal after fixing a typo
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:23:00 +02:00
2fbac4600c MissingDescriptionModal to functional component
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:20:50 +02:00
14337e7839 Missing description modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:16:26 +02:00
0252f0525a Fix typo in confirmation modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 21:05:33 +02:00
e4908fe2b2 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-07 20:58:23 +02:00
Justin
ad381d7fbc Add tests for TrendsPanel 2022-04-07 11:55:15 -04:00
8f7a0e9942 Merge remote-tracking branch 'soapbox/next' into next_
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 23:49:35 +02:00
dd1f8a257e styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-05 00:03:26 +02:00
Alex Gleason
20aa17ce64 Merge branch 'next-status-loading' into 'next'
Next: Improve status loading, refactor Status components to TSX

See merge request soapbox-pub/soapbox-fe!1179
2022-04-04 21:36:47 +00:00
Alex Gleason
e88fe4a707
Clean up me usage 2022-04-04 14:24:55 -05:00
Justin
ed47cf5f09 Convert old tests to use "react-testing-library" 2022-04-04 11:53:47 -04:00
Alex Gleason
41ae50c495 Merge branch 'next-emoji-reacts' into 'next'
Next: emoji reacts part 1

See merge request soapbox-pub/soapbox-fe!1161
2022-04-03 18:09:27 +00:00
1f697dd8f2 hotkeys modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:40:06 +02:00
abf98cb75a Conditionally display some hotkeys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:34:00 +02:00
1ba551b88b styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-03 19:27:08 +02:00
Alex Gleason
c74d154874
Merge remote-tracking branch 'origin/next' into next-emoji-reacts 2022-04-02 10:48:45 -05:00
0661ca25be styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:10:16 +02:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
462658dda7
LinkFooter: replace account aliases with account migration 2022-03-30 15:53:48 -05:00
Alex Gleason
ac7b8553d4
LinkFooter: don't use <ul> tag 2022-03-30 15:51:49 -05:00
Alex Gleason
548ecef20f
LinkFooter: convert to TSX 2022-03-30 15:50:16 -05:00
Alex Gleason
c62cd9898a
Fix background shapes for dark mode 2022-03-30 12:08:32 -05:00
Justin
08a56082a9 Use intl to format messages 2022-03-30 10:40:09 -04:00
9022651a67 Styles, dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-30 15:07:17 +02:00
dbeb292009 wip dark mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
4322712bfb
Convert OptionalMotion and ReducedMotion to TypeScript 2022-03-26 17:26:26 -05:00
Alex Gleason
da17562e0a
Features conditional routing 2022-03-26 13:53:01 -05:00
Alex Gleason
13c4948ad2
Restore /crypto/donate page 2022-03-25 15:16:05 -05:00
Alex Gleason
67c0c83b44
Refactor sidebar panels with Widget component 2022-03-25 14:08:12 -05:00
Alex Gleason
ee691e0cc8
LinkFooter: remove "Legal" link 2022-03-24 16:59:25 -05:00
Alex Gleason
ae2153dffe
Add ThemeToggle to Navbar (developers only) 2022-03-24 16:17:39 -05:00
Alex Gleason
53b920c297
ThemeToggle: convert to TSX 2022-03-24 16:03:02 -05:00
Alex Gleason
dec49003f4
Merge remote-tracking branch 'origin/next' into next-ts-strict 2022-03-24 14:30:39 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors 2022-03-24 14:27:27 -05:00
Justin
867912aa1b Wrap profile fields 2022-03-24 14:08:54 -04:00
Alex Gleason
84d7d2ee38
Add @ts-ignore lines for strictFunctionTypes 2022-03-24 12:26:27 -05:00
Alex Gleason
5f4930dba3 Merge branch 'next-dark-mode' into 'next'
Next: dark mode

See merge request soapbox-pub/soapbox-fe!1136
2022-03-24 03:04:40 +00:00
Alex Gleason
09d3f375d5
Dark mode: navbar bg, update snapshots 2022-03-23 21:46:59 -05:00
Alex Gleason
be690255cb
Hooks: get rid of useAccount, create useOwnAccount 2022-03-23 21:05:55 -05:00
Alex Gleason
2da31341c4
Custom hooks: useAccount, useSettings, useSoapboxConfig 2022-03-23 20:29:35 -05:00
Alex Gleason
1b7bdb3658
Make BG shapes colors configurable 2022-03-23 17:15:40 -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
Justin
7e17772c14 Dynamically truncate the Account's name/username in hidden content 2022-03-23 08:40:21 -04:00
Alex Gleason
5ffb9828ba
LinkFooter: restore copyright message, let it be overridden 2022-03-22 17:43:42 -05:00
Alex Gleason
8f85fd01d5
Make bg-shape colors configurable 2022-03-22 16:25:52 -05:00
Alex Gleason
9e16d992e6
Merge remote-tracking branch 'origin/next' into next-colors 2022-03-22 13:57:09 -05:00
Alex Gleason
a42ea0961a
Generate Tailwind colors from brandColor/accentColor 2022-03-22 12:37:57 -05:00
Justin
430cfc3a2a Remove unneeded 'event' when using Reach Menu 2022-03-22 11:41:44 -04:00
Justin
12ed6889a4 Use React Router Link in MenuLink 2022-03-22 08:28:18 -04:00
Alex Gleason
d34937e959
UnauthorizedModal: use withRouter history 2022-03-21 16:08:03 -05:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5 2022-03-21 16:05:25 -05:00
Alex Gleason
4ccbce71e0
Fetch frontend_configurations once again, reenable /soapbox/config route 2022-03-21 15:13:33 -05:00
Justin
b4d677dfde Use new Icon comp with Tabler version 2022-03-21 15:09:46 -04:00
Alex Gleason
c5e89969c8
Generalize homepage 2022-03-21 13:45:57 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3 2022-03-17 20:17:28 -05:00
Alex Gleason
1d4daee53b Merge branch 'datepicker-async' into 'develop'
Load react-datepicker asynchronously

Closes #855

See merge request soapbox-pub/soapbox-fe!1086
2022-03-16 21:42:13 +00:00
a29019dbb0 Load react-datepicker asynchronously
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-09 22:59:51 +01:00
marcin mikołajczak
edb80c705d Merge branch 'attachment-thumbs-sensitive' into 'develop'
Fix: Quote posts do not carry sensitive tag

Closes #852

See merge request soapbox-pub/soapbox-fe!1079
2022-03-06 23:22:01 +00:00
06b8b407c5 AttachmentThumbs: sensitive tag
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
marcin mikołajczak
fd27688b11 Merge branch 'fix-modal-navigation' into 'develop'
Fix: User is returned to a previously viewed page after replying to a post

Closes #843

See merge request soapbox-pub/soapbox-fe!1078
2022-03-06 22:35:39 +00:00
5b46f0c0f7 Fix: User is returned to a previously viewed page after replying to a post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:20:13 +01:00
Alex Gleason
9b756043fb
ReactionsModal: defensive property checks 2022-03-03 11:36:05 -06:00
Alex Gleason
2679519d23
Display account location on profile 2022-02-28 17:25:20 -06:00
Alex Gleason
d86eac4c1a
Remove isVerified() function 2022-02-27 22:25:23 -06:00
Alex Gleason
07aaa427a6 Merge branch 'fedibird' into 'develop'
Fedibird birthdays

Closes #833

See merge request soapbox-pub/soapbox-fe!1054
2022-02-27 19:33:32 +00:00
marcin mikołajczak
725b1e43ef Merge branch 'account-endorsements' into 'develop'
Fix "Feature on profile" feature breaks when emojis are present in name

See merge request soapbox-pub/soapbox-fe!1055
2022-02-26 22:07:17 +00:00
9a3260e071 Fix "Feature on profile" feature breaks when emojis are present in name
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 22:55:24 +01:00
2257612b12 Fedibird birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 22:49:42 +01:00
Alex Gleason
92ac0e6a0d Merge branch 'account-notes' into 'develop'
Account notes

See merge request soapbox-pub/soapbox-fe!1053
2022-02-26 21:30:05 +00:00
Alex Gleason
5a66a9b8c5
Improve phrasing 2022-02-26 15:14:56 -06:00
ccff91b072 Account notes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 15:57:34 +01:00
06d33de47f Single user mode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-25 16:35:48 +01:00
Alex Gleason
f0dc233973
Normalize poll and poll options 2022-02-24 00:07:18 -05:00
Alex Gleason
706bc08c88
Status reducer: fix search_index 2022-02-23 23:41:49 -05:00
Alex Gleason
331b239cc9
Normalize mentions, add tests 2022-02-23 22:31:35 -05:00
Alex Gleason
02f05abeaa
More defensive status normalization 2022-02-23 22:11:40 -05:00
Alex Gleason
cd6d575ae9
Simplify pending status builder 2022-02-23 20:37:38 -05:00
Alex Gleason
6c0c66eab1
Simplify scheduled/pending status builders 2022-02-23 20:00:49 -05:00
Alex Gleason
717a0917a3
pendingStatus: fix media uploads 2022-02-23 15:42:05 -05:00
Alex Gleason
5afd1ce4b3
Fix PendingStatus 2022-02-21 03:56:31 -05:00
Alex Gleason
f7f18fac79
Refactor status normalizer 2022-02-20 02:27:29 -05:00
Alex Gleason
b4a2514cd9
pendingStatus: safer to fallback 2022-02-20 01:13:30 -05:00
Alex Gleason
37cf29d9f1
LinkFooter: link to /settings/migration, not /settings/aliases 2022-02-18 22:18:39 -05:00
Alex Gleason
85c32e3f76 Merge branch 'account-migrations' into 'develop'
Allow account migrations

See merge request soapbox-pub/soapbox-fe!1038
2022-02-19 03:03:57 +00:00
5f73f96735 Minor modals cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 22:38:15 +01:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
f75ffeadd8 Account migrations
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 21:35:35 +01:00
Alex Gleason
2c51054ae4
UI: actually, don't wait for the streaming URL to render 2022-02-07 12:20:03 -06:00
NEETzsche
bf0a7d7bae State why you can't follow someone, don't just disable the button 2022-02-05 20:36:25 +00: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