Commit Graph
1475 Commits
Author SHA1 Message Date
Sebastian Martinez 448c762831 Show edited label on edited comments and issues
If a comment or an issue had at least one additional edit, we show a `edited` label,
which on hover shows the standard tooltip with more information on
who edited it and when.
2023-12-15 07:10:14 +01:00
Sebastian Martinez 10c54ace67 Remove disableEdit from Comment 2023-12-14 19:10:23 +01:00
Sebastian Martinez 24628f57d8 Improve handling missing files and README 2023-12-12 10:41:27 +01:00
Sebastian Martinez 29a53f1ff6 Improve markdown footnotes 2023-12-11 15:00:50 +01:00
Thomas Scholtes 922b8edd73 tests: Add PeerManager#shutdown to ensure cleanup during tests
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-12-11 12:13:51 +01:00
Thomas Scholtes 77843c2955 Properly name radSeed value
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-12-11 12:13:51 +01:00
Thomas Scholtes 7d61539d95 Renaming confusing method startPeer to createPeer
The name was confusing because the function does not actually start any
services.
2023-12-11 12:13:51 +01:00
Thomas Scholtes f2eb867d1f Don’t use disabled Popover
We stop using the disabled `Popover` component. Instead of using the
disabled component it is simpler to just not use the component at all.
This also avoids issues where the toggle button of the `Popover` was
nested inside the button in `src/App/Header/Authenticate.svelte` which
in turn created problems with `.getByRole` selectors in tests.

Because of this change we can also drop the use of `NodeId` in places
where it simply displays the node ID and avatar.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-12-10 12:47:02 +01:00
Sebastian Martinez cea5aeb614 Improve markdown checkbox design
Replaces `input type="checkbox"` elements in Markdown with our new custom
IconSmall webcomponent.

Doesn't support disabled checkboxes yet, since there is no way to define
them in markdown.
2023-12-08 10:57:42 +01:00
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