Commit Graph
490 Commits
Author SHA1 Message Date
Sebastian Martinez a4e0d21bad Reduce flakiness of some e2e tests 2024-06-20 16:43:44 +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 6695660a17 Add delegates and node scope policies to Sidebar 2024-06-04 20:11: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ņš a27d8be36a Fix issue/patch page sidebar line not reaching screen edge 2024-05-16 17:18:25 +02:00
Rūdolfs Ošiņš 538b0ccac8 Fix issue/patch placeholder centering on mobile 2024-05-16 16:18:10 +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ņš 70f61170c9 Fix wrapping in comment counter 2024-05-16 10:29:47 +02:00
Rūdolfs Ošiņš 77f0976abb Fix section subheader mobile wrapping on landing page 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš fbc1272d56 Wrap long words in issue/patch titles 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 9841587ec1 Hide issue/patch edit buttons in non-experimental mode 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 5c07399ab5 Tweak issue/patch titles/labels 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 2da1461fdf Show less labels in teasers 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš aa48c69aa9 Tweak commit/issue/patch teaser link underlines 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš e3491bc571 Change RevisionSelector and CompareButton disabled styling 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš daa883424b Tweak changes tab responsiveness 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš fdebe237a9 Make placeholder full-width on mobile 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš 30d7991d14 Move Compare tab in Patch view to where revision button is 2024-05-16 10:23:55 +02:00
Rūdolfs Ošiņš ea915a698b Move diff stat badge to title line in patch teaser 2024-05-16 10:23:55 +02:00
Sebastian Martinez 9b20ad24af Change file is too big explainer 2024-05-16 09:44:31 +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 3fd5d513a8 Decouple stats from tree response 2024-05-07 14:30:34 +02:00
Sebastian Martinez ff8b26df55 Center content blob on files for bigger screens 2024-05-07 11:51:20 +02:00
Sebastian Martinez 047ef0499f Wrap body text when code block
This change allows the text in issues and patches to be text when there
is also a code block around.

Sets it back to `auto` when in mobile
2024-05-06 16:43:08 +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
dnlklmn 9404c3092a Emphasize seed name in r/o section header 2024-05-06 13:03:10 +02:00
Sebastian Martinez 230243e772 Make entire CommitButton clickable
Instead of having the Link component inside the Button component, we
should do it the other way around, that way the entire Button is
clickable and links somewhere.
2024-05-06 12:23:24 +02:00
Sebastian Martinez 2fc03f3312 Add apiVersion to config and httpd request
We have a new apiVersion value in the config json that needs to be
changed for each breaking change on httpd so we can simulate a new
resource to the cache and get it cleared.

Also improves the ResponseParseError giving the user more information
on, if the node or the web client is outdated
2024-05-03 08:34:08 +02:00
Sebastian Martinez f5a28960bd Add alias to project delegates and threshold 2024-05-02 23:58:44 +02:00
Sebastian Martinez 70b16e5861 Decouple stats from tree endpoint response 2024-05-02 23:58:44 +02:00
Sebastian Martinez 7adcea4148 Update components and interfaces for radicle-surf v0.21 2024-04-24 16:50:14 +02:00
Sebastian Martinez d413650ebc Filter peers without branches in the router
This way we make sure the remote count is the same and the behavior
between files tab and commit tab is the same
2024-04-22 15:36:00 +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 7420c7ade6 Add You to your alias in peer selector 2024-04-04 18:29:36 +02:00
Rūdolfs Ošiņš 127efc49a5 Revert "Handle absolute markdown links with leading slash"
This reverts commit 2efd0ad58e.

There's a bug with root-level links in markdown docs.
2024-03-29 16:48:28 +01:00
Sebastian Martinez 2efd0ad58e Handle absolute markdown links with leading slash 2024-03-29 11:54:54 +01:00
dnlklmn d6f3d17805 Alignment fix 2024-03-27 22:29:25 +01:00
dnlklmn 4c8f64111b Make IconButton bigger 2024-03-27 20:23:03 +01:00
dnlklmn bb8d44346d Make links change color on hover 2024-03-27 20:23:03 +01:00
Rūdolfs Ošiņš 10dc5d6395 Improve missing pinned repositories copy 2024-03-27 16:20:30 +01:00
Rūdolfs Ošiņš eaf6b0d489 Show custom copy when seed selector is hidden 2024-03-27 15:30:26 +01:00