Commit Graph

11766 Commits

Author SHA1 Message Date
Alex Gleason b03c29c371 Merge branch 'new-status-list-bookmark' into 'main'
Checkpoint/Feature: Rewrite Bookmark component  and all of its children

See merge request soapbox-pub/soapbox!3289
2024-12-09 15:55:51 +00:00
P. Reis 2da74399b1 refactor(ReplyIndicator): add help text 2024-12-06 18:07:19 -03:00
P. Reis c25e5d5456 checkpoint/fix: show missing posts by importing them with old reducer, importFetchedStatuses function 2024-12-06 18:07:12 -03:00
P. Reis d5f0714233 refactor: create PureTranslateButton component, used in PureStatus component 2024-12-06 14:23:01 -03:00
P. Reis c1c31537d9 refactor: create PureStatusContent component, used in PureStatus component 2024-12-06 00:39:07 -03:00
P. Reis 3ce20394a6 refactor: create PureEventPreview component, used in PureStatus component 2024-12-05 23:48:14 -03:00
P. Reis 286aaa24d9 refactor: create PureEventActionButton component 2024-12-05 23:42:23 -03:00
P. Reis b0337b6d87 refactor: create PureEventDate component 2024-12-05 23:31:11 -03:00
P. Reis e1cb14ecf8 refactor: create PureSensitiveContentOverlay component, used in PureStatus component 2024-12-05 23:21:26 -03:00
P. Reis 4632cb4964 refactor: create PureStatusReplyMentions component and use it in PureStatus component 2024-12-05 22:21:14 -03:00
P. Reis 575fd24ec1 fix: status.emojis.toJS is not a function 2024-12-05 18:16:54 -03:00
P. Reis 440ed28b11 fix: use PureStatus instead of StatusContainer 2024-12-05 17:58:45 -03:00
P. Reis 231f3ff56a fix(Bookmarks): remove useless useEffect
it was causing bugs also, not showing all bookmarked posts
2024-12-04 22:52:26 -03:00
P. Reis 19b4078af6 refactor: create useMentionCompose hook, used in PureStatus component 2024-12-04 20:33:35 -03:00
P. Reis 5a28c42e7c fix: add zaps_amount to baseStatusSchema 2024-12-04 18:41:48 -03:00
P. Reis e303d19f8c refactor(StatusActionBar): calculate emojiReactCount & meEmojiReact in a pure way 2024-12-04 18:31:53 -03:00
P. Reis def8d8a72b refactor: create useStatusHidden hook and use it in PureStatus component 2024-12-04 17:52:40 -03:00
P. Reis d0c4140b2e refactor: create useReblog hook 2024-12-04 13:58:13 -03:00
P. Reis bfe25c6ce1 refactor: create useFavourite and useReplyCompose hooks, used in PureStatus component 2024-12-03 18:29:27 -03:00
Alex Gleason e91e0812df Merge branch 'vite-6' into 'main'
Upgrade to Vite 6

See merge request soapbox-pub/soapbox!3291
2024-12-03 20:54:34 +00:00
Alex Gleason ece1191742
Upgrade to Vite 6 2024-12-03 14:50:11 -06:00
P. Reis 423cff2fa8 fix(PureStatusList): Cannot read properties of undefined (reading 'id') 2024-12-03 15:12:31 -03:00
P. Reis 6433194395 fix: default to true, actualStatus?.pleroma?.quote_visible 2024-12-03 15:08:34 -03:00
P. Reis 73419b09ff refactor(Bookmarks): remove all dispatch actions, use hooks returned by useBookmarks 2024-12-02 21:34:10 -03:00
P. Reis b9ca1c7866 refactor: make PureStatusList the same as StatusList component (except without immutable, statusIds, etc...) 2024-12-02 20:43:10 -03:00
P. Reis a9e31c0041 refactor: rename NewStatusList and NewStatus to PureStatusList and PureStatus 2024-12-02 18:14:13 -03:00
P. Reis ffe99335e8 draft/checkpoint: useBookmarks hook, start to rewrite all 'Status' and 'StatusList' components that rely in immutable, and all its children components and logic that also rely on immutable
in the transition phrase will name all new components with the 'New' keyword, to keep things organized
2024-12-01 23:03:41 -03:00
Alex Gleason 1e2ca045c7 Merge branch 'remove-fragments-of-bookmark-folders' into 'main'
Remove fragments of bookmark folders

See merge request soapbox-pub/soapbox!3288
2024-11-28 18:43:56 +00:00
P. Reis 7573a34359 Merge branch 'main' into remove-fragments-of-bookmark-folders 2024-11-28 14:33:19 -03:00
P. Reis 3a38e47e69 fix: remove last fragments of bookmark folders 2024-11-28 14:30:52 -03:00
Alex Gleason a9af5f9034 Merge branch 'es-toolkit' into 'main'
lodash -> es-toolkit

Closes #1793

See merge request soapbox-pub/soapbox!3287
2024-11-28 15:42:44 +00:00
Alex Gleason 0f0971abb5
lodash -> es-toolkit 2024-11-28 09:39:09 -06:00
Alex Gleason df41f87c47 Merge branch 'std-semver' into 'main'
Switch to Deno's @std/semver

See merge request soapbox-pub/soapbox!3286
2024-11-28 05:50:16 +00:00
Alex Gleason d1b7915167
Switch to Deno's @std/semver 2024-11-27 23:46:55 -06:00
Alex Gleason 8b5991aa72 Merge branch 'websocket-ts' into 'main'
@gamestdio/websocket -> websocket-ts

See merge request soapbox-pub/soapbox!3285
2024-11-28 05:27:43 +00:00
Alex Gleason b6b0789590
@gamestdio/websocket -> websocket-ts 2024-11-27 23:20:52 -06:00
Alex Gleason 0240186d8d Merge branch 'rm-kvstore' into 'main'
Remove KVStore / localforage cache

See merge request soapbox-pub/soapbox!3284
2024-11-28 05:04:46 +00:00
Alex Gleason 269de213d1
Remove KVStore / localforage cache 2024-11-27 23:00:40 -06:00
Alex Gleason 50ba8aaa93 Merge branch 'bold-field' into 'main'
ProfileField: font-bold for key

See merge request soapbox-pub/soapbox!3283
2024-11-28 04:43:42 +00:00
Alex Gleason 0ad51fe16c
ProfileField: font-bold for key 2024-11-27 22:40:01 -06:00
Alex Gleason 55ef41f1a5 Merge branch 'emoji-chunk' into 'main'
Split emoji data into a separate chunk

See merge request soapbox-pub/soapbox!3282
2024-11-28 04:27:43 +00:00
Alex Gleason 9e357925af
Split emoji data into a separate chunk 2024-11-27 22:22:36 -06:00
Alex Gleason 90e8266652 Merge branch 'emojify' into 'main'
Add emojify back in a few places I missed

See merge request soapbox-pub/soapbox!3280
2024-11-28 03:34:35 +00:00
Alex Gleason 8cb2e5e9d1 Merge branch 'rm-emojify' into 'main'
Remove emojify function, insert custom emojis on render, small bugfixes

See merge request soapbox-pub/soapbox!3279
2024-11-28 03:32:28 +00:00
Alex Gleason 56f8fda327
Add emojify back in a few places I missed 2024-11-27 20:19:10 -06:00
Alex Gleason 480c49c3c1
Fix custom emojis not being displayed big with isOnlyEmoji 2024-11-27 19:59:55 -06:00
Alex Gleason 13bf241d9f
Emojify polls 2024-11-27 19:19:17 -06:00
Alex Gleason bacbffd5c5
Add a tooltip to custom emoijs with their shortcode
Ref: https://gitlab.com/soapbox-pub/soapbox/-/issues/1790#note_2217120387
2024-11-27 19:10:10 -06:00
Alex Gleason aa6427d4ba
Rework the <Markup> component to do the fancy rendering of StatusContent 2024-11-27 19:09:24 -06:00
Alex Gleason c27e4c6556
Add back an emojifyText function, do it during render 2024-11-27 18:24:36 -06:00