Commit graph

4129 commits

Author SHA1 Message Date
Justin
3a48082dc9 Remove old React Query stuff 2022-08-31 13:20:54 -04:00
Justin
2c6c281568 Add "useDebounce" hook 2022-08-31 13:20:53 -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
Justin
2aab3bb736 Change translations for chat 2022-08-31 13:20:53 -04:00
Alex Gleason
58322862e4 Make chat panes REALLY BIG 2022-08-31 13:20:53 -04:00
Alex Gleason
0b4fc43172 Chats: break out Pane into a UI component 2022-08-31 13:20:53 -04:00
Justin
f16da850fd Add React Query 2022-08-31 13:20:53 -04:00
Alex Gleason
b67c454144
findAccountByUsername: safely check account?.acct 2022-08-31 10:18:13 -05:00
03d6211e1c Replace classnames with clsx
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-31 11:35:06 +02:00
marcin mikołajczak
7f99568c73 Merge branch 'close-compose-modal' into 'develop'
Consistent behavior of compose modal close confirmation

See merge request soapbox-pub/soapbox-fe!1758
2022-08-31 04:56:20 +00: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
27581fa776
Ads: fix expiry filter logic 2022-08-30 08:57:44 -05:00
Alex Gleason
7d5a8ecf6f Merge branch 'drop-fe' into 'develop'
Soapbox FE --> Soapbox

See merge request soapbox-pub/soapbox-fe!1754
2022-08-30 00:22:40 +00:00
Alex Gleason
5fec9c580b
Soapbox FE --> Soapbox 2022-08-29 11:20:56 -05:00
Alex Gleason
4f11f3288d
Ad: add missing jsx comment 2022-08-29 11:11:11 -05:00
Alex Gleason
194cf89dd9
Ads: bust query-cache when an ad expires 2022-08-26 13:58:02 -05:00
Alex Gleason
d5a066050f
Ads: move isExpired to tested utils function 2022-08-26 10:14:56 -05:00
Alex Gleason
f4af1687bf
Filter out expiring ads 2022-08-26 09:48:49 -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
Justin
7191c2af72 Merge branch 'fetch-relationships' into 'develop'
Fetch relationships when opening favourites/reblogs modal

See merge request soapbox-pub/soapbox-fe!1750
2022-08-26 12:50:51 +00:00
Alex Gleason
954e02067e
Remove unused import from features/forms 2022-08-25 21:39:35 -05:00
Alex Gleason
764b2302d9
Embeds: enable for TruthSocial 2022-08-25 21:31:03 -05:00
Alex Gleason
9c7274ee01
Delete legacy CopyableInput component 2022-08-25 21:29:46 -05:00
Alex Gleason
82aad21900
CopyableInput: oh yeah, make the input actually copy 2022-08-25 21:28:20 -05:00
Alex Gleason
48ba485a0d
CryptoAddress: use new CopyableInput component 2022-08-25 21:23:17 -05:00
Alex Gleason
3909c74c00
Add new CopyableInput component, use in EmbedModal 2022-08-25 21:21:03 -05:00
Alex Gleason
5a6dcf0c4d
Embeds: render embeds before anything else 2022-08-25 20:32:18 -05:00
Alex Gleason
c311ac4f80
Sentry: actually, filter out all AbortErrors 2022-08-25 14:17:23 -05:00
Alex Gleason
f8f8b4f2b9
Sentry: filter out useless events, tag ErrorBoundary page crashes 2022-08-25 13:49:08 -05:00
Justin
d4bcdd821c Lint 2022-08-25 09:19:09 -04:00
Justin
edce9d0876 Fetch relationships when opening favourites/reblogs modal 2022-08-25 09:16:47 -04:00
Justin
b443c1c6ae Improve formatting of short numbers 2022-08-24 14:46:40 -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
8f176f4d72 Add back spacing to Card 2022-08-24 08:40:25 -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
marcin mikołajczak
049a40a6a6 Merge branch 'language-pl' into 'develop'
Update Polish translation

See merge request soapbox-pub/soapbox-fe!1744
2022-08-23 18:23:26 +00:00
fa20f7092c Update Polish translation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-23 20:11:19 +02:00
fd1ca839cb Śledzić -> obserwować
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-23 19:41:35 +02:00
4b1be99639 this should be a HStack, actually
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-23 18:39:34 +02:00
Alex Gleason
6ea4129cb7
EmbedModal: use Divider component 2022-08-23 10:40:39 -05:00
Alex Gleason
058746103f
EmbeddedStatus: move history.block() into useEffect 2022-08-23 10:30:29 -05: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
Alex Gleason
f1248018e6
EmbeddedStatus: improve size of SiteLogo and background color 2022-08-22 12:26:01 -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
2e6b826c46
EmbedModal: improve dark mode styles 2022-08-22 12:12:18 -05:00
Alex Gleason
75b015d608
embed_modal.tsx --> embed-modal.tsx 2022-08-22 12:09:01 -05:00
Alex Gleason
393f6a9b60
EmbedModal: improve styling 2022-08-22 12:08:30 -05:00
Alex Gleason
2780027363
Merge remote-tracking branch 'origin/develop' into embedded-status 2022-08-22 12:12:27 -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
Justin
8fbe8a90e0 Use current trends for hashtag searching in composer 2022-08-22 10:16:25 -04:00
Alex Gleason
6e5689e3a3
EmbedModal: allow-scripts 2022-08-21 15:08:05 -04:00
Alex Gleason
2cc8dcd69c
EmbeddedStatus: set SiteLogo max width 2022-08-21 15:06:20 -04:00
Alex Gleason
c013dcf01b
EmbeddedStatus: add SiteLogo 2022-08-21 14:49:50 -04:00
Alex Gleason
9ca87c1eec
EmbeddedStatus: listen for embed.js iframe events and autosize height 2022-08-21 14:32:54 -04:00
Alex Gleason
7f7f9a6fae
EmbeddedStatus: open URL in new tab on click 2022-08-21 13:54:59 -04:00
Alex Gleason
9fb9523a4e
EmbeddedStatus: block navigation 2022-08-21 13:32:51 -04:00
Alex Gleason
54ff81afc6
StatusActionBar: only show embed option for local accounts 2022-08-21 12:44:58 -04:00
Alex Gleason
491c0e9152
EmbedModal: react-query, add useEmbed 2022-08-21 12:37:14 -04:00
Alex Gleason
0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component 2022-08-21 12:22:06 -04:00
Alex Gleason
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
67e8d6a0cd Use account.acct in push notification URLs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-18 20:05:25 +02:00
259760311e Dark theme for consumers list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-18 16:32:50 +02:00
Justin
35d32e7391 Handle dyanmic error message of API 2022-08-16 09:48:58 -04:00
Alex Gleason
5dc5407c12
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-15 12:10:54 -05:00
marcin mikołajczak
ffba24bc94 Minor styles improvements
Signed-off-by: marcin mikołajczak <me@mkljczk.pl>
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-15 15:02:08 +02:00
62d90d9a8f Fetch accounttimeline when switching tabs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-14 19:01:44 +02: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
7b75faf74c
Notifications: actually, do still use the legacy StatusContainer as it does a selector we need 2022-08-13 10:40:56 -05: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
30df3808e7
ConsumerButton: use 'outlined' theme 2022-08-13 09:40:51 -05:00
Alex Gleason
5b2894cd8d
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-13 09:39:32 -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
Alex Gleason
34b7aad6dd Merge branch 'status-page-tsx' into 'develop'
StatusPage: convert to TSX

See merge request soapbox-pub/soapbox-fe!1728
2022-08-13 14:08:51 +00:00
marcin mikołajczak
67f5f5fb8b Merge branch 'cleanup' into 'develop'
Use Array.includes instead of indexOf

See merge request soapbox-pub/soapbox-fe!1727
2022-08-12 22:07:19 +00:00
marcin mikołajczak
6c54d50839 Merge branch 'feed-carousel-conditional' into 'develop'
Move condition for FeedCarousel to HomePage

Closes #1066

See merge request soapbox-pub/soapbox-fe!1732
2022-08-12 22:07:16 +00:00
771abfb8fb Move condition for FeedCarousel to HomePage
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:25:45 +02:00
541521ae6f Restore hotkey navigataion for statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-08-12 23:21:44 +02: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
ee754915aa
EmbeddedStatus: make it unclickable 2022-08-12 13:31:05 -05:00
Alex Gleason
5f8a22b452
Native status embeds from Soapbox 2022-08-12 12:58:35 -05:00
marcin mikołajczak
aa5b5dbaf6 Merge branch 'edits-notification' into 'develop'
Add more context to post edit notification

See merge request soapbox-pub/soapbox-fe!1726
2022-08-12 16:12:52 +00:00
Alex Gleason
7615111eb0
IconButton: add themes 2022-08-12 10:42:26 -05:00
Alex Gleason
5386135112
WrappedRoute: fix PageProps type to include children 2022-08-12 10:22:30 -05:00
Alex Gleason
e402660bc1
StatusPage: convert to TSX 2022-08-12 10:15:21 -05:00
Alex Gleason
9cd19c2003
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies 2022-08-12 10:10:36 -05:00
Alex Gleason
0466c97863
Merge remote-tracking branch 'origin/develop' into account-refactoring 2022-08-12 10:01:23 -05:00
Alex Gleason
cb984bd925
Header: hide DM menu item unless privacyScopes are available 2022-08-12 10:01:02 -05:00