Commit Graph
326 Commits
Author SHA1 Message Date
Cameron Eldridge e4ec27c06b Fix CSS for task lists in rendered Markdown
The previous CSS was setting the task-list element to be `display: flex`, but this
does not play well with a task list item that contains further nodes. Commonly,
a sub-list, but even a bolded bit of text is rendered with a bit of unpleasant
extra spacing.

Example:

- [ ] Task 1
    - Step 1: Do *thing*
    - Step 2: Do __another__ thing

Or since I'm not sure if that's going to be rendered via this interface,
just find such a file on the hosted version. [This](https://app.radicle.xyz/nodes/seed.radicle.garden/rad%3Az28AWjUMmH9kFFCw7W9GMSCHoA9zZ)
repository of mine is particularly offensive in this category.

To solve the issue, I have removed the flex, and additional turned the icon component
itself into an inline flex element, as it being a block element was likely part of
the reason the list became a flex container to begin with.
2025-09-15 13:28:18 +02:00
Sebastian Martinez 18afaa1251 Add file path and line for comments with code locations
Instead of only displaying a comment, we need to make sure users know
that this has been a line comment.

Linking to changes for the display of the comment is a bit trickier,
will do so in a follow up
2025-06-27 11:28:23 +02:00
Sebastian Martinez 66a7c98210 Fix hidden overflow for rid copy tooltip in RepoCard 2025-06-16 10:45:01 +02:00
Sebastian Martinez c607fd7177 Hide overflow in RepoCard 2025-06-16 10:09:26 +02:00
Sebastian Martinez 2c362adffb Update dependencies 2025-05-21 13:40:52 +02:00
Sebastian Martinez 8d1624e0da Add Download radio button to Clone popover 2025-04-25 13:06:35 +02:00
Rūdolfs Ošiņš 775cbd1c37 Allow overriding configuration at run-time 2025-04-25 08:55:09 +02:00
Rūdolfs Ošiņš 46d1c2177d Make RID on repo cards copyable 2025-02-14 09:05:29 +01:00
Konstantinos Maninakis e9c783f04a Use monospaced font for repo id on repo card 2025-02-12 14:38:52 -06:00
Sebastian Martinez 50318285f8 Update svelte to v5.0
Only do the minimal changes possible to be able to keep updating
dependencies.
2025-02-04 11:42:02 -06:00
Sebastian Martinez 4e7507a9be Fix embeds in Markdown component
Changes the display of embeds from being markdown images to markdown
links.
Mimics the way embeds work on the desktop app and allows other embeds to
work too like pdfs, videos, etc.
2025-02-04 11:32:28 -06:00
Matthew O'Gorman 2075c320f3 Add markdown support to node descriptions
Instead of escaping all html by svelte, we should pass the node
description through the markdown parser and sanitize the parsed content.
2024-11-28 16:43:11 +01:00
Sebastian Martinez 723d188e9e Fix copying wrong ids when switching cob listing state
We don't really need the `clipboard` prop.
By switching between stats in patches and issue listings the clipboard
props aren't been recomputed.

Wrote a test that should make sure this doesn't break in the future.
2024-11-27 11:00:17 +01:00
Sebastian Martinez 870f0733fe fix(web): Fix padding between avatar and alias 2024-11-18 09:39:33 +01:00
Samuel Shuert d37ccde1c4 feat(web): Allow clicking on node avatars
Previously the node name was always a link and the node avatar did
nothing. We believe it's slightly nicer to include the avatar in the
link.
2024-11-18 08:51:19 +01:00
Sebastian Martinez b3be042b51 Fix twemojis display
Text in Markdown with emojis has been tried to be fetched from the
/raw route as embeds.
This commit changes the renderer method to compute the hex string for
a unicode emoji to be able to use the /twemoji asset folder.
2024-10-24 10:21:38 +02:00
Sebastian Martinez 337dbf4312 Fix repo cards failing to load when head commit with non-utf8 are loaded 2024-09-11 12:22:22 +02:00
Sebastian Martinez 6c2d1d755e Update schemas and usage of project payload 2024-08-22 09:45:50 +02:00
Sebastian Martinez 868f7b1e2d Rename files from project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Sebastian Martinez cca65a0b89 Make visibility in the repoSchema required 2024-08-22 09:43:06 +02:00
Sebastian Martinez cf08c83913 Update naming of project(s) to repo(s) 2024-08-22 09:43:06 +02:00
Rūdolfs Ošiņš 5174cda6f2 Add bookmarking ability to seed selector 2024-08-09 12:20:06 +02:00
Rūdolfs Ošiņš 96bafffb34 Use lodash import style that leads to smaller bundle sizes 2024-08-08 16:21:33 +02:00
Sebastian Martinez a1dc7fc2ef Add user page 2024-07-31 12:33:05 -03:00
Rūdolfs Ošiņš 1ff3890fa8 Clean up icons 2024-07-29 15:30:27 +02:00
Rūdolfs Ošiņš c0049f83ba Redesign node view and use it as the landing-page 2024-07-26 10:20:01 +02:00
Rūdolfs Ošiņš cd38ed1134 Tweak clone button icon placement 2024-07-22 13:33:54 +02:00
Rūdolfs Ošiņš 5e5e69771f Fix overflow problem in diff view
When selecting a range of lines and scrolling past the sticky header,
the selection would be on top of the header. This fixes it.
2024-07-16 15:06:21 +02:00
Sebastian Martinez dd61f5cf5c Remove local httpd features and experimental features
Updates API version to 2.0.0
2024-07-04 11:48:41 +02:00
Sebastian Martinez 166934514e Change node param with seedingPolicies 2024-07-02 12:49:35 +02:00
Sebastian Martinez e4b15e7254 Remove InlineMarkdown component 2024-07-01 13:05:08 +02:00
Sebastian Martinez 4b579d13a9 Add InlineTitle component
This new component doesn't rely on marked.js but escapes any special
characters and then replaces any backtick with a <code> HTML tag to
render any inline codeblocks in all titles.
2024-07-01 13:05:08 +02:00
Sebastian Martinez e326f48cbf Update seeding policy schema 2024-06-28 13:59:35 +02:00
Rūdolfs Ošiņš 5ed0565177 Tweak copyable ID UX
- don't keep the tooltip open when hovering over it
- offset the tooltip to the right, so it doesn't overlap with other
  content
- tweak colors so it pops out of the background more
- tweak elevation shadows to stand out more
- don't show node ID DID in popover
2024-06-26 13:52:15 +02:00
Sebastian Martinez 894ab2e0aa Update node config 2024-06-21 13:24:11 +02:00
Sebastian Martinez b09a705f58 Overhaul peer and branch selector 2024-06-20 16:43:30 +02:00
Rūdolfs Ošiņš 173ede84d5 Rename user facing strings with "project" -> "repository" 2024-06-20 15:28:59 +02:00
Rūdolfs Ošiņš 6d87823ce0 Tweak copyable IDs 2024-06-12 15:49:03 +02:00
Sebastian Martinez 2ee8bae82e Rename httpd-client to http-client 2024-06-07 12:22:28 +02:00
Sebastian Martinez 4e5ce7eca3 Shut autocomplete off in TextInput component 2024-06-04 20:11:50 +02:00
Sebastian Martinez f0cf894d23 Fix wrong icon in IconSmall
Help and Info where the same icon
2024-06-04 20:11:50 +02:00
Sebastian Martinez 6695660a17 Add delegates and node scope policies to Sidebar 2024-06-04 20:11:50 +02:00
Sebastian Martinez 655ccf1d0f Add a new plain marked instance 2024-06-03 20:31:50 +02:00
Sebastian Martinez 3d13bc03ae Navigate seed nodes from explore section 2024-05-29 16:32:40 +02:00
Sebastian Martinez 0c7ea70c1b Update eslint config to flat config
Since the legacy config is being deprecated at the end of 2024, we
should start moving to the eslint flat config.

I avoided the tseslint config helper function so we avoid wrapping
magic.

This seems to have triggered more checking since any checks in svelte
files have appeared and the $$Generic type that is being deprecated had
to be rewritten.

Also fixes some any types that weren't caught previously
2024-05-27 17:35:16 +02:00
Rūdolfs Ošiņš bd5519116a Add seed count badge to project cards 2024-05-23 15:02:32 +02:00
Sebastian Martinez 46e514dcd8 Refactor config json into a virtual module 2024-05-17 15:35:00 +02:00
Rūdolfs Ošiņš 0400af2470 Fix reaction selector popover alignment 2024-05-16 15:54:50 +02:00
Rūdolfs Ošiņš 67da51f964 Tweak issue/patch assignee/label/embed layout 2024-05-16 15:45:48 +02:00
Rūdolfs Ošiņš 3f4c65321d Make code blocks full-width in issues/patches and comments 2024-05-16 14:04:37 +02:00