Commit Graph
2186 Commits
Author SHA1 Message Date
Joseph Goulden 413bc50efa Fix flake npmDepsHash 2024-08-27 16:52:01 +02:00
Rūdolfs Ošiņš 2891f0b795 Update dependencies 2024-08-27 15:07:08 +02:00
Sebastian Martinez 995e23936b http: Update naming for delegate dids
The usage of the term `delegate` when handling a DID isn't explicit
enough, so this commit changes the places where the word `delegate` is
used when actually it's a DID.
2024-08-23 08:58:06 +02:00
Sebastian Martinez 02234eac1d Update apiVersion to 5.0.0 2024-08-22 15:50:42 +02:00
Sebastian Martinez 52e1cf3f97 http: Update radicle-httpd to 0.16.0 2024-08-22 15:45:28 +02:00
Sebastian Martinez 6c2d1d755e Update schemas and usage of project payload 2024-08-22 09:45:50 +02:00
Sebastian Martinez c798e5d4e9 http: Modify payloads fields
Don't require a repo to have a `xyz.radicle.project` payload.
If there are issues with obtaining the repo `head`, issue count or patch
count, filter that repo from the list.
2024-08-22 09:44:51 +02:00
Sebastian Martinez 868f7b1e2d Rename files from project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez cca65a0b89 Make visibility in the repoSchema required 2024-08-22 09:43:06 +02:00
Sebastian Martinez b84cace48f Refactor usage of authorSchema 2024-08-22 09:43:06 +02:00
Sebastian Martinez cf08c83913 Update naming of project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez 4fda686bad http: Rename files from projects to repos 2024-08-21 23:37:37 +02:00
Sebastian Martinez 5d7eb71eab http: Rename LoC with projects ocurrences to repos 2024-08-21 23:37:37 +02:00
Rūdolfs Ošiņš 06cc5595c8 Upgrade eslint 2024-08-19 15:25:31 +02:00
Rūdolfs Ošiņš 7d738f91a2 Update dependencies 2024-08-19 12:26:23 +02:00
Sebastian Martinez 98857582f3 Reduce requests in patch view 2024-08-09 16:19:49 +02:00
Sebastian Martinez f914d94038 Reduce requests when switching between History and Source view
Adds the same `previousLoadedRoute` strategy used in source views to the
commit listing view.

Since we where re-fetching the project endpoint, node, policies and
other things in between tabs, also adds takes the tree type from one tab
to the other since it's immutable
2024-08-09 13:50:47 +02:00
Rūdolfs Ošiņš 5174cda6f2 Add bookmarking ability to seed selector 2024-08-09 12:20:06 +02:00
Rūdolfs Ošiņš 853829ea28 Update dependencies 2024-08-08 23:45:06 +02:00
Rūdolfs Ošiņš 96bafffb34 Use lodash import style that leads to smaller bundle sizes 2024-08-08 16:21:33 +02:00
Dawid Ciężarkiewicz 5444875e71 http: Display simple info page on / 2024-08-08 11:50:51 +02:00
Sebastian Martinez 06fa429ea3 Fix peer branch selector gaps 2024-08-05 12:58:29 -03:00
Sebastian Martinez 4de9724f9e Improve external markdown link test
By using `page.route` we weren't changing the response of
`https://example.com` since we where only changing it on the initial
page.

By using `context` we are able to change the response for any request to
that site on all playwright pages.
2024-08-02 08:02:15 -03:00
Sebastian Martinez e005cd784e Update heartwood to rc.13 2024-08-02 08:00:26 -03:00
Sebastian Martinez a1dc7fc2ef Add user page 2024-07-31 12:33:05 -03:00
Sebastian Martinez ab71fdcc1d Add Placeholder to empty node page 2024-07-31 12:28:50 -03:00
Sebastian Martinez 8d30407de6 Add firefox to the clipboard tests 2024-07-29 15:00:31 -03:00
Sebastian Martinez a73c5490b1 Handle disabled localStorage gracefully
Instead of failing with a cryptic error in the dev console, this commit
allows the app to keep working and skips the localStorage persistance if
no localStorage is available.
2024-07-29 16:48:59 +02:00
Rūdolfs Ošiņš 514359e1b9 Fix merge issue 2024-07-29 15:54:38 +02:00
Rūdolfs Ošiņš 1ff3890fa8 Clean up icons 2024-07-29 15:30:27 +02:00
Sebastian Martinez a23c704c24 http: Use pinned repo length for per_page unwrap instead of fixed number
This allows us to avoid querying the repo stats and relying on maybe bad
routing tables and take the hardcoded pinned repo array in case of
querying for pinned repos.
2024-07-29 07:55:54 -03:00
Rūdolfs Ošiņš f4c773c81b Show dismiss button when a specific commit has been selected 2024-07-26 15:15:01 +02:00
Rūdolfs Ošiņš e31ca2d0aa Update dependencies 2024-07-26 08:22:53 -03:00
Rūdolfs Ošiņš c0049f83ba Redesign node view and use it as the landing-page 2024-07-26 10:20:01 +02:00
Sebastian Martinez 266afb17c8 Expand internal file markdown test case
Additionally to navigate the file links we should guarantee that
circling back to the source without a path shouldn't break navigation.
2024-07-23 15:52:23 +02:00
Sebastian Martinez 7a5d4566d3 Fix commit listing, adding new commits to list instead of replacing 2024-07-23 15:43:15 +02:00
Sebastian Martinez cbb6c557be Fix markdown relative links to / 2024-07-23 09:56:12 +02:00
Rūdolfs Ošiņš da14ca6505 Remove Post comment keyboard shortcut 2024-07-23 09:50:33 +02:00
Sebastian Martinez 9a50ae0354 http: Rename compressed and extracted files from radicle to radicle-httpd 2024-07-22 13:06:01 -03:00
Rūdolfs Ošiņš cd38ed1134 Tweak clone button icon placement 2024-07-22 13:33:54 +02:00
Rūdolfs Ošiņš 0a2dbe9e5d Add Checkout button to patch view 2024-07-19 14:51:20 +02:00
Rūdolfs Ošiņš c60b6451d3 http: Remove all authentication related code
We also remove the `/api/v1/profile` endpoint because that was only
supposed to be used with a local node and not publicly accessible. All
fields that are still used in the UI were moved to `/api/v1/node`.

We bump the API and crate versions since this is a breaking change.

squash or drop!: Small suggestion for improvement
2024-07-19 08:11:47 -03:00
Rūdolfs Ošiņš b105d06fae http: Only count publicly seeded repositories
Previously the /api/v1/stats endpoint would count any repository that is
in the storage regardless of whether the repository is publicly seeded or not.
2024-07-19 05:32:42 -03:00
Rūdolfs Ošiņš 662a5e24eb Update dependencies 2024-07-18 10:05:12 +02:00
Rūdolfs Ošiņš 472993c6df Simplify share button link resolution
We just use the radicleExplorer that is configured in the app config and
don't query the node for it. Besides simplifying things this also makes
the button work on iOS again, because we don't have the async http
request anymore.
2024-07-17 14:13:57 +02:00
Rūdolfs Ošiņš 87979c5feb Fix timestamp calculation when filtering patches 2024-07-17 07:26:53 +02:00
Rūdolfs Ošiņš 5e5e69771f Fix overflow problem in diff view
When selecting a range of lines and scrolling past the sticky header,
the selection would be on top of the header. This fixes it.
2024-07-16 15:06:21 +02:00
Rūdolfs Ošiņš 6f134ca6d6 Show base commit gray in compare dropdown 2024-07-15 17:44:49 +02:00
Sebastian Martinez 1775dd284d Rename missed state -> status occurrences 2024-07-15 14:43:15 +02:00
Sebastian Martinez 1a5830b54a Remove more unused patch and issue schemas 2024-07-15 14:42:56 +02:00