Commit graph

1646 commits

Author SHA1 Message Date
d1ab8c7cb6 fix edit action
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-10-01 11:41:50 +02:00
Alex Gleason
cc3e8ebd3b
MediaGallery: clean up unused code, rearrange useEffect 2022-09-30 18:11:05 -05:00
Alex Gleason
1069546b50
MediaGallery: convert to TSX+FC (first pass) 2022-09-30 18:05:23 -05:00
9b43ed7015 fixes, improvements, cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 23:20:58 +02:00
Alex Gleason
6d77e0327f
Make .emojione styles global again 2022-09-30 13:35:26 -05:00
Alex Gleason
d3683ab7ef
StatusContent: migrate more to css, fix SpoilerButton on dark theme 2022-09-30 13:15:37 -05:00
803dada3e0 Merge remote-tracking branch 'soapbox/develop' into events-
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-30 20:05:02 +02:00
Alex Gleason
0d5dfad8cc
Move StatusContent css into status-content.css 2022-09-30 12:59:52 -05:00
Justin
7fde4a0c5c Small UI improvements to chat 2022-09-30 10:22:55 -04:00
Justin
b8bbac31e5 Improve 'In Review' UX 2022-09-29 13:57:25 -04:00
Justin
0a8fa3e635 Add ability to report a Chat Message 2022-09-29 09:45:57 -04:00
Justin
002fef27a3 Add StatContext to store global stat state 2022-09-27 16:05:19 -04:00
Justin
058d0cec0b Merge remote-tracking branch 'origin/develop' into chats 2022-09-27 15:43:30 -04:00
Justin
63bd9a21fc Update spacing on Widgets 2022-09-26 15:23:51 -04:00
Justin
1d69b66e4b Use React Query for suggestions 2022-09-26 15:22:00 -04:00
04b4a57e06 Manage event
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-25 23:18:11 +02:00
fe7333ddb0 Information page, improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-09-21 23:27:53 +02:00
Alex Gleason
90c8096f9e
Merge remote-tracking branch 'origin/develop' into chats 2022-09-21 10:18:29 -05:00
Alex Gleason
39f682a472
Self status typofix 2022-09-19 14:04:51 -05:00
Alex Gleason
d7243c0e91
Merge remote-tracking branch 'origin/develop' into chats 2022-09-19 13:01:40 -05:00
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
b7b0ad06dc
Merge remote-tracking branch 'origin/develop' into update-emoji-mart 2022-07-09 15:21:17 -05:00
Alex Gleason
3874d1d9ef
Merge remote-tracking branch 'origin/develop' into feed-suggestions 2022-07-09 15:02:45 -05:00
ewwwwwwww
9770209f00 lint fixes 2022-07-09 10:02:21 -07: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
ewwwwwwww
bd9a33201a convert type to union 2022-07-09 08:31:31 -07:00
ewwwwwwww
485095e502 fixed types 2022-07-09 08:31:31 -07:00
ewwwwwwww
d98371bf6a migrate emoji types 2022-07-09 08:31:27 -07: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
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
328d3b9b59
Suggestion --> AutoSuggestion 2022-06-04 18:36:34 -05:00
Alex Gleason
318b9f0d3b
AutosuggestAccountInput: improve types 2022-06-04 18:35:04 -05:00
Alex Gleason
0ff1887fec
AutosuggestEmoji: convert to TSX 2022-06-04 18:29:58 -05:00
Alex Gleason
ba803e200c
AutosuggestInput: convert to TSX 2022-06-04 18:21:16 -05:00
Alex Gleason
e6c25a1887
AutosuggestAccountInput: convert to TSX 2022-06-04 17:47:40 -05:00
Alex Gleason
a261e02329
Chats: fix search results position on main pane 2022-06-04 17:23:25 -05:00
Alex Gleason
54b6df719c
Layout: fix compose block spacing 2022-06-04 15:58:41 -05:00
marcin mikołajczak
de2c9148eb Merge branch 'status-focus' into 'develop'
Focus on selected status in status list, add moveUp/moveDown hotkeys to tombstone

See merge request soapbox-pub/soapbox-fe!1494
2022-06-04 15:50:44 +00:00
d4cc2ab29b Focus on selected status in status list, add moveUp/moveDown hotkeys to tombstone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-04 15:20:19 +02:00
Alex Gleason
859bc9c3b5
ScollTopButton: disable smooth scrolling 2022-06-03 14:00:56 -05:00
Alex Gleason
d0130fb296
ScrollTopButton: fix tests, actually don't use shortNumberFormat for now (it messes up pluralization) 2022-06-03 13:16:22 -05: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
0a34bcfcba
StatusList: fix infinite scrolling
(apparently I don't understand how useCallback works)
2022-06-03 12:24:55 -05:00
Alex Gleason
526d8a1d83
ScrollableList: track the second item instead of the top one 2022-06-02 21:22:40 -05:00
Alex Gleason
606d6297a8
TimelineQueueButtonHeader: use shortNumberFormat 2022-06-02 20:59:34 -05:00
Alex Gleason
973d3064b5
TimelineQueueButtonHeader: fix tests 2022-06-02 20:46:18 -05:00
Alex Gleason
8baa4cd262
ScrollableList: clear scrollData useMemo if scrollKey changes 2022-06-02 20:40:39 -05:00
Alex Gleason
36fb7fea7d
ScrollableList: reset topOffset if node doesn't match 2022-06-02 20:37:51 -05:00
Alex Gleason
68e80aa7be
ScrollableList: nuke the overscan 2022-06-02 20:37:05 -05:00
Alex Gleason
a4a20ddbe6
ScrollableList: use debounce, not throttle 2022-06-02 20:36:49 -05:00
Alex Gleason
509b7b871b
ScrollableList: useMemo, useCallback, throttle, refactor, make it nice 2022-06-02 19:31:25 -05:00
Alex Gleason
aecf539581
ScrollableList: only restore scroll position when navigating back 2022-06-02 17:00:58 -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
Alex Gleason
8624dbd5f2
StatusList: improve imports 2022-06-02 14:03:02 -05:00
Alex Gleason
a185ad45cd
StatusList TypeScript fixes 2022-06-02 14:00:35 -05:00
Alex Gleason
d0d9c0b460
StatusList: convert to TSX 2022-06-02 13:35:08 -05:00
Alex Gleason
697c028c4a
TimelineQueueButtonHeader: convert to tsx 2022-06-01 20:47:28 -05:00
Alex Gleason
577c391417
ScrollableList: fix desync scroll position, add 200px overscan 2022-06-01 19:36:55 -05:00
Alex Gleason
3d605913e8
Preserve scroll position perfectly 2022-06-01 18:47:07 -05:00
Alex Gleason
28bd9b0f4b
StatusList: don't dequeue timeline on mount 2022-06-01 18:00:35 -05:00
Alex Gleason
8052d5040a
ScrollableList: delete unused scrollerRef 2022-06-01 18:00:09 -05:00
Alex Gleason
e4b95534dc
Merge remote-tracking branch 'origin/develop' into scroll-position 2022-06-01 14:29:45 -05:00
Justin
1ede064457 Use white text on dark inputs 2022-06-01 14:18:01 -04:00
Alex Gleason
9772aa0d9c
Status: remove unused imports 2022-05-31 13:22:58 -05:00
Alex Gleason
fb9acf4d64
QuotedStatus: use StatusMedia component 2022-05-31 13:11:50 -05:00
Alex Gleason
62d432a65d
Status: clean up now unused media methods, etc 2022-05-31 12:32:59 -05:00
Alex Gleason
ba8379c753
Break out StatusMedia into a separate component 2022-05-31 12:31:08 -05:00
marcin mikołajczak
8304f25577 Merge branch 'styles-cleanup' into 'develop'
Remove unused styles?

See merge request soapbox-pub/soapbox-fe!1476
2022-05-31 16:15:50 +00:00
cd87b5262c Remove unused styles?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-31 14:55:31 +02:00
Alex Gleason
b02c80341b
ReplyIndicator: convert to TSX 2022-05-30 14:05:15 -05:00
beb7b8e713 TypeScript, FC
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 18:44:32 +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
afe670b8fc Use BirthdayInput on Edit profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-27 19:14:21 +02:00
b54396588e Add outline in some places
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-25 18:00:13 +02:00
Alex Gleason
66a113b61a
d-screen: fall back to h-screen 2022-05-24 15:31:46 -04:00
Alex Gleason
2c69cc5de4 Merge branch 'loading' into 'develop'
Pageload improvements

Closes #976

See merge request soapbox-pub/soapbox-fe!1441
2022-05-24 18:17:39 +00:00
Justin
f2164f09d4 Add d-screen Tailwind utility 2022-05-24 13:45:00 -04:00
marcin mikołajczak
a7992addbd Merge branch 'i18n--' into 'develop'
Avoid inline message definitions

See merge request soapbox-pub/soapbox-fe!1444
2022-05-24 15:38:10 +00:00
38b3b7150f string | React.ReactNode -> React.ReactNode
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 17:16:07 +02:00
marcin mikołajczak
788f6111a4 Merge branch 'scheduled-fixes' into 'develop'
Scheduled statuses: TypeScript, fix styles

Closes #977

See merge request soapbox-pub/soapbox-fe!1442
2022-05-24 15:14:59 +00:00
682d2a3647 Avoid inline message definitions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 12:24:26 +02:00
marcin mikołajczak
9030b93c5b Merge branch 'sidebar-links' into 'develop'
Fix external links in sidebar/sidenav

See merge request soapbox-pub/soapbox-fe!1361
2022-05-23 19:41:00 +00:00
58ddda8246 Remove Invites link from sidebar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-23 21:20:38 +02:00
73c4457f28 Scheduled statuses: TypeScript, fix styles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-23 21:14:42 +02:00
Alex Gleason
2b7f4694da
LoadingScreen: bump up spinner vertically to counteract optical illusion 2022-05-22 13:27:08 -05:00
Alex Gleason
c729f30efa Merge branch 'loading-screen' into 'develop'
Refactor SoapboxMount

See merge request soapbox-pub/soapbox-fe!1436
2022-05-20 21:20:20 +00:00
beef2de673 Merge remote-tracking branch 'soapbox/develop' into hotkey-nav
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-20 21:00:42 +02:00
marcin mikołajczak
28c7a87913 Merge branch 'formatted-lists' into 'develop'
Use FormattedList for 'Replying to'

See merge request soapbox-pub/soapbox-fe!1396
2022-05-20 18:58:34 +00:00
Alex Gleason
f0ba5a5a8c
SoapboxMount: load onboarding flow async, refactor 2022-05-20 13:13:17 -05:00
Alex Gleason
84b04250ac
Add LoadingScreen for fullscreen, theme-specific loading 2022-05-20 12:20:31 -05:00
Alex Gleason
f0cab57ae8 Merge branch 'whitescreen' into 'develop'
SoapboxMount: display a spinner while API requests are loading

Closes #967

See merge request soapbox-pub/soapbox-fe!1424
2022-05-20 15:22:10 +00:00
Alex Gleason
1fb9525635
Merge remote-tracking branch 'origin/develop' into scroll-position 2022-05-19 20:09:56 -05:00
Alex Gleason
533c356d60
ScrollableList: preserve index rather than scrollTop 2022-05-19 20:03:52 -05:00
Alex Gleason
c3ef55613d Merge branch 'infinite-scroll-suggestions' into 'develop'
Add infinite scroll to suggestions onboarding

See merge request soapbox-pub/soapbox-fe!1430
2022-05-19 21:18:49 +00:00
Alex Gleason
ba0b4851f6
ScrollableList: save and restore scroll position 2022-05-19 16:09:22 -05:00
Alex Gleason
362f7520ae
Fix Tombstone margins in threads, fixes #971 2022-05-19 12:42:01 -05:00
Justin
c6c65a0d48 Add infinite scroll to suggestions onboarding 2022-05-19 12:29:28 -04:00
Alex Gleason
93187c8eed
SoapboxMount: display a spinner while API requests are loading 2022-05-18 14:38:49 -05:00
Justin
b3d2306aaf Merge branch 'improve-test-coverage-for-trends' into 'develop'
Improve Trends test coverage

See merge request soapbox-pub/soapbox-fe!1416
2022-05-18 18:41:32 +00:00
Justin
bfe96be123 Merge branch 'improve-test-coverage-for-account' into 'develop'
Improve Account test coverage

See merge request soapbox-pub/soapbox-fe!1417
2022-05-18 18:41:23 +00:00
Justin
3ceb3a1d01 Merge branch 'waitlist-improvements' into 'develop'
Allow waitlisted users to verify their SMS

See merge request soapbox-pub/soapbox-fe!1422
2022-05-18 18:41:12 +00:00
Justin
54ef361bcc Allow waitlisted users to verify their SMS 2022-05-18 14:11:18 -04:00
f33e491c0c Make 'Switch accounts' string translatable
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-18 14:49:35 +02:00
Justin
506b962421 Improve Account test coverage 2022-05-17 13:11:22 -04:00
Justin
330bf8e74d Improve Trends test coverage 2022-05-17 12:47:32 -04:00
marcin mikołajczak
e61cf05a0d Merge branch 'hotkey-modal' into 'develop'
Restyle hotkeys modal

See merge request soapbox-pub/soapbox-fe!1411
2022-05-17 15:45:38 +00:00
marcin mikołajczak
417ac96ffb Restyle hotkeys modal 2022-05-17 15:45:38 +00:00
Justin
25f865272f Merge branch 'convert-display-name' into 'develop'
Convert display-name to TS

See merge request soapbox-pub/soapbox-fe!1375
2022-05-17 15:23:24 +00:00
Justin
990214d02c Convert 'AttachmentThumbs' to TSX 2022-05-17 10:03:37 -04:00
Justin
4c5bff2fb5 Remove unused ColumnBackButton component 2022-05-17 09:46:55 -04:00
721772b08f Fix hotkey navigation?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-17 15:09:53 +02:00
Alex Gleason
1fbde6bf66 Merge branch 'soapbox-config-file' into 'develop'
SoapboxConfig: use new FileInput

See merge request soapbox-pub/soapbox-fe!1402
2022-05-17 10:44:38 +00:00
Alex Gleason
a939d972c7
Tombstone: improve design 2022-05-16 21:30:30 -05:00
Alex Gleason
673b4a38b9
SoapboxConfig: use new FileInput 2022-05-16 18:33:44 -05:00
Justin
1d9cdb4645 Use 'primary' background on link button 2022-05-16 17:33:21 -04:00
Justin
74058a3a36 Dasherize file name 2022-05-16 14:34:17 -04:00
eecbbb839a Use FormattedList for 'Replying to'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 20:30:42 +02:00
Justin
008b51eef1 Merge branch 'ui-improvements' into 'develop'
Ui improvements

See merge request soapbox-pub/soapbox-fe!1394
2022-05-16 16:27:49 +00:00
Alex Gleason
91ec3b97a2 Merge branch 'sidenav-icon' into 'develop'
SidebarNavigationLink: use counter from icon component

See merge request soapbox-pub/soapbox-fe!1393
2022-05-16 16:21:35 +00:00
Justin
353030cde6 bump icon size 2022-05-16 12:01:13 -04:00
Alex Gleason
d6053f0789 Merge branch 'left-sidebar' into 'develop'
Rearrange SidebarNavigation

See merge request soapbox-pub/soapbox-fe!1372
2022-05-16 15:55:46 +00:00
Justin
857c63f2f5 Add FileInput component 2022-05-16 11:40:32 -04:00
Alex Gleason
5b00d1de13
SidebarNavigationLink: use counter from icon component 2022-05-16 10:32:00 -05:00
Justin
a2c72ab457 Center compose textarea 2022-05-16 11:21:35 -04:00
Justin
7b9db5299a Lint 2022-05-16 11:21:17 -04:00
Kevin Brown
6bf0d5847b
Convert display-name to TS 2022-05-16 10:52:39 -04:00
Justin
31b7f8425f Merge branch 'improve-sidebar' into 'develop'
Improve sidebar link design

See merge request soapbox-pub/soapbox-fe!1390
2022-05-16 13:22:37 +00:00
Justin
4c31cf2ba1 Improve sidebar link design 2022-05-16 09:06:28 -04:00
Alex Gleason
2a12e29235
SiteLogo: never, under any circumstances, squish the logo 2022-05-15 22:30:48 -05:00
30017d62c9 Use arrow-left for ReplyMentionsModal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-15 09:06:40 +02:00
Alex Gleason
1307b436b1
Focus the active item in the thread 2022-05-13 20:23:03 -05:00
Justin
de1d630daa Add login form to navbar 2022-05-12 17:02:29 -04:00
Alex Gleason
938665f157 Merge branch 'thread-cta' into 'develop'
Display a CTA in threads to log in

See merge request soapbox-pub/soapbox-fe!1353
2022-05-12 20:36:56 +00:00
Justin
086acccbf4 Add dynamic help links to landing page 2022-05-12 15:41:37 -04:00
Alex Gleason
c7375a2e01
Merge remote-tracking branch 'origin/develop' into thread-cta 2022-05-12 14:41:16 -05:00
Justin
fe77a22da2 Merge branch 'report-rule-types' into 'develop'
Account for different 'rule_type' on rules

See merge request soapbox-pub/soapbox-fe!1350
2022-05-12 19:29:00 +00:00
Alex Gleason
80f5c75a1a Merge branch 'site-logo' into 'develop'
Replace logos with SiteLogo component, fixes #937

Closes #937

See merge request soapbox-pub/soapbox-fe!1356
2022-05-12 19:22:46 +00:00
Alex Gleason
19e59e897a Merge branch 'eslint-jsdoc' into 'develop'
eslint: enforce jsdoc comments on UI components

See merge request soapbox-pub/soapbox-fe!1357
2022-05-12 19:20:34 +00:00
Justin
3dce8ee95a Pass through props like 'strokeWidth' to SvgIcon 2022-05-12 14:53:53 -04:00
5149ed1342 Fix external links in sidebar/sidenav
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-12 19:16:59 +02:00
Alex Gleason
d0ecdae9f3
SidebarNavigationLink: add jsdoc comments 2022-05-12 11:55:13 -05:00
Alex Gleason
2bd468358b
Rearrange SidebarNavigation 2022-05-12 11:38:01 -05:00
Alex Gleason
530b2838f3
Replace questionable icons 2022-05-12 07:56:22 -05:00
Alex Gleason
b0b0d5a76e
eslint: enforce jsdoc comments on UI components 2022-05-11 21:08:04 -05:00
Alex Gleason
71e114d049
SiteLogo: fall back to Soapbox logo instead of Tabler's home.svg 2022-05-11 20:47:39 -05:00
Alex Gleason
01ec7bc279
Replace logos throughout the UI with SiteLogo component 2022-05-11 19:54:23 -05:00
Alex Gleason
54dfb0e23e Merge branch 'eslint-spacing' into 'develop'
eslint: enforce spacing of imports (and infix ops)

See merge request soapbox-pub/soapbox-fe!1351
2022-05-11 21:26:59 +00:00
Alex Gleason
b64be353cc
eslint: indent switch statements 2022-05-11 16:06:35 -05:00
Alex Gleason
67853f6efa
SidebarNavigation: use the bell icon 2022-05-11 15:37:15 -05:00
Alex Gleason
6a270a8e6d
SidebarNavigation: display follow requests counter 2022-05-11 15:35:33 -05:00