Commit Graph
1180 Commits
Author SHA1 Message Date
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 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 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 bf2e524a53 Use unique ids for svg linearGradients 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
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ņš 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
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 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
Rūdolfs Ošiņš 7e613952f5 Fix NodeId popover padding 2023-11-23 17:09:40 +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 72352835eb Update heartwood version
The update resulted in changes to all issue and patch IDs. We adapt the
tests so that they do not rely on fixed IDs.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-23 09:21:37 +01:00
Rūdolfs Ošiņš 6cf78832de Fix comment border overflow issue 2023-11-22 17:36:20 +01:00
Rūdolfs Ošiņš 4e68b98ef9 Fix project sub-view breadcrumb alignment 2023-11-22 16:57:41 +01:00
Rūdolfs Ošiņš d7fc70a1f3 Don't show "Source" segment in breadcrumbs
It is redundant, we can already go to the "Source"/"Files" tab by
clicking on the project title in the breadcrumbs.

This also fixes some of the links that were linking to "Source"
incorrectly.
2023-11-22 15:29:41 +01:00
Rūdolfs Ošiņš 159f766157 Tweak primary/secondary toggle button styling 2023-11-21 16:44:07 +01:00
Sebastian Martinez 2f013df4e1 Refactor CobHeader 2023-11-21 15:15:27 +01:00
Rūdolfs Ošiņš ad84bc9f30 Add breadcrumbs to header 2023-11-21 13:57:25 +01:00
Sebastian Martinez eeba82017d Add permission checks for delegates and authors 2023-11-20 22:13:51 +01:00
Sebastian Martinez e6c560b58b Fix cob commit listing borderline not expanding 2023-11-20 15:12:34 +01:00