Commit Graph
317 Commits
Author SHA1 Message Date
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
Rūdolfs Ošiņš 5c07399ab5 Tweak issue/patch titles/labels 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 0e059bf3cb Show comment OID in threads 2024-05-16 10:08:02 +02:00
Sebastian Martinez b4234e44c6 Fix commit colors and add new links to commit pages 2024-05-15 16:00:16 +02:00
Sebastian Martinez 8c06938775 Display correct placeholder if blob endpoint returns 413 status code
Also makes sure we don't highlight files that are too big
2024-05-14 16:52:53 +02:00
Rūdolfs Ošiņš 521ccd0928 Fix code block overflow issue in comments 2024-05-09 13:41:37 +02:00
Sebastian Martinez 5657811467 Set custom httpd port in Settings 2024-05-07 12:28:59 +02:00
Rūdolfs Ošiņš 698a833e42 Overhaul app responsiveness
We introduce more breakpoints to cover mobile, small-desktop,
medium-desktop and large-desktop viewports.
2024-05-06 16:43:05 +02:00
Sebastian Martinez 0c46e67f88 Handle absolute markdown links with leading slash
This commit also handles relative linking when there is no path yet.
Aka not having `/tree/..` in the URL.
2024-04-04 22:24:53 +02:00
Sebastian Martinez 187a67e03e Underline markdown links that have emojis 2024-04-04 13:37:37 +02:00