Commit Graph
992 Commits
Author SHA1 Message Date
Sebastian Martinez 8e7e94c896 Add padding to reviews without comment
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 16:52:18 +02:00
Sebastian Martinez 555d4da30c Fix some style regressions in patch view
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 16:33:17 +02:00
Rūdolfs Ošiņš 92f6d58dfc Use Link instead of ProjectLink in Issues/Patches/Commits
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-07-04 15:45:05 +02:00
Sebastian Martinez 33594b732f Change some ProjectLink components into Link
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 14:52:51 +02:00
Sebastian Martinez fc05770775 Split patch revision creation from patch revision events
Also uses same border-radius on comment and other events, and removes
the revision creation as a timeline event.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 14:52:51 +02:00
Sebastian Martinez d91591c908 Make the action var in Issue.svelte reactive to the httpd state
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 14:14:29 +02:00
Sebastian Martinez 0cd42908e5 Add error handling for issue creation and commenting
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 14:14:29 +02:00
Sebastian Martinez 82941440b9 Replace patch author with revision author in Revision component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-03 22:44:56 +02:00
Thomas Scholtes 1547e4fc39 Restrict parameters for updating project route
We restricted the allowed parameters that are used for project-relative
navigation. This allows us to better understand which of the parameters
are used.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-03 15:03:53 +02:00
Thomas Scholtes 5d535ff604 Use dedicated commitId parameter for commits route
We use the new parameter instead of the shared revision parameter.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-03 15:03:53 +02:00
Thomas Scholtes b11e4840f9 Eliminate top-level search parameter from project route
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-03 13:42:26 +02:00
Rūdolfs Ošiņš e95419831a Pass down the search prop only where necessary
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-07-03 13:42:26 +02:00
Thomas Scholtes c6afc56beb Test that route building and parsing leave routes invariant
We replace the tests for `routeToPath` with a test that calls
`pathToRoute(routeToPath(route))`. These test do not only cover the
assertions of the previous tests but also check an important invariant
for route parsing and building.

I’m not using `test.each` here because this makes the tests less
readable.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-03 13:24:00 +02:00
Sebastian Martinez c04d399cf3 Revert HTML tag escaping
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-30 10:01:14 +02:00
Thomas Scholtes 8ef8ce5b81 Run source highlighting in router to prevent showing intermediate state
Fixes #709

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-06-30 09:52:08 +02:00
Rūdolfs Ošiņš 4c101c2567 Move Blob loading into router
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-28 17:07:04 +02:00
Sebastian Martinez f971d777f2 Add missing moved and copied file operations to Changeset
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-11-17 17:50:19 +01:00
Rūdolfs Ošiņš 3f7a58c489 Handle app URL translation into seed BaseUrl in one place
To make the code easier to reason about we handle all app URL encoding
and decoding and the related seed BaseUrl extraction in a single place.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-28 10:51:59 +02:00
Rūdolfs Ošiņš bc25367ecb Add remote count to PeerSelector
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-28 09:31:08 +02:00
Rūdolfs Ošiņš eba977e14e Add icon to Source tab
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-28 09:31:08 +02:00
Sebastian Martinez 72bcfdee5a Add ability to expand a commit message
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-27 17:47:55 +02:00
Sebastian Martinez 0e6be19373 Add patch reviewers in sidebar
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-27 17:23:37 +02:00
Sebastian Martinez 31be78144f Fix padding issues of project headers on mobile
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-27 10:19:56 +02:00
Sebastian Martinez ba57506d6d Update svelte to version 4
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-26 14:13:22 +02:00
Sebastian Martinez d51f08d6af Expand browser tree when navigation through relative file links
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-26 13:48:49 +02:00
Sebastian Martinez ecabe9b7a8 Escape html tags in marked found outside of code blocks
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-26 13:00:20 +02:00
Sebastian Martinez ab222edc52 Reverse commit ordering in patch revisions
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-23 13:06:40 +02:00
Rūdolfs Ošiņš d4650ab482 Simplify project view component
We refactor the project view by moving all sub-view related variables
into the respective sub-views.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-20 14:59:58 +02:00
Sebastian Martinez 2c886ea274 Add margin between comment threads in issue view
Adds also a root level comment to the cobFixture to avoid margin
regressions between root level comments

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-19 14:07:43 +02:00
Sebastian Martinez 3ebb2c8862 Add awesome-radicle to pinned repos
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-19 13:23:14 +02:00
Sebastian Martinez 4df9810088 Rename hostnamePort to hostAndPort
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-14 16:19:05 +02:00
Sebastian Martinez 52cece4680 Handle custom httpd port
We only supported fetching the default httpd port (8080).
This commit removes navigation to `radicle.local` which represents
`0.0.0.0:8080`, and prepares the app for defining custom port.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-14 16:17:21 +02:00
Thomas Scholtes f5900b873f Move History state loading to router
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-06-13 17:52:39 +02:00
Rūdolfs Ošiņš 022bfd55f7 Fix patch revision selector
This is a regression we introduced in
https://github.com/radicle-dev/radicle-interface/pull/767.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-13 17:01:10 +02:00
Rūdolfs Ošiņš 833805f707 Move patch loading to router
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-13 15:34:40 +02:00
Rūdolfs Ošiņš 55fec2f343 Issue loading
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-13 15:07:31 +02:00
Rūdolfs OšiņšandThomas Scholtes a331721c9f Move project source browsing loading into the router
Co-authored-by: Thomas Scholtes <geigerzaehler@axiom.fm>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-13 14:24:27 +02:00
Sebastian Martinez 87a0fffd7e Fix alias color in review
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 10:01:26 +02:00
Sebastian Martinez 096e9dddb7 Increase height of Command component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 09:37:15 +02:00
Sebastian Martinez 2af304eb97 Fix navigation after selecting revision
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-08 11:13:28 +02:00
Sebastian Martinez 6d6cbbd34c Fix margin between comments and other card elements
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-08 11:13:28 +02:00
Sebastian Martinez b75954d91e Avoid wrapping PatchTeaser tag to new line
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-08 11:13:28 +02:00
Sebastian Martinez 107696c3c9 Add a cobs fixture and issue and patch tests
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-08 11:13:28 +02:00
Rūdolfs Ošiņš 5b3c293293 Fetch tree only when it's expanded
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-06 14:32:10 +02:00
Rūdolfs Ošiņš ccc854dac1 Add 16x16 icons to project header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-06 11:06:05 +02:00
Rūdolfs Ošiņš 28ea7724d3 Fix build
I broke it in https://github.com/radicle-dev/radicle-interface/pull/804.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-06 10:07:50 +02:00
Rūdolfs Ošiņš 4ca660504e Make all copy command to clipboard instances consistent
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-05 18:04:19 +02:00
Rūdolfs Ošiņš e79685b8a6 Improve patch view visuals
- underline in commit hover state
- indent revision comments
- dim "Revision" text in header
- fix vertical alignment of header items in right-hand-side
- don't show first revision description, it's already shown as part of the
  patch description

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-05 16:15:11 +02:00
xphoniex 0b61ad4aa2 Improve commit listing in revision component
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-06-05 11:07:50 +02:00
xphoniex c3346575ee Show number of nodes tracking a repo
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-06-02 13:11:27 +00:00