Commit Graph
1466 Commits
Author SHA1 Message Date
Sebastian Martinez 3b16632e3d Remove willow.radicle.garden from httpd-api router unit tests 2023-12-07 13:27:11 +01:00
Sebastian Martinez 06cc991fd2 Increase amount of projects fetched for landing page 2023-12-07 12:22:51 +01:00
Sebastian Martinez 4e6ff95691 Update HotkeysModal 2023-12-07 12:14:33 +01:00
Sebastian Martinez bac15bfdc7 Rename tracking to seeding
Following the heartwood release 6ca7da2 we also rename tracking
to seeding, and update our `radicle-httpd` endpoints and configs.

Also updates test suites to handle new CLI commands.
2023-12-07 09:45:06 +01:00
Rūdolfs Ošiņš e0a5e37fb7 Tweak dropdown list selected item colors 2023-12-05 09:53:29 +01:00
Sebastian Martinez 5abd1bf635 Add copied diff with modifications 2023-12-04 20:45:11 +01:00
Sebastian Martinez 0a90ed0345 Fix project api unit tests 2023-12-04 20:14:27 +01:00
Sebastian Martinez 0ab1d1ba41 Replace exit-hook with custom event listeners
Instead of relying on the `exit-hook` dependency, we should listen to
`exit`, `SIGINT`, `SIGTERM` and other exceptions, and kill all running
processes.
2023-12-04 20:14:27 +01:00
Sebastian Martinez 23895bd826 Remove continue-on-error from e2e tests
This has introduced CI issues where e2e tests show up as successfull
as workflow but when entering the workflow show up as failed.
This is due to the nature of `continue-on-error` which marks a workflow
as successfull even if there where errors
2023-12-04 20:14:24 +01:00
Sebastian Martinez bf2e524a53 Use unique ids for svg linearGradients 2023-12-04 11:59:12 +01:00
Sebastian Martinez e080883059 Add private project visual tests 2023-12-04 11:59:12 +01:00
Sebastian Martinez 3c72bfad48 Update createProject test support function
To pass in more specific props, it's nicer to have it as an opts object.
2023-12-04 11:59:12 +01:00
Sebastian Martinez 3198bbd330 Add a yellow-outline Badge variant 2023-12-04 11:59:12 +01:00
Sebastian Martinez d00b8f5a1a Improve positioning of ActivityDiagram on ProjectCard 2023-12-04 11:59:12 +01:00
Sebastian Martinez 5265a6b245 Display badge for private repos 2023-12-04 11:59:12 +01:00
Thomas Scholtes 3717a18fc8 Consolidate duplicate code to start global HTTP API server 2023-12-04 10:44:58 +01:00
Thomas Scholtes 8decb6899a Consolidate global setup for all test suites 2023-12-04 10:44:38 +01:00
Thomas Scholtes fe39475403 Update heartwood 2023-12-04 10:44:37 +01:00
Rūdolfs Ošiņš 90cfaca9be Fix "moved" badge alignment 2023-12-01 18:06:07 +01:00
Sebastian Martinez 095b99fcec Fix issue text horizonal overflow 2023-12-01 12:28:27 +01:00
Rūdolfs Ošiņš 7bbe4716d9 Change red badge text color to background 2023-11-30 21:19:52 +01:00
Rūdolfs Ošiņš 858602586f Don't show connector line when we don't show the cob action button 2023-11-30 21:19:52 +01:00
Rūdolfs Ošiņš 68f7702616 Fix commit list line in Firefox on linux retina screens
We make the line that covers the bottom part of the commit connector
line wider, so that it always covers the border. This should also fix
the line appearing when decreasing text size.
2023-11-30 21:19:52 +01:00
Rūdolfs Ošiņš 32acc74a76 Fix authentication on preview builds
We want to be able to authenticate on any host. Previously we'd assume
that production builds only authenticate with app.radicle.xyz.
2023-11-30 11:07:14 +01:00
Rūdolfs Ošiņš 3724e08a6a Tweak scrollbar contrast
It was barely visible in light mode.
2023-11-29 10:46:22 +01:00
Rūdolfs Ošiņš 63d4cc2d62 Change header toggle buttons to secondary color 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 9be4c4458f Use the same color for link underline as the link text 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 4669c5f18e Force slashed zero font feature on button body text 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 333c31c4ba Don't underline icon in the ExternalLink component 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 4fb457c7cb Make dropdown styling consistent with design system 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš af6462c3a7 Remove unneeded CSS class 2023-11-28 21:34:19 +01:00
Rūdolfs Ošiņš 4160723ce8 Update color tokens to the latest version 2023-11-28 15:58:10 +01:00
Sebastian Martinez 95ed1a0353 Adding embed editing in issues and patches 2023-11-28 10:59:55 +01:00
Sebastian Martinez 1167dcfab6 Improves changeset schemas and fix moved diff syntax highlighting 2023-11-28 10:39:32 +01:00
Sebastian Martinez aa7a1b7040 Handles error when parsing frontmatter 2023-11-28 10:15:11 +01:00
Sebastian Martinez 575f44e434 Unify lodash imports
We currently use all three ways of importing lodash.
The one that provides us with the smalles bundle size is.

```
import isEqual from "lodash/isEqual";
```

So we should use that everywhere
2023-11-28 09:25:13 +01:00
Sebastian Martinez b107b43ad0 Spread other error information in ErrorMessage
The current Error that can be copied by users, isn't very helpful for
debugging.

We should stringify the entire error, with zodIssues, path, body, etc.
for useful debugging.
2023-11-27 20:53:10 +01:00
Sebastian Martinez 64389809ff Remove lastCommit from diffBlobSchema 2023-11-27 20:53:10 +01:00
Sebastian Martinez 0621067804 Fix issue in Embed preview 2023-11-27 14:16:16 +01:00
Sebastian Martinez b6ac9bd4a7 Improve handling of rawPath
Instead of computing it in multiple components, we should do it in
router.ts in the routes where we need it, and add the commit param when
we have it.
2023-11-27 14:12:24 +01:00
Thomas Scholtes 999adff9c1 Ensure correct order when setting up fixtures
When setting up the global fixtures we need to ensure that the peers
that create changes sync their changes to the seed (palm). The only
thing necessary is for the peer to discover palm as the seed for the
project. Then `git push rad --all` will sync all changes to palm.

It’s not necessary to listen for any other event and we remove the
corresponding calls to `waitForEvent` or `waitForRoutes`.

In fact, these calls never did anything besides sleep since the
implementation of `waitForEvent` was faulty. We fix that, too.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-25 06:40:30 +01:00
Thomas Scholtes 456a4287fd Always timeout when waiting for services
We want the tests to fail when one of the services fails to start or
stop.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-25 06:40:30 +01:00
Rūdolfs Ošiņš 7e613952f5 Fix NodeId popover padding 2023-11-23 17:09:40 +01:00
Thomas Scholtes 72fd099ecd Stop confirming removal of test tmp files
We stop asking for confirmation to remove the folders containing the
static generated fixtures. All the data is programatically generated so
it’s not a big deal if it is lost. In any case the data is retained
after a test run and only deleted before the next test run.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 16:47:14 +01:00
Rūdolfs Ošiņš 3d24c5f79f Improve contributor popover wording 2023-11-23 10:20:54 +01:00
Rūdolfs Ošiņš 6d7d7660d5 Move popover padding into the component
This makes sure all popovers are styled the same way.
2023-11-23 10:20:28 +01:00
Sebastian Martinez b8408db4f1 Improve the Branch Selector
We now also let people select branches if they only have one branch.
Renamed also some variables to make it clearer what they represent.
2023-11-23 09:57:35 +01:00
Thomas Scholtes e172aac1af Set Playwright action timeout for quicker failures
When a Playwright action (like click) fails we want it to throw an error
after 5 seconds instead of waiting 30 seconds for the test timeout.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00
Thomas Scholtes b979862b08 Reuse log prefix colors if we run out
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00
Thomas Scholtes c568757675 tests: Improve peer manager logging
* The log prefix now includes the command name in addition to the peer
  name. This allows us to distinguish `radicle-node` and `radicle-httpd`
  logs as well as the output of commands.
* We also log prettify the JSON event log so it is easier to debug.
* Don’t log ouput of `waitForRoutes`

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:37:13 +01:00