Commit graph

950 commits

Author SHA1 Message Date
05d296f1ee Consistent behavior of compose modal close confirmation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-30 22:51:13 +02:00
Alex Gleason
0349a57f55 Merge branch 'embeds-improvements' into 'develop'
Embeds improvements

See merge request soapbox-pub/soapbox-fe!1752
2022-08-26 12:54:24 +00:00
Alex Gleason
3909c74c00
Add new CopyableInput component, use in EmbedModal 2022-08-25 21:21:03 -05:00
Justin
d4bcdd821c Lint 2022-08-25 09:19:09 -04:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
2fded6daa9 Improve dark mode 2022-08-24 09:28:56 -04:00
Alex Gleason
6ea4129cb7
EmbedModal: use Divider component 2022-08-23 10:40:39 -05:00
Alex Gleason
2e6b826c46
EmbedModal: improve dark mode styles 2022-08-22 12:12:18 -05:00
Alex Gleason
75b015d608
embed_modal.tsx --> embed-modal.tsx 2022-08-22 12:09:01 -05:00
Alex Gleason
393f6a9b60
EmbedModal: improve styling 2022-08-22 12:08:30 -05:00
Alex Gleason
cddf70f0ab
Fix status style regressions 2022-08-22 12:11:01 -04:00
Alex Gleason
6e5689e3a3
EmbedModal: allow-scripts 2022-08-21 15:08:05 -04:00
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
6f38b19b5b
Restore using embeds from the API 2022-08-21 11:21:25 -04:00
Alex Gleason
c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-21 11:20:19 -04:00
Alex Gleason
32b6c646cf Merge branch 'icon-button-themes' into 'develop'
IconButton: add themes

See merge request soapbox-pub/soapbox-fe!1729
2022-08-13 14:09:21 +00:00
Alex Gleason
34b7aad6dd Merge branch 'status-page-tsx' into 'develop'
StatusPage: convert to TSX

See merge request soapbox-pub/soapbox-fe!1728
2022-08-13 14:08:51 +00: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
5386135112
WrappedRoute: fix PageProps type to include children 2022-08-12 10:22:30 -05:00
66216bd5b6 Use Array.includes instead of indexOf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 13:47:32 +02:00
Justin
22294b8a6e Fix test 2022-08-10 14:45:58 -04:00
Justin
06d1ad2efe Remove sort 2022-08-10 11:33:23 -04:00
Justin
cbe9f47a59 Fix Trends Panel test 2022-08-10 10:31:09 -04:00
Justin
b2530dadd5 Convert trends to React Query 2022-08-10 09:35:07 -04:00
Justin
bec42a3633 Visual tweaks for new branding 2022-08-09 11:50:10 -04:00
2ea76f74cf fix test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 00:38:00 +02:00
81af0e64f1 Use different confirmation modal/snackbar text for post editing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-03 23:55:14 +02:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
ac83c9c18c Support mutes duration
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-31 11:57:31 +02:00
e45623eef6 Fix: Unable to approve follower requests from notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-30 23:34:18 +02:00
Justin
0b06731b07 Simplify the Banner width across usage 2022-07-26 14:22:13 -04:00
Alex Gleason
af6cb3a4c2
Merge remote-tracking branch 'origin/develop' into gdpr 2022-07-26 10:32:15 -05:00
Alex Gleason
0480bfab94
Add Banner UI component 2022-07-26 10:30:48 -05:00
marcin mikołajczak
fa8f4b7a2a Merge branch 'icons' into 'develop'
Replace LineAwesome with Tabler in some places

See merge request soapbox-pub/soapbox-fe!1683
2022-07-26 14:07:53 +00:00
eb62ebfa52 Replace LineAwesome with Tabler in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 12:30:51 +02:00
58952f0ab2 Add break-words to profile fields content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-26 11:53:36 +02:00
Alex Gleason
83329d0887
Copy react-notification's source code directly into the project 2022-07-25 22:58:09 -05:00
045a73f1d9 conditionally show endorse toggle
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 13:29:00 +02:00
3c835cf724 Restore featured accounts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-21 23:14:23 +02:00
marcin mikołajczak
c5b751a68d Merge branch 'announcements' into 'develop'
Announcements

See merge request soapbox-pub/soapbox-fe!1614
2022-07-16 19:02:10 +00: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
Alex Gleason
ca833e5eed
Revert "Timeline: don't try to memoize getStatusIds"
This reverts commit dd58f8fce7.
2022-07-13 19:15:39 -05:00
Alex Gleason
11a0329924
Fix pages that use PhoneInput 2022-07-13 19:08:19 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
479386af03 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 20:57:12 +02:00
Alex Gleason
a8c709b41c
Refactor formatPhoneNumber to accept countryCode 2022-07-13 11:40:02 -05:00
Alex Gleason
dd58f8fce7
Timeline: don't try to memoize getStatusIds 2022-07-11 19:29:38 -05:00
Alex Gleason
70cd4148e6 Merge branch 'subscription-button-no-tooltip' into 'develop'
SubscriptionButton: remove tooltip warning about web push

See merge request soapbox-pub/soapbox-fe!1618
2022-07-11 17:15:03 +00:00
Alex Gleason
930a10a63e
SettingsStore: convert to TSX+FC 2022-07-11 10:48:25 -05:00
ec040ff253 Merge remote-tracking branch 'soapbox/develop' into announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:54:04 +02:00
d5a6e978e6 Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:47:58 +02:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
f5c3497ece Merge remote-tracking branch 'soapbox/develop' into announcements 2022-07-09 19:35:03 +02:00
Alex Gleason
16c08b23a8
Fix improper import of Tabler icons 2022-07-09 11:22:38 -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
2925c88360 wip
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 00:01:25 +02:00
Alex Gleason
44d0a75044
SubscriptionButton: remove tooltip warning about web push 2022-07-08 16:54:23 -05:00
b3b6a7e4bc Announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-07 23:10:09 +02: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
Alex Gleason
afe1edddf9
rootReducer(undefined, {} as any) --> rootState 2022-07-06 17:22:11 -05:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
3e8ebb1661 Improve UX after subscribing to account 2022-07-06 14:20:20 -04:00
Alex Gleason
bdf00bb692
Fix types in various component tests 2022-07-06 12:17:17 -05:00
8e8329a7b0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-01 00:04:56 +02:00
Alex Gleason
2f78b9ccc6 Merge branch 'remove-unauth-setting' into 'develop'
Remove the guestExperience setting

See merge request soapbox-pub/soapbox-fe!1582
2022-06-30 15:15:23 +00:00
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
7ecb8f8d35 Merge branch 'feed-replacement' into 'develop'
Build Feed Filtering feature into the Home Timeline

See merge request soapbox-pub/soapbox-fe!1558
2022-06-30 12:19:51 +00:00
Alex Gleason
b3dc044ff3
Redirect /login when a user is signed in, add /login/add for multiple accounts 2022-06-29 13:32:59 -05:00
Alex Gleason
2e3718e548
Make /search a non-public route 2022-06-29 10:14:04 -05:00
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Alex Gleason
89e0eef60f
Remove the guestExperience setting 2022-06-28 14:43:03 -05:00
Justin
e3d976a2e7 Account for smaller screens 2022-06-28 14:26:59 -04:00
Justin
825f5566a0 Add CSS class with variables 2022-06-28 14:18:15 -04:00
Alex Gleason
b0b418d699
BackgroundShapes: use a CSS linear gradient 2022-06-28 10:47:41 -05:00
Justin
97b752c00c Fix link UX issue on linkfooter 2022-06-27 11:52:05 -04:00
Alex Gleason
8e7d3d45a9 Merge branch 'sw-skipwaiting' into 'develop'
ServiceWorker: display a toast to skipWaiting and reload tabs when new ServiceWorker is ready

See merge request soapbox-pub/soapbox-fe!1480
2022-06-27 14:48:42 +00:00
Alex Gleason
41e5104fac
Update Tabler to v1.71.0, use new pencil-plus and message-circle-2 icons 2022-06-26 10:41:02 -05: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
Alex Gleason
23c37229b8
Don't dismiss ServiceWorker snackbar 2022-06-23 18:03:35 -05:00
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Alex Gleason
9fff48a49f
Alerts: refactor notifications_container 2022-06-23 17:29:10 -05:00
Alex Gleason
421561f731
Alerts: use sm button 2022-06-23 16:24:10 -05:00
Alex Gleason
8a13984be1
Alerts: convert to TSX 2022-06-23 16:07:00 -05:00
Alex Gleason
38c920e9e5
Snackbar: use 'ghost' theme button 2022-06-23 15:25:33 -05:00
Alex Gleason
3e205a9610
ServiceWorker: click toast to install update (dirty) 2022-06-23 15:20:41 -05:00
7f8594d05e Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-22 22:54:21 +02:00
Alex Gleason
a16230780e
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 13:57:59 -05:00
Alex Gleason
e5d6b4fd7b Merge branch 'hoverstatus' into 'develop'
Status reply hover

See merge request soapbox-pub/soapbox-fe!1550
2022-06-21 18:57:22 +00:00
Alex Gleason
572744a695
Merge remote-tracking branch 'origin/develop' into ts 2022-06-21 11:01:05 -05:00
Justin
4b25bdf635 Merge branch 'poll-improvements' into 'develop'
Refactor & Redesign Polls in Statuses

See merge request soapbox-pub/soapbox-fe!1533
2022-06-21 11:44:40 +00:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
419ab93077 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 21:48:11 +02:00
af695e3812 Reducers: TypeScrpt + fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 16:46:45 +02:00
d8cb953955 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-20 09:26:45 +02:00
ae3277bbb3 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:39:49 +02:00
6214084890 Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 20:38:51 +02:00
ee5453c18f Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-18 12:11:03 +02:00
ee55241792 Fix type errors, use () => RootState for getState
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-18 11:51:02 +02:00
Alex Gleason
d2cfe93b6a
Chats: rename all files with dashes instead of underscores 2022-06-17 17:40:43 -05:00
Justin
20e0692012 Merge branch 'lodash-imports' into 'develop'
Specifically import the single lodash function

See merge request soapbox-pub/soapbox-fe!1540
2022-06-17 13:47:23 +00:00
Justin
3d76853e93 Lint fix 2022-06-17 08:14:34 -04:00
Justin
16c06e1d60 Temporarily disable for non-PLEROMA/MASTODON 2022-06-17 07:47:21 -04:00
Justin
5fa875ef64 Add tests 2022-06-17 07:44:34 -04:00
Justin
0e1302587a Improve subscription button on header 2022-06-17 07:44:34 -04:00
Justin
de7fa347df Specifically import the single lodash function 2022-06-17 07:37:53 -04:00
ewwwwwwww
cc7058349f add status reply hover 2022-06-16 21:19:53 -07:00
Justin
4687f9b79b Lint 2022-06-16 11:47:57 -04:00
Justin
7a7fda0c08 Improve PollPreview 2022-06-16 11:08:57 -04:00
Justin
06888b8ebc Undo some accidental changes 2022-06-16 09:08:58 -04:00
Justin
fb9796b0c4 Redesign Poll within Status 2022-06-16 09:08:58 -04:00
Alex Gleason
e03a22f88d
guestExperience: add alternate user routes 2022-06-15 10:50:45 -05:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +02:00
228fef77a4 Merge remote-tracking branch 'soapbox/develop' into ts 2022-06-10 19:57:07 +02:00
708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +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
309e6c1a67 Reactions modal fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:47:21 +02:00
2786fa257b Use import type in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:08:51 +02:00
95e037f8c0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 20:56:14 +02: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
a66c174c2d Add normalizers, fix tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-08 23:43:27 +02:00
Alex Gleason
4457a0613c Merge branch 'quote-sensitive' into 'develop'
Sensitive quotes

Closes #930

See merge request soapbox-pub/soapbox-fe!1504
2022-06-08 16:34:50 +00:00
Alex Gleason
a02efcadd4
Preserve password reset URL query 2022-06-07 16:57:50 -05:00
5fe442b684 ESLint: add no-duplicate-imports rule
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +02:00
Alex Gleason
da70097960
Convert QuotedStatus containers to TSX 2022-06-07 14:48:24 -05:00
6c45dcb109 TypeScript, FC (reducers, search)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 18:25:53 +02:00
marcin mikołajczak
bdb958a613 Merge branch 'ts' into 'develop'
Reducers: TypeScript

See merge request soapbox-pub/soapbox-fe!1498
2022-06-06 19:03:34 +00:00
41a2b1f08f Reducers: TypeScript, fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 20:21:25 +02:00
5bb26c9b47 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:07:19 +02:00
65dff4e6a1 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 15:05:44 +02:00
5bc8108e26 Move account migration to settings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-05 08:56:22 +02:00
Alex Gleason
fbb460817f
Add JSDoc comments to timeline components 2022-06-03 13:09:46 -05:00
Alex Gleason
aad192d150
ScrollTopButton: restore count prop so it works in Notifications again 2022-06-03 12:38:54 -05:00
Alex Gleason
6da72d874e
TimelineQueueButtonHeader --> ScrollTopButton 2022-06-03 12:34:30 -05:00
Alex Gleason
2aa4b41528
StatusListContainer --> Timeline 2022-06-03 12:31:23 -05:00
Alex Gleason
edf366858a
StatusListContainer: bust useCallback if timelineId changes 2022-06-03 12:25:59 -05:00
Alex Gleason
7b1190e6cd
Merge remote-tracking branch 'origin/develop' into scroll-position 2022-06-02 15:52:04 -05:00
Alex Gleason
47e43b6540
StatusList: break out TimelineQueueButtonHeader into StatusListContainer 2022-06-02 15:29:20 -05:00
Alex Gleason
878d26cb4b
StatusListContainer: convert to TSX 2022-06-02 15:15:30 -05:00
Justin
621f8982f1 Allow guest browsing on Profiles and Statuses 2022-06-02 08:19:35 -04:00
7a35aa727b import from 'soapbox/…
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 20:23:55 +02:00
beb7b8e713 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 18:44:32 +02:00
a3d1d2dc91 TS, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 21:53:22 +02:00
9b5c342a27 Merge remote-tracking branch 'soapbox/develop' into ts 2022-05-28 18:03:22 +02:00
1e74c6d3d7 TypeScript, FC, styles and fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 18:03:19 +02:00
Justin
8433ff70b0 Add tests for account-notes action 2022-05-27 14:11:36 -04:00