Wykres commitów

114 Commity (3885a68baf8e7a43daf005a11841d640b4561b0b)

Autor SHA1 Wiadomość Data
Alex Gleason 35a2b4e583
Don't automatically poll home/notifications when WebSocket disconnects 2024-12-30 11:29:17 -06:00
Alex Gleason 59698cff90 Merge branch 'relationships-chunk' into 'main'
Fetch relationships in chunks of 20

See merge request soapbox-pub/soapbox!3308
2024-12-28 23:13:15 +00:00
Alex Gleason 85cdec6a5b
Fetch relationships in chunks of 20 2024-12-28 17:10:52 -06:00
P. Reis b8da3e4f0c refactor: get status in new entity store as a fallback 2024-12-19 20:23:54 -03:00
P. Reis afd1f49e59 refactor: create useReaction hook, used in PureStatusReactionWrapper componet 2024-12-19 18:51:10 -03: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
P. Reis 7e6418fc9b Merge branch 'main' into finish-pure-status-component 2024-12-13 23:46:31 -03: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
P. Reis beed9fa6c3 fix: import the bookmarked status to the start of the cache array 2024-12-13 22:49:39 -03:00
Alex Gleason 2ffff220e4
Remove axios 2024-12-13 18:12:57 -06:00
P. Reis cfce081063 fix: use useDismissEntity when undoing a bookmark 2024-12-13 18:36:27 -03:00
P. Reis 9e49099003 refactor: create useBookmark() hook, used for bookmark and undo a bookmark 2024-12-13 11:20:57 -03:00
P. Reis ca70e6e6fa refactor: get rid of EntityTypes[Entities.STATUSES] 2024-12-11 16:38:08 -03:00
P. Reis 6a44582c9c refactor: add documentation to useBookmarks hook 2024-12-11 15:38:38 -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
P. Reis 799d1413cf refactor: remove bookmark folders 2024-11-25 22:10:06 -03:00
Alex Gleason 62ca4c7a2a
Fetch custom_emojis with a hook 2024-11-17 15:17:38 -06:00
Alex Gleason 07c98a21e0
MastodonClient: fix HTTP 204 responses 2024-11-15 14:11:39 -06:00
Alex Gleason 0c228e13f3
Remove src/hooks barrel export 2024-11-10 15:18:44 -06:00
Alex Gleason 954e074325
Add file extensions to all imports 2024-11-09 21:18:55 -06:00
Alex Gleason 013582e9e4
Delete blank empty lines at the top of source code files 2024-11-09 17:01:25 -06:00
Alex Gleason 07776e6296
tsconfig: enable isolatedModules 2024-11-09 15:31:19 -06:00
Alex Gleason 2dbda40969
Import vitest functions explicitly, remove "vitest/globals" from tsconfig 2024-11-09 13:44:37 -06:00
Alex Gleason bfb8351fc3
Fix admin account filtering
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1769
2024-10-30 23:59:28 -05:00
Alex Gleason 265b4c646a
Merge remote-tracking branch 'origin/main' into bunker 2024-10-29 18:41:50 -05:00
Alex Gleason 66d082934f
Move nostr hooks to hooks/nostr 2024-10-29 15:08:17 -05:00
Alex Gleason d6579eecf7
Rewrite NBunker to have a more flexible and modular interface 2024-10-29 15:05:03 -05:00
Alex Gleason 47fa485f97
useSigner: fix accessToken retrieval, return bunkerSigner along with user signer 2024-10-29 15:04:09 -05:00
Alex Gleason 4d99a6d4f6
Move authorization out of bunkerStore, into loginNostr 2024-10-28 23:09:45 -05:00
Alex Gleason 5c4b73f943
OKAY IT'S WORKING 2024-10-28 20:20:37 -05:00
Alex Gleason 4c79c148b3
Fix admin account filters
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1769
2024-10-28 18:10:41 -05:00
Alex Gleason 333d3e76d6
Finish rewriting the bunker...? (now everything else is broken) 2024-10-28 17:00:46 -05:00
Alex Gleason f67abaa3cd
useSignerStream -> useBunker 2024-10-28 16:15:06 -05:00
Alex Gleason 14793ef0a9
Rewrite everything (???) 2024-10-27 19:35:41 -05:00
Alex Gleason cb95726249
NConnect -> NBunker 2024-10-23 10:00:23 -05:00
Alex Gleason c0f8c9d5e7
Add useAdminAccount hook, refactor admin accounts in dashboard, refactor admin actions 2024-10-19 13:23:08 -05:00
Alex Gleason c6f179b1be
Remove unused account reducer... 🤦 2024-10-19 11:31:42 -05:00
Alex Gleason 6d5b4189e5
eslint --fix 2024-10-18 22:00:13 -05:00
Alex Gleason 588b86eb84
Merge remote-tracking branch 'origin/main' into upgrade-deps 2024-10-18 21:49:22 -05:00
danidfra 7472be4a06 Update captcha sucess message 2024-10-14 10:49:09 -03:00
Alex Gleason ad6e1bc099
Upgrade react-query 2024-10-13 18:28:26 -05:00
Alex Gleason 8e46164653
Remove custom retry from useInstance hooks (prefer the default) 2024-10-12 15:03:35 -05:00
Alex Gleason 5477a3a8c6
useInstance: don't go stale 2024-10-11 15:40:25 -05:00
Alex Gleason 82731e633d
Make instance stop aggressively refreshing, replace isStandalone with instance.isNotFound 2024-10-11 15:13:37 -05:00
Alex Gleason ba4ab3d39a
Make useInstance hook call V2 instance, fallback to V1 instance upgraded 2024-10-11 03:39:58 -05:00
Alex Gleason 0f7a43c51b
Upgrade v1 instance to v2 instance 2024-10-11 02:50:13 -05:00
Alex Gleason c5c38ed79c
Merge remote-tracking branch 'origin/main' into instance-hooks 2024-10-11 01:49:35 -05:00
Alex Gleason 445649ec1c
Make useInstance return an object containing the instance 2024-10-11 01:28:57 -05:00
Alex Gleason 158392c627
Add instance fetching hooks 2024-10-11 01:13:27 -05:00