Commit Graph

145 Commits

Author SHA1 Message Date
Derrick Hammer c5e22f52e1
refactor: we need to split root out for readability into a SdkWrapper component to reflect changes in init'ing the sdk down the component tree, and sdk should be a react var 2024-03-26 13:01:46 -04:00
Derrick Hammer 5bdd888f63
fix: don't cache/store the providers, we only use in 1 place currently and we can memo it 2024-03-26 12:58:16 -04:00
Derrick Hammer 740d276071
feat: if dev mode is enabled store jwt to local storage and fetch it as needed 2024-03-26 11:38:28 -04:00
Juan Di Toro e6d296d6af chore: debugging 2024-03-26 15:54:51 +01:00
Juan Di Toro b2a822bf08 fix: error state for file upload 2024-03-26 14:42:18 +01:00
Juan Di Toro 2bca9ce939 feat: closes #7. Adds a verify screen 2024-03-26 13:22:18 +01:00
Derrick Hammer 4dcac43e73
fix: wrong property 2024-03-26 01:18:12 -04:00
Derrick Hammer 056c1de31f
fix: prefix with https 2024-03-26 00:59:51 -04:00
Derrick Hammer 9378a984dd
fix: if no portalUrl, return a loading tag 2024-03-26 00:59:19 -04:00
Derrick Hammer d5f63490a5
feat: access api endpoint relatively to get the portal domain if VITE_PORTAL_URL is not set 2024-03-26 00:41:43 -04:00
Juan Di Toro ab425c6f2c fix: every time in progress query is fetched, we check the results for atleast one complete query and this invalidates the query results for the files data provider on the list query 2024-03-25 09:12:31 +01:00
Juan Di Toro 1cb7afda8f fix: only completed items can be unpinned. Maybe cross iscon is not the best 2024-03-25 09:02:09 +01:00
Juan Di Toro 4290904143 fix: pinned items in progress cannot be cancelled 2024-03-25 09:00:41 +01:00
Juan Di Toro 4d271ec421 fix: textarea for pinning modal. small refactor to the api exposed by the hook 2024-03-25 08:59:35 +01:00
Juan Di Toro 415d9d14a6 fix: notifications now are not transparent. Modals for my account now close whe nfinished 2024-03-25 08:34:22 +01:00
Derrick Hammer 7ca98d0cfb
refactor: add CID validation 2024-03-22 19:10:20 -04:00
Derrick Hammer b8999efcd7
refactor: update how we poll for the pin status and if a 404 assume completed and delete 2024-03-22 18:59:19 -04:00
Derrick Hammer c1b4e668e2
feat: initial wiring of the pinning system 2024-03-22 18:30:58 -04:00
Juan Di Toro 8d4fcfba5c feat: connecting the pinning thingy 2024-03-22 19:33:30 +01:00
Juan Di Toro c9de506c56 fix: small fixes 2024-03-22 18:53:39 +01:00
Juan Di Toro e1ca45f1f1 Merge branch 'develop' into riobuenoDevelops/pinning-network 2024-03-22 17:13:10 +01:00
Tania Gutierrez 7b31d561fe
fix: Moved useQuery to PinningProvider and moved mutations into usePinning 2024-03-22 09:54:46 -04:00
Juan Di Toro c9851d8dee fix: closes #10 2024-03-22 14:27:40 +01:00
Juan Di Toro 2ccf55f75f fix: closes #9 2024-03-22 14:14:45 +01:00
Juan Di Toro a61fe195ee fix: closes #8 2024-03-22 14:04:22 +01:00
Juan Di Toro e401889b04 fix: UX changes regarding showing dates on table and actions pannel 2024-03-22 13:47:50 +01:00
Juan Di Toro 9d9aa4e9c9 feat: add pinning modal 2024-03-22 12:31:31 +01:00
Juan Di Toro db91cb9590 Merge branch 'develop' of git.lumeweb.com:LumeWeb/portal-dashboard into develop 2024-03-22 11:43:16 +01:00
Tania Gutierrez 8b8fa967d0
fix: Removed PinningProvider and used react-query directly 2024-03-21 23:15:56 -04:00
Derrick Hammer 364f2b048b
fix: wrong accessorKey 2024-03-21 17:00:30 -04:00
Derrick Hammer 4619f9709c
fix: size is missing 2024-03-21 16:49:14 -04:00
Derrick Hammer 6252979d28
refactor: update columns 2024-03-21 16:46:02 -04:00
Derrick Hammer ea395df494
refactor: add pinned property for date 2024-03-21 16:45:06 -04:00
Derrick Hammer 0c304b20db
refactor: use new CID with the multihash 2024-03-21 16:20:37 -04:00
Derrick Hammer f7a760051f
refactor: use our own abort controller 2024-03-21 16:15:04 -04:00
Derrick Hammer 3a5cd0ae32
refactor: split app to App and Root and store the sdk context in the root for app to use 2024-03-21 15:32:39 -04:00
Derrick Hammer 61b70ffa2e
fix: use Authenticated component 2024-03-21 15:04:19 -04:00
Derrick Hammer a7ef0b4773
fix: update resource name 2024-03-21 14:34:55 -04:00
Derrick Hammer 3162d4dcd6
fix: pass all providers 2024-03-21 14:30:11 -04:00
Derrick Hammer d724359622
feat: initial very basic file listing 2024-03-21 13:24:13 -04:00
Tania Gutierrez 39a8789f95
fix: Added resurce and dataProvider props to data-table, fixed UI 2024-03-21 10:56:08 -04:00
Derrick Hammer 82b4f9f4fc
fix: need to pass currentPassword 2024-03-21 08:49:29 -04:00
Tania Gutierrez b646fc4887
feat: Created Pinning banner to show inprogress and completed PinningProcess 2024-03-21 01:17:00 -04:00
Tania Gutierrez 140a9d222f
feat: Created PinningContext and PinningProvider to abstract logic from frontend components 2024-03-21 01:16:27 -04:00
Tania Gutierrez 52fc50d480
feat: Mocked PinningProvider 2024-03-21 01:15:12 -04:00
Derrick Hammer bba7ce59d3
refactor: nop on onError 2024-03-20 16:22:06 -04:00
Derrick Hammer 9332598627
refactor: pass ret as a HttpError 2024-03-20 16:21:56 -04:00
Derrick Hammer 81d52d2524
refactor: ret should now satisfy HttpError 2024-03-20 16:08:40 -04:00
Derrick Hammer bec75e63ee
refactor: fix handling of check by creating a handleCheckResponse wrapper to translate success to authenticated 2024-03-20 15:26:24 -04:00
Juan Di Toro 43a0ab0b29 Merge branch 'develop' of git.lumeweb.com:LumeWeb/portal-dashboard into develop 2024-03-20 20:05:13 +01:00