Commit Graph
1168 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
Sebastian Martinez 44a76ea74f Removing CODEOWNERS file
We currently match all files, so it isn't useful at the moment.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-23 12:39:05 +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 7dab02c273 Change .eslintrc file format to js and add tsconfigRootDir
Depending on the environment and the code editor, there can be issues
for eslint to find the tsconfig.json file.
To avoid that we can define the base folder with `tsconfigRootDir`

refs: https://github.com/typescript-eslint/typescript-eslint/issues/251

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-19 15:36:17 +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 6fbc453fd4 Update heartwood-version
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-19 13:33:40 +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
Rūdolfs Ošiņš 6df3d4d714 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-19 09:03:04 +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
Sebastian Martinez 4fcb7373a3 Add more tests to revision selector
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-14 09:21:09 +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
Rūdolfs Ošiņš 32cb1b667d Set up Vercel redirects
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-12 14:08:14 +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 98364ba31b Add no-only-test linter rule
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 09:48:25 +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
Sebastian Martinez 889b13303b Extract markdown from source-browsing fixture
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-05 15:08:32 +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
Rūdolfs Ošiņš 260cd4c144 Use object instead of strictObject for httpd schema checking
This way we can deploy back-end API changes that are backwards
compatible without breaking the UI.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-02 15:54: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 277c8d23fd Add peerManager to e2e tests fixture
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-01 10:03:36 +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ņš 17a8696c34 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-31 15:03:03 +02:00
Rūdolfs Ošiņš ee61864642 Cache eslint and prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-30 09:53:30 +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
Rūdolfs Ošiņš 930210da80 Replace deprecated eslint-plugin-svelte3 with eslint-plugin-svelte
We were using a deprecated plugin that wasn't working. This new plugin
is also more performant.

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 a916783d6f Add reviewers field on Patch scheme
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-29 12:23:56 +00:00
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