Commit Graph

11861 Commits

Author SHA1 Message Date
P. Reis afd1f49e59 refactor: create useReaction hook, used in PureStatusReactionWrapper componet 2024-12-19 18:51:10 -03:00
Alex Gleason c737d7cb5c Merge branch 'fix-profile-update' into 'main'
Fix updating profile avatar/banner

See merge request soapbox-pub/soapbox!3304
2024-12-19 19:43:48 +00:00
Alex Gleason 2385d0694f
Fix updating profile avatar/banner 2024-12-19 13:41:21 -06:00
P. Reis d2126f60f2 refactor: use statusSchema.parse rather than statusSchema.safeParse
we want to throw any errors so they are catched
2024-12-18 21:16:08 -03:00
P. Reis 2acb8e601d refactor: move useFavourite to 'src/api/hooks' 2024-12-18 10:54:27 -03:00
Alex Gleason 9542c5bbc2 Merge branch 'bunker-44' into 'main'
Switch bunker to nip44 encryption

See merge request soapbox-pub/soapbox!3303
2024-12-18 08:00:04 +00:00
Alex Gleason 614d950083
Switch bunker to nip44 encryption
https://gitlab.com/soapbox-pub/ditto/-/issues/279
2024-12-18 01:58:50 -06:00
P. Reis 68625bd208 Merge branch 'main' into finish-pure-status-component 2024-12-17 21:25:09 -03:00
Alex Gleason e6deb7916c Merge branch 'fix-pagination' into 'main'
Fix pagination

See merge request soapbox-pub/soapbox!3302
2024-12-18 00:19:37 +00:00
Alex Gleason f0043813e6
MastodonClient: merge searchParams 2024-12-17 18:16:34 -06:00
Alex Gleason 790564b74e
Fix BACKEND_URL with baseClient 2024-12-17 18:01:40 -06:00
P. Reis f6cc3382dd refactor: use /PureStatusReactionWrapper component in PureStatusActionBar component 2024-12-17 19:59:04 -03:00
P. Reis ede079a0eb refactor/checkpoint: create PureStatusReactionWrapper component
to make it work 100%, a reaction hook must be created and used, rather than dispatching the simpleEmojiReact() function from actions (src/actions/emoji-reacts.ts)
2024-12-16 21:06:46 -03:00
P. Reis 7e6418fc9b Merge branch 'main' into finish-pure-status-component 2024-12-13 23:46:31 -03:00
P. Reis 4c2ed157a0 feat: create reblogEffect and unreblogEffect functions, and use it in legacy actions in such a way that everything is compatible 2024-12-13 23:41:34 -03:00
Alex Gleason dd3ac81a7b Merge branch 'baseurl' into 'main'
Actually fix baseURL

See merge request soapbox-pub/soapbox!3300
2024-12-14 02:32:08 +00:00
Alex Gleason dc48b256d6
Actually fix baseURL 2024-12-13 20:31:25 -06:00
Alex Gleason 98617d1036 Merge branch 'baseurl' into 'main'
Fix baseURL drama

See merge request soapbox-pub/soapbox!3299
2024-12-14 02:19:05 +00:00
Alex Gleason 4b3e8fcf22
Fix baseURL drama 2024-12-13 20:18:05 -06:00
Alex Gleason dcdd14b2b8 Merge branch 'axios' into 'main'
Remove axios

See merge request soapbox-pub/soapbox!3298
2024-12-14 01:57:14 +00:00
Alex Gleason 878c3ac54d
MastodonClient: fallback to XHR for onUploadProgress 2024-12-13 19:52:31 -06:00
P. Reis beed9fa6c3 fix: import the bookmarked status to the start of the cache array 2024-12-13 22:49:39 -03:00
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