Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Reduce request for patch view
Merged did:key:z6MkkfM3...sVz5 opened 1 year ago

Adds the same previousLoadedRoute strategy used in source views to individual patches.

Since we where re-fetching a lot of diffs on patch view load and in between tags, this patch adds a svelte store that stores those diffs in memory (indexed by base and head commit and RID) and avoids refetching them since they are immutable.

check check-visual check-unit-test check-http-client-unit-test check-radicle-httpd check-e2e check-build check-http

👉 Preview 👉 Workflow runs 👉 Branch on GitHub

did:key:z6MkkfM3...sVz5 opened with revision c455ee57 on base 4de9724f +183 -44 1 year ago

Adds the same previousLoadedRoute strategy used in source views to individual patches.

Since we where re-fetching a lot of diffs on patch view load and in between tags, this patch adds a svelte store that stores those diffs in memory (indexed by base and head commit and RID) and avoids refetching them since they are immutable.

check check-visual check-unit-test check-http-client-unit-test check-radicle-httpd check-e2e check-build check-http

👉 Preview 👉 Workflow runs 👉 Branch on GitHub

did:key:z6MkkfM3...sVz5 pushed revision 2 8285e26e on base 4de9724f +195 -44 1 year ago

Fix svelte-check

did:key:z6MkkfM3...sVz5 pushed revision 3 f36a14dd on base 4de9724f +196 -44 1 year ago

Some more polishing

did:key:z6MkkfM3...sVz5 pushed revision 4 1c1d637a on base 4de9724f +196 -44 1 year ago

Rename some diff cache methods

did:key:z6MkkfM3...sVz5 pushed revision 5 02c79b58 on base 4de9724f +248 -53 1 year ago

Reduces more requests between History and Source view

rudolfs pushed revision 6 dfcda067 on base 5444875e +248 -53 1 year ago

Rebase.

did:key:z6MkkfM3...sVz5 pushed revision 7 fa3b3a6d on base 853829ea +150 -35 1 year ago

Simplify the diff store by using the LRU cache

did:key:z6MkkfM3...sVz5 pushed revision 8 3ef48c67 on base 5174cda6 +150 -35 1 year ago

Rebase

did:key:z6MkkfM3...sVz5 pushed revision 9 794ae54f on base 5174cda6 +148 -35 1 year ago

Remove SAFETY comment, move and rename cacheQueryDiff to project router -> cachedGetDiff

rudolfs accepted 1 year ago
rudolfs merged revision 794ae54f at 98857582 1 year ago