Commit Graph
1330 Commits
Author SHA1 Message Date
Sebastian Martinez ee9cb2b0d7 Clean up some unnecessary types
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 07:49:36 +02:00
Sebastian Martinez 217d8b2dd4 Add base diffChangeset schema and extend for other schemas
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 07:49:36 +02:00
Sebastian Martinez 00905afea4 Add DiffContent type to @httpd-client
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 07:49:36 +02:00
Sebastian Martinez ca6762fc95 Refactor commit and diff types, updates outdated diff types
- Adds support for modified moved files see https://github.com/radicle-dev/radicle-git/pull/141

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 07:49:36 +02:00
Sebastian Martinez afab097d09 Delay global hotkeys tiping speed to imitate real user
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 07:45:40 +02:00
Sebastian Martinez 1a7c28b6ea Split going through UI patch flow into separate tests
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-19 07:45:40 +02:00
Sebastian Martinez 800a9767d6 Update heartwood version
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-18 23:38:13 +02:00
Sebastian Martinez a650c37383 Add alias to session payload
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-16 07:00:08 +02:00
Sebastian Martinez c92e593a16 Fix vite reloading during e2e tests
The issue seems to have been linked to the fact that we triggers incorrect refresh
through fsEvents. Even tough there are no changes on the local file system,
it requests full reload after 1-2 min.

Disabling fsEvents in the vite.config.ts prevents this to happen and per extension,
avoid the problem.

source: https://stackoverflow.com/a/75238360

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-13 15:15:44 +02:00
Sebastian Martinez 127c1d228d Add requirement section for version of Safari and Node
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-08 09:42:16 +02:00
Sebastian Martinez 45830f6cd9 Show local projects instead of network to landing page, if available
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-04 12:06:03 +02:00
Sebastian Martinez 542630a7f7 Add patch comment and state modifiers
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-30 17:05:25 +02:00
Sebastian Martinez aec0289f10 Refactor some of the reaction components
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-28 13:52:57 +02:00
Sebastian Martinez 26447b3c59 Switch edit title button with icons
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-28 13:34:57 +02:00
Rūdolfs Ošiņš 3bd13196d9 Add icons to browser file tree
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-28 12:03:19 +02:00
Sebastian Martinez ea1f23c4a2 Add test to check that issue counter updates when closing issue
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-28 09:18:07 +02:00
Rūdolfs Ošiņš 6e049197ef Remove apple-touch-icon from index.html
Firefox uses it as favicon by mistake, this icon has a black background
and is only intended for apple homescreen. It should be enough to just
have the filename for apple devices.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-24 17:54:23 +02:00
Rūdolfs Ošiņš 34b2f569c1 Improve node error handling
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-24 09:42:17 +02:00
Sebastian Martinez 1efeb41667 Add face Icon
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-24 09:23:36 +02:00
Sebastian Martinez def558033c Add ability to install local binaries
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-24 09:23:36 +02:00
Sebastian Martinez 7edd6dcdf0 Enable adding and removing reactions
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-24 09:23:36 +02:00
Rūdolfs Ošiņš 3eecaeda29 Use proper issue icon for issues
The exclamation mark looked too much like a warning or error.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-23 15:09:20 +02:00
Sebastian Martinez b079b7f51a Update node version to 18.17.1
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-23 14:33:30 +02:00
Sebastian Martinez 08683dc9e9 Update deps
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-23 10:07:15 +02:00
Sebastian Martinez 289cf24800 Update heartwood-version
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-22 09:54:41 +02:00
Sebastian Martinez cccee12477 Add a NodeConfigurator class, to modify a config.json
Since Heartwood is removing some of the radicle-node options we were
relying on when starting nodes for our tests, we need to move those to
the `config.json` file.

To make it more DX friendly, I added a `NodeConfigurator` class which
reads the correspondig `config.json`, stores it and allows to configure
it before starting a node.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-22 09:54:34 +02:00
Sebastian Martinez 3dd590d8e6 Add key to each loop in project listing
Without a key we started to get an erratic behavior when adding more
projects and then sorting them.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-17 13:14:52 +02:00
Sebastian Martinez 2c81228db6 Sort node projects by HEAD commit time
Instead of going with project activity which is being stripped
everything that is older than one year, we should look at the current
project head time.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-17 11:29:19 +02:00
Rūdolfs Ošiņš 0c0842e6f3 Fix project sorting on node page when there is no activity data
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-16 12:55:39 +02:00
Rūdolfs Ošiņš 492ff5b07c Properly handle event streams with readline
The stream would otherwise split longer events into multiple chunks
which would fail to parse.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-16 09:41:43 +02:00
Rūdolfs Ošiņš 5736083d50 Fix not found and loading error screens
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-16 09:35:44 +02:00
Rūdolfs Ošiņš 0e33915e9a Fix visual tests
This was failing on master, so the visual spec cache didn't get updated.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-15 14:05:53 +02:00
Sebastian Martinez 18a5d40b0a Modify network property in config.json to test
To avoid the test nodes to try to connect to the main network,
we need to modify the `config.json` of each node to use the `test`
network

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-15 13:25:42 +02:00
Sebastian Martinez 6a1137a024 Add parents property to CommitHeader type
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-14 11:33:00 +02:00
Rūdolfs Ošiņš fa89d75b1f Pin radicle-homepage and radicle-tui to the landing page
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-09 15:30:20 +02:00
Rūdolfs Ošiņš c2031933b3 Update dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-09 11:09:18 +02:00
Rūdolfs Ošiņš a3325b70c4 Simplify layout CSS
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 17:40:43 +02:00
Rūdolfs Ošiņš 449ed1d79b Simplify project header props
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 17:40:43 +02:00
Rūdolfs Ošiņš fc87a8822a Get rid of ProjectMeta component by moving it into Layout
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 17:40:43 +02:00
Rūdolfs Ošiņš 3bb56e6613 Organize project components
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 17:40:43 +02:00
Rūdolfs Ošiņš 5cd098187c Rename "project.tree" to "project.source"
This aligns better with the component and tab naming.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 15:35:27 +02:00
Rūdolfs Ošiņš 3cc485dce2 Flatten ProjectLoadedRoute type
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 15:24:26 +02:00
Rūdolfs Ošiņš d39fee871d Move project view into App.svelte
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 14:50:58 +02:00
Rūdolfs Ošiņš 723509a267 Extract top-level menu into a layout
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 14:40:45 +02:00
Rūdolfs Ošiņš 0146ca00b5 Update the UI to work with the new COB schema
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-08 10:53:49 +02:00
Rūdolfs Ošiņš 0d024759d3 Upgrade to the latest heartwood version
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-08-01 16:41:22 +02:00
Thomas Scholtes cbe1fa5c9a Simplify and align project view props
We simplify the properties of the project views `Issue`, `Issues`,
`NewIssue`, and `Patch`. This aligns them with other project views and
makes the view selection consistent.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-31 17:53:30 +02:00
Thomas Scholtes 8acb2410d5 Remove redundant project route parameters
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-07-31 17:33:43 +02:00
Sebastian Martinez 4525771264 Use /nodes/ in URL instead of /seeds/
We still allow already published URLs with `/seeds/` in them to be
resolved.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-07-31 16:58:45 +02:00
Sebastian Martinez 8d798cc93f Adding a new defaultLocalHttpdPort property to the config.json
We use `defaultHttpdPort` for both exposed ports like on
seed.radicle.xyz as also for local ports e.g. radicle.local.
This worked fine, for now but has shown the first issues, when external
ports like 443 show up in the radicle.local connection dashboard.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-31 15:38:36 +02:00