Commit graph

1471 commits

Author SHA1 Message Date
Alex Gleason
1e6993975c Merge branch 'delete-modal-fix' into 'develop'
Fix account deletion modal

See merge request soapbox-pub/soapbox!1794
2022-09-17 21:33:37 +00:00
640000c18e Merge remote-tracking branch 'soapbox/compose' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:42:30 +02:00
f6af663e09 Merge remote-tracking branch 'soapbox/develop' into HEAD
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-16 20:39:13 +02:00
Alex Gleason
ca4a5370c1
OutlineBox: allow passing div props through 2022-09-16 13:34:53 -05:00
Alex Gleason
7fe97e8075
QuotedStatus: move testId to highest component 2022-09-16 12:44:11 -05:00
Alex Gleason
2eb08aced9
Create OutlineBox component
Visual container for QuotedStatus and Accounts in some scenarios
2022-09-16 12:24:33 -05:00
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
Justin
45afb665b9 Add chat settings to chat main page 2022-09-13 14:11:22 -04:00
Justin
56c617bd32 Merge branch 'alex-chats' into chats 2022-09-12 14:50:02 -04:00
Justin
81bfc06990 Add tests 2022-09-12 14:42:15 -04: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
f7c09461fd Event pages?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-09 22:52:32 +02:00
Justin
e333a5042e Merge branch 'chats' into alex-chats 2022-09-08 08:37:58 -04:00
Justin
6b38e37019 Merge remote-tracking branch 'origin/develop' into chats 2022-09-08 08:37:52 -04: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
3f4f820de7 Participation management
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-07 20:03:26 +02: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
3f7e593695 Merge remote-tracking branch 'soapbox/develop' into events- 2022-09-06 23:31:43 +02:00
8527384479 Display event previews
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-06 23:30:43 +02: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
df39036129 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-05 15:07:31 +02:00
9d3206f229 Allow users to create events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-04 23:36:13 +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
90ece157e6
ChatIndex: improve the desktop layout 2022-09-01 13:17:31 -05:00
Alex Gleason
471ee4d179
Rename chats to messages 2022-09-01 13:17:30 -05: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
Justin
7535862a40 Autogrow the textarea 2022-08-31 13:22:41 -04:00
Justin
0f7cfada50 Improve dark mode of chats 2022-08-31 13:21:43 -04:00
Justin
a2e2d60fc7 Add Message List Intro component 2022-08-31 13:21:43 -04:00
Justin
ea5525d02c Refactor leave/report chat 2022-08-31 13:21:43 -04:00
Justin
84dc06db42 d 2022-08-31 13:20:54 -04:00
Justin
27df2b617e Update Input with append and prepend props 2022-08-31 13:20:53 -04:00
Justin
f0b3cc67aa Add "items-start" support to Stack 2022-08-31 13:20:53 -04:00
Justin
2f568ffc84 Extend Textarea component with resizeable prop 2022-08-31 13:20:53 -04: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
724fe8b765 statuses links
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-10 00:15:14 +02:00
1805dec968 remove onLinkClick
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-07-09 23:59:41 +02: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
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
Alex Gleason
334857045a Merge branch 'emoji-button' into 'develop'
Emoji reacts: show the emoji you reacted with on the button

See merge request soapbox-pub/soapbox-fe!1571
2022-07-07 16:10:59 +00: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
Justin
725b00039d Merge branch 'subscription-feedback' into 'develop'
Improve UX after subscribing to account if web notifications are disabled

See merge request soapbox-pub/soapbox-fe!1608
2022-07-07 01:01:58 +00:00
Alex Gleason
afe1edddf9
rootReducer(undefined, {} as any) --> rootState 2022-07-06 17:22:11 -05:00
Justin
2f465fbc14 Use same value as 'showProfileHoverCard' 2022-07-06 14:30:06 -04:00
Justin
b9d05f546c Lint 2022-07-06 14:30:06 -04:00
Justin
da98a1e137 Build Feed Suggestions 2022-07-06 14:30:06 -04:00
Justin
1309521b9c Improve Stack and HStack components 2022-07-06 14:30:06 -04:00
Justin
f148cda74a Extend Account component 2022-07-06 14:30:03 -04:00
Justin
b2f2bcb833 Center tooltips and add arrow 2022-07-06 14:19:51 -04:00
Justin
3f74455484 Improve UI of IconButton when disabled 2022-07-06 14:19:42 -04:00
Alex Gleason
2dd1631162
More component test TS fixes 2022-07-06 13:12:35 -05:00
Alex Gleason
590e85ac59
Fix notification test types 2022-07-06 12:24:45 -05:00
Alex Gleason
db953b1ec2 Merge branch 'account-grow' into 'develop'
Account: don't grow more than needed

Closes #891 and #1017

See merge request soapbox-pub/soapbox-fe!1601
2022-07-06 15:07:45 +00:00
Alex Gleason
bae21c9e00
Datepicker: fix test failing due to date matching today 2022-07-05 11:53:05 -05:00
Alex Gleason
62ea445da5
StatusActionButton: use a black/white counter if emoji is present 2022-07-04 17:24:18 -05:00
Alex Gleason
82376d4b66
Merge remote-tracking branch 'origin/develop' into emoji-button 2022-07-04 16:52:59 -05:00
Alex Gleason
01b3223886
Account: don't grow more than needed 2022-07-04 15:13:19 -05:00
Alex Gleason
02f0c15a8c
Modal: remove overflow-hidden 2022-07-04 13:54:57 -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
9a207c970f TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-30 16:51:36 +02:00
Justin
d4facbd3f5 Lint 2022-06-30 08:51:35 -04: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
marcin mikołajczak
891e844792 Merge branch 'poll-hint' into 'develop'
Polls: Hide multiple options hint if already voted

See merge request soapbox-pub/soapbox-fe!1587
2022-06-30 12:15:16 +00:00
baaffa2d85 Allow up/down hotkey navigation in posts search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:50:45 +02:00
60f6bff306 Polls: Hide multiple options hint if already voted
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-29 23:05:26 +02: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
Justin
8c581fc415 Skip dequeue when feed filtering 2022-06-29 11:10:00 -04:00
Justin
14a9a2f4eb Update UI around Empty Message 2022-06-29 11:10:00 -04:00
Justin
5884d02e9d Add "8" to HStack space options 2022-06-29 11:10:00 -04:00
Alex Gleason
0afa42502f
ScrollTopButton: fix autoloading timelines 2022-06-28 19:23:25 -05:00
Alex Gleason
b96148c9a4 Merge branch 'poll-rounded' into 'develop'
Polls: handle long option text better with rounded-3xl

Closes #1006

See merge request soapbox-pub/soapbox-fe!1569
2022-06-27 14:49:12 +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
Alex Gleason
d9b14c6079
StatusActionButton: show selected emoji 2022-06-25 14:45:00 -05:00
Alex Gleason
8161009d5f
StatusContent: memoization performance enhancements 2022-06-25 12:00:00 -05:00
Alex Gleason
7e365897bb
Polls: handle long option text better with rounded-3xl 2022-06-25 11:42:32 -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
4e545f0638 Reducers: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-24 00:33:23 +02:00
Justin
11f8bf979a Improve RelativeTimestamp theme 2022-06-23 14:22:25 -04:00
Alex Gleason
df0fc3c1e1
RelativeTimestamp: make text muted 2022-06-22 16:34:57 -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
55892e0a82
Poll: convert vote to string 2022-06-21 11:25:20 -05: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
Justin
4ff54095fd Add help text for selecting multiple 2022-06-21 07:35:19 -04:00
Alex Gleason
04d7a161cd
Merge remote-tracking branch 'origin/develop' into hoverstatus 2022-06-20 17:39:41 -05:00
Alex Gleason
729cf6f6f6
ProfileHoverCard: z-[100] no longer necessary 2022-06-20 17:37:56 -05:00
Alex Gleason
3e531b6827
Disallow status card nested hovering 2022-06-20 17:37:20 -05:00
Alex Gleason
01e643e4f6
StatusHoverCard: ahh, I understand the z-index issue 2022-06-20 17:28:59 -05:00
Alex Gleason
c78e398dad
StatusHoverCard: fix useEffect conditional 2022-06-20 17:20:51 -05:00
Alex Gleason
f1f6892d92
StatusHoverCard: prefer attachment thumbs 2022-06-20 17:06:48 -05:00
Alex Gleason
0292e4f428
StatusHoverCard: fix lint stuff, cleanup 2022-06-20 17:04:57 -05:00
Alex Gleason
2d3d834a83
StatusReplyMentions: linter fixes 2022-06-20 16:51:25 -05:00
Alex Gleason
f1023b3f80
ProfileHoverCard: set z-index with Tailwind class 2022-06-20 16:49:23 -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
ewwwwwwww
1d79b59bbc fix z-index 2022-06-19 15:50:51 -07:00
4719cf6b5b Actions: TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-19 21:26:57 +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
ewwwwwwww
ba086918b2 fix reply hover oopsie 2022-06-17 13:24:52 -07:00
Alex Gleason
6459096b58
ChatWindow: convert to TSX 2022-06-17 14:39:53 -05:00
ewwwwwwww
3299d0b972 fix reply hover blocking bug 2022-06-17 12:39:17 -07:00
Alex Gleason
46c1185dad
Create generic UploadProgress component, have composer use it 2022-06-17 13:42:21 -05: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
2f4f2c02b1 Dark mode support for Polls 2022-06-16 14:22:00 -04:00
Justin
dcde237fc9 Add test for handling the Refresh button 2022-06-16 11:40:58 -04:00
Justin
a66814d11d Add tests for PollFooter 2022-06-16 09:20:33 -04:00
Justin
06888b8ebc Undo some accidental changes 2022-06-16 09:08:58 -04:00
Justin
b124705bfd Refactor polls 2022-06-16 09:08:58 -04:00
Justin
fb9796b0c4 Redesign Poll within Status 2022-06-16 09:08:58 -04:00
Justin
e39c8d6713 Add danger-link button 2022-06-14 14:17:35 -04:00
marcin mikołajczak
aec85d6db7 Merge branch 'editing-confirmation' into 'develop'
Change confirmation modal for edited posts

See merge request soapbox-pub/soapbox-fe!1523
2022-06-13 12:07:13 +00:00
7b5114a1b8 prefer TypeScript for tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 23:07:06 +02:00
e78108efe2 TypeScript
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 20:15:34 +02:00
cdbb88d2e0 TypeScript, React.FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-12 16:14:46 +02:00
921d7c1935 Change confirmation modal for edited posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-11 23:36:40 +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
marcin mikołajczak
76bdb3b148 Merge branch 'reactions-modal' into 'develop'
Reactions modal fixes

See merge request soapbox-pub/soapbox-fe!1516
2022-06-10 16:14:32 +00:00
Justin
1b88f2f36e Fix test 2022-06-09 15:53:03 -04:00
Justin
a8b738a719 Add to other Password inputs 2022-06-09 15:51:50 -04:00
7578ca2ee0 Merge remote-tracking branch 'soapbox/develop' into ts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 21:49:25 +02: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
Justin
4fc43afe1b Add new ValidationCheckmark component 2022-06-09 13:45:09 -04:00
Justin
c2551b9e35 Revert commit for poll design
This reverts commit 2a29a050a6.
2022-06-09 11:49:17 -04:00
Justin
2a29a050a6 d 2022-06-09 09:43:37 -04:00
Justin
2c3bfefa4c Small UX improvements 2022-06-09 09:43:37 -04:00
Justin
6b07a7c3b6 Dark mode support for Polls 2022-06-09 09:43:37 -04:00
Justin
3dc60f2cd8 Add Divider 2022-06-09 09:43:36 -04:00
Justin
7782c96ba4 Improve design of the Poll Form 2022-06-09 09:43:17 -04: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
Justin
cedbc468bd Merge branch 'improve-datepicker' into 'develop'
Add new custom datepicker for improved UX

See merge request soapbox-pub/soapbox-fe!1507
2022-06-08 17:12:54 +00: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
8a6ba4f048
Add basic QuotedStatus test 2022-06-08 11:25:41 -05:00
Alex Gleason
f3178ac911
Move/rename QuotedStatus file 2022-06-08 11:07:41 -05:00
Justin
5900068144 Use new Datepicker on AgeVerification step 2022-06-08 12:06:05 -04:00
Justin
165a4cc469 Add new Datepicker component 2022-06-08 12:05:41 -04: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
Alex Gleason
735d04b007
QuotedStatus: properly display sensitive media 2022-06-07 14:26:12 -05:00
Alex Gleason
edffe9a837
SensitiveButton: use UI components 2022-06-07 13:55:34 -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
Alex Gleason
ddd0cc2d27 Merge branch 'tsx-conversions' into 'develop'
TSX conversions

See merge request soapbox-pub/soapbox-fe!1495
2022-06-06 18:57:06 +00:00
Alex Gleason
7e7dd19b02 Merge branch 'chats-fixes' into 'develop'
Small chats fixes & TSX conversions

See merge request soapbox-pub/soapbox-fe!1496
2022-06-06 18:31:27 +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