Commit Graph
1490 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš b3e212ff5b Load theme in top-level App.svelte
Previously the theme was only loaded when the <ThemeSettings> component
was loaded in the footer. This stopped working since we removed the
layout around the loading spinner.
2024-01-02 14:25:59 +00:00
Rūdolfs Ošiņš d4ca379245 Remove source file tree top and bottom borders 2024-01-02 11:48:19 +00:00
Rūdolfs Ošiņš 08d16dbbeb Implement two column layout 2024-01-02 11:48:19 +00:00
Sebastian Martinez 56eefb86fa Check that the rad binary used is the same as added to PATH
We weren't checking that the binary that we want to use for the test
suite, is the one we end up using.
2023-12-22 12:52:21 +00:00
Sebastian Martinez 4912d85198 Add editing of revisions 2023-12-21 20:35:11 +01:00
Sebastian Martinez ecba243526 Remove process.exit in killAllProcesses 2023-12-21 14:48:09 +00:00
Sebastian Martinez 2472938bf1 Simplify TextInput
Extracts the validation message out of the `TextInput` component.
For a nice and flexible layout we should render the validation message
outside of the `TextInput` component and just do text input.
2023-12-21 14:05:17 +00:00
Sebastian Martinez 851a444b5d Fix failing e2e tests
We had e2e tests failing for the new Assignee and LabelInput components,
and due to the changes to the SeedButton.
2023-12-21 14:25:15 +01:00
Sebastian Martinez a9eefd1645 Fix authenticatedPeer fixture 2023-12-21 12:47:23 +00:00
Rūdolfs Ošiņš 5141f3e340 Show Connect button only when not connected and authenticated 2023-12-21 11:53:58 +00:00
dnlklmn 99a0d8d6f2 Fix gray colors 2023-12-19 17:00:09 +00:00
Sebastian Martinez 8152cda2ac Allow track and untrack of a project through the TrackButton
- Add support for checking the tracking table from `radicle-httpd` to
  get a more precise information if the project is being tracked by the
  local node.
- If a user isn't authenticated with their local httpd instance, we
  still show the Popover to explain how to do it on the CLI
2023-12-19 16:47:08 +01:00
Sebastian Martinez 5f116cff95 Remove latestCommitHeader and sorting by head from loadProjects
Querying all the head commits for every project that is to be shown in a
nodes listing, can get compute intensive and only required for sorting,
which is now done by the `radicle-httpd`.

It is also error prone e.g. when a project has some issue with some of the
commits it can bring down the entire project listing.

This commit also introduces a small console.error for debugging and a
gracefull fallback to hide project activity if an error ocurrs.
2023-12-19 15:21:52 +00:00
Sebastian Martinez 55f8f4ba87 Improve assignee and label input 2023-12-19 14:52:23 +00:00
Thomas Scholtes 2b03aec645 Implement simplified authentication flow
We change the instructions to connect to a local node to use the
simplified authentication flow.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-12-19 13:49:53 +00:00
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