Commit Graph

11839 Commits

Author SHA1 Message Date
P. Reis e3aff3bdc6 refactor: StatusActionBar component uses the useBookmark() hook to bookmark and unbookmark a status 2024-12-13 22:49:01 -03:00
P. Reis b2c22df02c refactor: finish PureStatus component by creating the remaining PureStatusActionBar component 2024-12-13 22:29:02 -03:00
P. Reis 2f5781b046 refactor: make BoostModal pure, and openModal 'BOOST' pure 2024-12-13 22:03:14 -03:00
Alex Gleason 2ffff220e4
Remove axios 2024-12-13 18:12:57 -06:00
P. Reis 3aa6582b09 refactor: toggleMuteStatus accepts pure Status rather than Legacy Immutable Status 2024-12-13 19:27:27 -03:00
P. Reis cfce081063 fix: use useDismissEntity when undoing a bookmark 2024-12-13 18:36:27 -03:00
P. Reis a339bb93ea fix(legacy bookmark): add actionLabel in toast.success 2024-12-13 11:23:36 -03:00
P. Reis 9e49099003 refactor: create useBookmark() hook, used for bookmark and undo a bookmark 2024-12-13 11:20:57 -03:00
Alex Gleason 4031de3f52 Merge branch 'fix-wrong-emoji-display' into 'main'
fix: show correct emoji selected

See merge request soapbox-pub/soapbox!3296
2024-12-12 15:53:38 +00:00
P. Reis f81d0fccef fix: show correct emoji selected 2024-12-12 11:16:52 -03:00
Alex Gleason 3b5ad6e3ba Merge branch 'fix-emoji-display' into 'main'
fix: like emoji display

Closes #1796

See merge request soapbox-pub/soapbox!3295
2024-12-12 03:41:26 +00:00
P. Reis a5048c9a6c fix: like emoji display 2024-12-12 00:32:25 -03:00
Alex Gleason 95f134785d Merge branch 'refactor-immutable-to-plain-object' into 'main'
refactor: remove immutable, convert to use plain javascript object

See merge request soapbox-pub/soapbox!3294
2024-12-11 20:50:46 +00:00
P. Reis ca70e6e6fa refactor: get rid of EntityTypes[Entities.STATUSES] 2024-12-11 16:38:08 -03:00
P. Reis 65f03707e4 refactor: type cast, remove question marks 2024-12-11 16:34:56 -03:00
P. Reis 45a81a937c refactor: rename Status to LegacyStatus and EntityTypes[Entities.STATUSES] to StatusEntity 2024-12-11 16:24:23 -03:00
P. Reis 6a44582c9c refactor: add documentation to useBookmarks hook 2024-12-11 15:38:38 -03:00
P. Reis bff17c9fa0 refactor: @deprecated Status immutable 2024-12-11 15:37:50 -03:00
P. Reis c7e695b300 refactor: remove blank line 2024-12-11 14:50:31 -03:00
P. Reis 60489cb123 refactor: dispatch openModal() 'MEDIA' with raw objects 2024-12-10 22:37:38 -03:00
P. Reis 10ff18e76f refactor: remove immutable, convert to use plain javascript object
all changes were made to the StatusMedia component and its components, including all subcomponents recursively.
other components that dispatch openModal() of 'MEDIA' still need to be updated
2024-12-10 21:20:12 -03:00
Alex Gleason 77e45dea2c Merge branch 'refactor-comments' into 'main'
Refactor comments

See merge request soapbox-pub/soapbox!3292
2024-12-09 17:18:46 +00:00
P. Reis 9bd964880b refactor: add TODO and FIXME comments 2024-12-09 14:14:47 -03:00
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