Commit Graph
966 Commits
Author SHA1 Message Date
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
Sebastian Martinez 5de111e963 Add font-family monospace to commit description
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-02 13:17:44 +02:00
Sebastian Martinez 2c11e9e520 Display a seed URL that matches isLocal as radicle.local
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-02 10:29:41 +02:00
Rūdolfs Ošiņš 7eced1078b Remove radicle-git project from pinned projects
It's not on the seed anymore.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-01 16:34:40 +02:00
Rūdolfs Ošiņš 42c5385e42 Move comment counter before the diff stat badge
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-01 16:24:11 +02:00
Sebastian MartinezandRūdolfs Ošiņš c230731ce0 Redesign Connect button to reflect httpd status
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-01 14:49:22 +02:00
Sebastian Martinez 99f27350c1 Fix out-of-state commit listing when refreshing page after push
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-01 10:09:12 +02:00
Sebastian Martinez 7c71ff9ad6 Fix wrapping of PatchTeaser
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-31 15:33:00 +02:00
Rūdolfs Ošiņš dd3b514dfc Properly await promises
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-29 15:54:00 +02:00
Rūdolfs Ošiņš 37f6cccced Mark floating promises with void
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-29 15:54:00 +02:00
xphoniex 47622735c7 Use description from first revisions of Patch
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-29 13:02:44 +00:00
xphoniex da361fb399 Use author from Revision as it might differ from original one
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-29 15:57:07 +03:30
xphoniex 824c719313 Use the new Merge scheme for Patch
`merges` field has moved one level up, from `revisions` to `patch` itself

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-29 12:14:17 +00:00
xphoniex 39874d8d51 Add alias to Patch
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-29 12:14:17 +00:00
Sebastian MartinezandRūdolfs Ošiņš 46494461f2 Refactor Dropdown component
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-29 10:15:30 +02:00
Sebastian Martinez 3465c92a7e Fix showing Authorship and CommentComponent for review
Show either an `Authorship` component if no review comment is available
or a `CommentComponent` if there is a comment

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-29 09:30:54 +02:00
xphoniex 227424dbeb Add option to view diff between revisions
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-28 13:58:57 +00:00
Rūdolfs Ošiņš a671706979 Use colors in badges and icons consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-23 12:32:39 +02:00
Sebastian Martinez 380366be2e Fix padding and linebreaks in markdown
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 12:55:43 +02:00
Sebastian Martinez bb9ea851fc Use Raw button to navigate to raw file
For toggling Markdown view, we add a button that either shows `Plain` or
`Markdown`.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 12:15:29 +02:00
Sebastian Martinez 02aa591c84 Lowercase all markdown inline link and heading ids
By having different casings between heading and link ids we avoid
getting case mismatches on navigation.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 11:00:04 +02:00
Rūdolfs Ošiņš 2563438874 Add icons for issues and patches
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-16 14:38:26 +02:00
xphoniex 2b21390540 Add alias to PeerSelector
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-16 08:17:48 +02:00
Rūdolfs Ošiņš 26944d5334 Keep global tabs selected when viewing individual issue/patch/commit
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš 11af7bed86 Remove issue/patch filter query when navigating away
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš e41a12d663 Separate global project header from source browsing header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš f9445de618 Don't select the + and - signs when selecting a diff
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-15 14:26:40 +02:00