Commit graph

1294 commits

Author SHA1 Message Date
cb3df8211c Merge remote-tracking branch 'soapbox/develop' into compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 15:40:29 +02:00
6cce0a0291 Introduce useCompose hook
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 20:01:44 +02:00
marcin mikołajczak
3509fd1c6e Merge branch 'follow-requests-link' into 'develop'
Link to /follow_requests in SidebarMenu

See merge request soapbox-pub/soapbox!1792
2022-09-14 14:39:58 +00:00
859f39a9d3 Link to /follow_requests in SidebarMenu
Signed-off-by: marcin mikolajczak <git@mkljczk.pl>
2022-09-14 16:12:23 +02:00
Alex Gleason
749a11dd77 Merge branch 'feed-insertion-algorithm' into 'develop'
Feed insertion algorithms

See merge request soapbox-pub/soapbox!1782
2022-09-14 13:18:19 +00:00
Alex Gleason
1f0b4d01b5
Remove account.donor as a concept, use 'badge:donor' custom tag instead 2022-09-11 20:44:49 -05:00
Alex Gleason
2fc9b215a9
Display custom badges on profiles 2022-09-11 20:21:37 -05:00
Alex Gleason
2e811a1e88
Admin: allow setting custom badges on accounts 2022-09-11 20:04:41 -05:00
Alex Gleason
90cbf0a60f
ListItem: allow child to set className 2022-09-11 17:32:34 -05:00
Alex Gleason
c067dd7547
Create TagInput component 2022-09-11 15:47:50 -05:00
Alex Gleason
9610447a79
Fix permissioning of moderator modal 2022-09-11 14:46:01 -05:00
Alex Gleason
8a8ef99433
StatusActionBar: simplify options, use AccountModerationModal 2022-09-11 14:36:58 -05:00
87877a3f96 TS/functional: Emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-11 19:28:12 +02:00
a9b8371086 Allow multiple compose forms
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-10 23:52:06 +02:00
Alex Gleason
2681b32f7d
StatusList: incorporate feed injection algorithms 2022-09-09 22:26:36 -05:00
Justin
999c5caafd Merge branch 'improve-input' into 'develop'
Extend input with new prepend/append options

See merge request soapbox-pub/soapbox!1778
2022-09-08 12:36:41 +00:00
Justin
d4d561638d Merge branch 'bug-fixes' into 'develop'
Bug fixes

See merge request soapbox-pub/soapbox!1761
2022-09-08 12:29:42 +00:00
Justin
7063ce759d Add JSDOC 2022-09-08 08:28:19 -04:00
Justin
75472247d8 Merge branch 'improve-danger-button' into 'develop'
Update 'danger' button styles

See merge request soapbox-pub/soapbox!1777
2022-09-08 12:23:58 +00:00
Justin
07cbd02737 Lint 2022-09-07 08:27:40 -04:00
Justin
6486f3b539 Fix ref passed to Stack error 2022-09-07 08:27:40 -04:00
Justin
0940896448 Fix nested <div> within <p> error 2022-09-07 08:27:40 -04:00
Justin
494cd622a5 Update usage of input 2022-09-07 08:24:44 -04:00
Justin
d4209c86b7 Extend input with new prepend/append options 2022-09-07 08:21:14 -04:00
Justin
2682116151 Update 'danger' button styles 2022-09-07 08:17:11 -04:00
Justin
81ea892ff7 Export TextSizes type 2022-09-07 08:11:25 -04:00
Justin
99e5e4492a Extend Divider with 'textSize' prop 2022-09-07 08:09:32 -04:00
Alex Gleason
57b2527b55
StatusActionBar: copy status.url --> status.uri 2022-09-06 13:09:31 -05:00
d074553e21 Wrap HStack in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:18:15 +02:00
cd93399569 Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-03 17:15:21 +02:00
Alex Gleason
5f1d9ac56a
relative_timestamp --> relative-timestamp 2022-08-31 17:03:50 -05:00
Alex Gleason
38b6f87a83
RelativeTimestamp: convert to TSX 2022-08-31 17:01:19 -05:00
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
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
194cf89dd9
Ads: bust query-cache when an ad expires 2022-08-26 13:58:02 -05:00
Alex Gleason
c29bf4040a Merge branch 'sentry-sanity' into 'develop'
Sentry: filter out useless events, tag ErrorBoundary page crashes

See merge request soapbox-pub/soapbox-fe!1751
2022-08-26 12:54:38 +00: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
82aad21900
CopyableInput: oh yeah, make the input actually copy 2022-08-25 21:28:20 -05:00
Alex Gleason
3909c74c00
Add new CopyableInput component, use in EmbedModal 2022-08-25 21:21:03 -05:00
Alex Gleason
f8f8b4f2b9
Sentry: filter out useless events, tag ErrorBoundary page crashes 2022-08-25 13:49:08 -05:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
3f6f26788c Merge branch 'increase-space' into 'develop'
Increase space between icon and counter

See merge request soapbox-pub/soapbox-fe!1748
2022-08-24 13:47:34 +00:00
Justin
b5cf943f45 Increase space between icon and counter 2022-08-24 09:35:09 -04:00
Justin
2fded6daa9 Improve dark mode 2022-08-24 09:28:56 -04:00
Justin
1837dbef1c Merge branch 'self-status' into 'develop'
Support 'in review' sensitive content

See merge request soapbox-pub/soapbox-fe!1741
2022-08-23 18:33:14 +00:00
Alex Gleason
83103294d3
SafeEmbed: remove unnecessary conditional 2022-08-23 10:27:12 -05:00
Justin
fc78f8fa1a fix operator 2022-08-22 13:58:06 -04:00
Alex Gleason
c79506e1fd
SafeEmbed: autosize iframe height 2022-08-22 12:43:12 -05:00
Justin
347897cd9d Add custom support link 2022-08-22 13:23:37 -04:00
Justin
18afb586fa I18n 2022-08-22 13:18:52 -04:00
Alex Gleason
cddf70f0ab
Fix status style regressions 2022-08-22 12:11:01 -04:00
Justin
dd0f2fcf5b Support 'in review' sensitive content 2022-08-22 11:26:28 -04:00
Alex Gleason
c013dcf01b
EmbeddedStatus: add SiteLogo 2022-08-21 14:49:50 -04:00
Alex Gleason
54ff81afc6
StatusActionBar: only show embed option for local accounts 2022-08-21 12:44:58 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
33e13aa6e2
Status: fix position of reblogElementMobile 2022-08-21 11:29:53 -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
bc25e9d0f4 Merge branch 'status-fixes' into 'develop'
Status fixes

Closes #1068

See merge request soapbox-pub/soapbox-fe!1734
2022-08-14 13:18:31 +00:00
Alex Gleason
a0e79bfe10
StatusContainer: pass all props through, fix pinned posts not showing as pinned 2022-08-13 10:33:58 -05:00
Alex Gleason
19b6973667
Notifications: StatusContainer --> Status, fix not being able to mute a conversation 2022-08-13 10:27:12 -05:00
Alex Gleason
f751104c0f
StatusActionBar: hide DM menu item unless privacyScopes are enabled 2022-08-13 10:16:13 -05: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
12eeffecc4 Merge remote-tracking branch 'soapbox/develop' into cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 22:59:26 +02: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
d54b3b1ec6 Merge branch 'status-fc' into 'develop'
Status refactoring

See merge request soapbox-pub/soapbox-fe!1717
2022-08-12 14:55:38 +00: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
Alex Gleason
56568e2528
To crush your enemies, see them driven before you, and hear the lamentation of their women 2022-08-09 18:58:43 -05:00
Alex Gleason
d668bb370f
Fix Like button 2022-08-09 18:51:01 -05:00
Alex Gleason
168cee0636
StatusActionBar: fix styles in Thread 2022-08-09 18:49:05 -05:00
Alex Gleason
ca4821abf7
Nuke ActionBar component 2022-08-09 18:40:33 -05:00
Alex Gleason
518a813235
status_action_bar --> status-action-bar 2022-08-09 18:25:33 -05:00
Alex Gleason
4c7491d81d
Strip down StatusContainer, offload actions into Status component itself 2022-08-09 17:45:01 -05:00
Alex Gleason
522eba4b25
StatusActionBar: create toggle actions for status interactions 2022-08-09 17:05:55 -05:00
Alex Gleason
33fbb0f147
StatusActionBar: move action code directly into component, clean up 2022-08-09 14:34:08 -05:00
Alex Gleason
4970c6c307
StatusActionBar: convert to React.FC 2022-08-09 13:46:11 -05:00
Justin
bec42a3633 Visual tweaks for new branding 2022-08-09 11:50:10 -04:00
Justin
b87768967b Fix badge color and quoted status border 2022-08-09 11:47:29 -04:00
Alex Gleason
f87be8ce9a
Use StatusActionBar for both types of statuses 2022-08-08 23:21:18 -05:00
Alex Gleason
4edd28a08b
Clean up _properStatus() nonsense 2022-08-08 22:46:09 -05:00
Alex Gleason
82d717d8ce
Move getActualStatus logic to utils 2022-08-08 22:28:01 -05:00
Alex Gleason
89390083a9
Move textForScreenReader to utils/status 2022-08-08 21:42:07 -05:00
Alex Gleason
1cfc16c477
Status: convert to React.FC 2022-08-08 21:39:08 -05:00
Alex Gleason
85786bc07d
Delete unused SettingsCheckbox component 2022-08-08 17:44:12 -05:00
2e47180c08 Change color of edited status indicator icon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 17:40:05 +02:00
69c37c4594 Show 'public poll' label
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-08 12:48:42 +02:00
51190a9943 Refetch birthday reminders on midnight
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-05 14:49:21 +02:00
Alex Gleason
19ffcd2233
Merge remote-tracking branch 'origin/develop' into ads 2022-08-03 10:51:07 -05:00
Justin
9474afd765 Merge branch 'improve-branding-and-dark-mode' into 'develop'
Improve visuals with branding

See merge request soapbox-pub/soapbox-fe!1675
2022-08-03 12:56:57 +00:00
Alex Gleason
c74721f1e1
Ads: display tooltip 2022-08-02 20:52:27 -05:00
Alex Gleason
d26e814472 Merge branch 'empty-timeline' into 'develop'
ScrollableList: use Virtuoso's native EmptyComponent again, fix timeline pagination when items are filtered

See merge request soapbox-pub/soapbox-fe!1692
2022-08-02 13:53:18 +00:00
Alex Gleason
b02141874e
Show ads in feed 2022-08-01 22:49:16 -05:00
Justin
20209c81ab Improve visuals with branding
Co-authored-by: Alex Gleason <alex@alexgleason.me>
2022-08-01 14:40:07 -04:00
560f4592e7 Stream marker updates
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-01 18:31:49 +02: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
Alex Gleason
3082555c5f
ScrollableList: use Virtuoso's native EmptyComponent again, fix timeline pagination when items are filtered 2022-07-30 13:54:43 -05:00
Justin
cec3573253 Add support for shadow-3xl 2022-07-28 09:38:05 -04:00
Alex Gleason
0016bf1457
GdprBanner: fix multiline buttons 2022-07-26 13:54:19 -05:00
Justin
0b06731b07 Simplify the Banner width across usage 2022-07-26 14:22:13 -04:00
Alex Gleason
aab3497f46
Banner: improve mobile styles 2022-07-26 11:52:58 -05:00
Alex Gleason
f13cfcaf8c
GdprBanner: slideout on accept 2022-07-26 11:37:02 -05:00
Alex Gleason
4f0e104fc4
GdprBanner: conditionally show "Learn more" button 2022-07-26 11:15:04 -05:00
Alex Gleason
d422bdf3d3
Add GdprBanner component, remove useGdpr hook 2022-07-26 10:58:17 -05: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
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
Alex Gleason
5916041fec
Add useTheme hook 2022-07-22 17:25:52 -05:00
da1caf93dd For multi-response polls, show the number of people that voted instead of the sum of all votes submitted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-22 23:48:27 +02:00
Alex Gleason
8a392c187f
Add eslint-plugin-compat 2022-07-21 12:19:36 -05:00
b294769dfe Merge remote-tracking branch 'soapbox/develop' into styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-20 19:21:53 +02:00
Justin
c30e8f1fd9 Set the ref on the actual carousel div 2022-07-20 09:01:36 -04:00
f6900ed6ca Pullable: Remove pullingContent={undefined}
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 23:44:11 +02:00
marcin mikołajczak
5d45c5dd95 Merge branch 'chats-autosuggest' into 'develop'
Chats account autosuggest fixes

See merge request soapbox-pub/soapbox-fe!1651
2022-07-19 05:11:30 +00:00
4af99de109 Allow to clear BirthdayInput
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-19 00:11:12 +02:00
81e14962ca Chats account autosuggest fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-18 23:28:48 +02:00
marcin mikołajczak
9de46333b2 Merge branch 'hide-profile-tabs' into 'develop'
Hide tabs on Followers, Following… pages

See merge request soapbox-pub/soapbox-fe!1630
2022-07-18 15:41:01 +00:00
Justin
d8a1545ee8 Query account on hover for follow stats 2022-07-18 09:54:56 -04:00
448da6347a Fix: markdown dropped from quote replies
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-17 19:36:42 +02:00
marcin mikołajczak
c2d511bcd5 Merge branch 'announcements' into 'develop'
Announcements: Fix emoji url

See merge request soapbox-pub/soapbox-fe!1639
2022-07-16 20:36:24 +00:00
1eca63faa6 Announcements: Fix emoji url
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 22:24:27 +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
38066799e3 Merge remote-tracking branch 'soapbox/develop' into hide-profile-tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:31:32 +02:00
b57cecea8d Minor visual improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:27:52 +02:00
3d057daa43 Apply suggestions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-16 00:03:52 +02: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
489792e1f3 Merge branch 'ptr-fix' into 'develop'
Remove PullToRefresh from ScrollableList, wrap outer components instead

See merge request soapbox-pub/soapbox-fe!1633
2022-07-14 18:10:43 +00:00
Justin
150510bc8a Format number after changing country code 2022-07-14 14:08:59 -04:00
Alex Gleason
4b94bc8b5d
Merge remote-tracking branch 'origin/develop' into ptr-fix 2022-07-14 13:01:18 -05:00
Jason Hollis
4925e17d0c
Fixed grammar 2022-07-14 12:56:50 -04:00
Justin
07f6935789 Refactor dropdown into 'addon' on Input 2022-07-14 11:55:00 -04:00
marcin mikołajczak
0c13ecf10f Merge branch 'ts-notifications' into 'develop'
Notifications: TS

See merge request soapbox-pub/soapbox-fe!1628
2022-07-14 05:42:09 +00:00
Alex Gleason
f4f34cf585
Remove PullToRefresh from ScrollableList, wrap outer components instead 2022-07-13 20:13:37 -05:00
Alex Gleason
99c67916dd
PhoneInput: add some helpful comments 2022-07-13 19:50:07 -05:00
Alex Gleason
11a0329924
Fix pages that use PhoneInput 2022-07-13 19:08:19 -05:00
Alex Gleason
7f7edf9162
PhoneInput: improve styles 2022-07-13 18:45:42 -05:00
Alex Gleason
0591bf72a5
PhoneInput: remove unnecessary handleCountryChange function 2022-07-13 18:10:16 -05:00
Alex Gleason
ba98a8e82f
PhoneInput: prettify input while typing 2022-07-13 18:09:48 -05:00
Alex Gleason
f62dcc6650
Simplify PhoneInput to only care about its own internal state 2022-07-13 17:37:40 -05:00
3e6dc0cfe7 PinnedStatuses: TS, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-13 21:03:45 +02: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
0ed1c3ca83
Improve display of PhoneInput 2022-07-13 12:26:07 -05:00
Alex Gleason
85cf99f618
CountryCodeDropdown: use button element 2022-07-13 12:16:54 -05:00
Alex Gleason
a8c709b41c
Refactor formatPhoneNumber to accept countryCode 2022-07-13 11:40:02 -05:00
Alex Gleason
5c9cecf8c8
Add PhoneInput component 2022-07-13 09:42:58 -05:00
37d97eb857 Notifications: TS
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-11 23:27:43 +02:00
Alex Gleason
104c2305fb
CreateApp: convert to TSX+FC 2022-07-11 11:34:14 -05:00
f6a0d31b54 Disable announcements reactions on Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 23:35:22 +02:00