Commit Graph
100 Commits
Author SHA1 Message Date
Sebastian Martinez 746e478da3 Update dependencies 2024-03-26 13:03:50 +01:00
Sebastian Martinez 4c569a1e3d Update heartwood and nix flake 2024-03-26 12:38:59 +01:00
Sebastian Martinez 4cbc6222c1 Add single line break option to Markdown component 2024-03-25 17:43:45 +01:00
Sebastian Martinez 89ea5f904f Change ScopePolicy and httpd tooltip from hover to clickable tooltip 2024-03-25 17:26:38 +01:00
Sebastian Martinez 87e3c2b5c7 Hide radicle-httpd tooltip on mobile 2024-03-25 17:26:38 +01:00
Sebastian Martinez 651ed1af7c Make Placeholders in Source component full width 2024-03-25 16:45:12 +01:00
Sebastian Martinez 4e0d557a65 Improve error when node doesn't have any pinned repos 2024-03-25 16:34:16 +01:00
Sebastian Martinez ba42de1a44 Add right padding for TextInput key hint 2024-03-25 14:44:02 +01:00
Sebastian Martinez 3339225cf2 Follow-up on local project listing on landing page 2024-03-22 17:21:25 +01:00
Sebastian Martinez 1c54038055 Handle error in AssigneeInput when chars outside of the bs58 charset
Also improves the UX and only shows validation errors on submit, and not
during input.
2024-03-22 09:00:47 +01:00
Sebastian Martinez 54662ad11e Display grayscale loader in file tree 2024-03-21 15:30:29 +01:00
Sebastian Martinez 7d63f9ec55 Enable grayscale loading indicator 2024-03-21 15:30:29 +01:00
Sebastian Martinez 2d3fbe79e9 Add branch icon for each branch in the list 2024-03-21 13:37:20 +01:00
Sebastian Martinez 9f70390432 Add commit summary to BranchSelector
Also extract it into a separate component to use in Blob.svelte
2024-03-21 13:37:20 +01:00
Sebastian Martinez d401819d2e Add Canonical badge for canonical branch 2024-03-21 13:37:20 +01:00
Sebastian Martinez 893af0c4b7 Display local projects in read only 2024-03-21 08:45:33 +01:00
Sebastian Martinez 7f2f03efc3 Make SeedButton blue again in read-only mode 2024-03-21 07:19:43 +01:00
Sebastian Martinez 8e2090070d Rename Share button to Copy link 2024-03-21 07:19:43 +01:00
Sebastian Martinez f6a77bec94 Add min-width param to Share button
This avoids resizing when displaying the Loading indicator.
2024-03-20 16:18:21 +01:00
Sebastian Martinez fe7cd1b4e5 Display all projects on local node 2024-03-20 15:49:41 +01:00
Sebastian Martinez 786f11169d Reword Pinned projects to Seeded projects on local node 2024-03-20 15:49:41 +01:00
Sebastian Martinez cddf8b40fc Fix connector lines in issue comments 2024-03-20 13:26:57 +01:00
Sebastian Martinez ee84461524 Change colors of delegate badge colors when selected 2024-03-19 22:57:50 +01:00
Sebastian Martinez 302bd44400 Improve delegate badge colors 2024-03-19 22:34:24 +01:00
Sebastian Martinez 476f217714 Grey out DIDs of remotes without alias 2024-03-19 22:22:20 +01:00
Sebastian Martinez daba9fca82 Make revision actions less tall and refine paddings 2024-03-19 15:07:55 +01:00
Sebastian Martinez fcdaa24973 Display diff stats badge in patch summary 2024-03-19 14:26:53 +01:00
Sebastian Martinez 1d2503348c Fix serialization reactions tooltip 2024-03-19 10:59:22 +01:00
Sebastian Martinez 8ba5d4e731 Increase hit area on commit teaser title 2024-03-19 10:49:20 +01:00
Sebastian Martinez 780158bb2c Remove extra space between FileLocationChange components 2024-03-19 10:34:21 +01:00
Sebastian Martinez 1e97828ccb Make commit title in commit page semibold 2024-03-19 10:34:21 +01:00
Sebastian Martinez 91866f6292 Add prefers-color-scheme query for theme fallback 2024-03-19 10:28:06 +01:00
Sebastian Martinez cee200e629 Compare to revisionBase instead of projectHead
- Makes diff stat badge clickable and navigates users to previous
  revision or revision base.
    - If base has changed between revisions uses latest patch base
2024-03-18 15:50:48 +01:00
Sebastian Martinez 7bb1c74fb2 Display seeding icon on seeded projects in node view project list 2024-03-18 14:32:52 +01:00
Sebastian Martinez 65bbccb1bc Upgrade follow-redirects to version 1.15.6 or later
When using axios, its dependency library follow-redirects
only clears authorization header during cross-domain redirect,
but allows the proxy-authentication header which contains credentials too.
2024-03-18 14:19:37 +01:00
Sebastian Martinez b7b9370709 Change commit browse icon tooltip 2024-03-15 15:30:58 +01:00
Sebastian Martinez 999c292b1d Revert URL.canParse to try catch 2024-03-15 14:49:19 +01:00
Sebastian Martinez d7521a4608 Don't store the entire node config in the httpd state
This should also fix the race condition, since we don't compare it for
running the checkState fn
2024-03-14 11:07:21 +01:00
Sebastian Martinez 0918d38be9 Add title attribute to anchor tags 2024-03-13 17:11:58 +01:00
Sebastian Martinez 67eef6caa7 Query all local repos by getting the local repo count
Instead of falling back to the default of 10 repos, set by
radicle-httpd.
We query the local httpd instance for the amount of repos hosted.
2024-03-13 16:33:30 +01:00
Sebastian Martinez b6e8bca18b Fetch project listing on node page after page load 2024-03-11 21:22:33 +01:00
Sebastian Martinez ab86033cb2 Update nix flake 2024-03-11 20:18:43 +01:00
Sebastian Martinez 6cfa0d0555 Fix assignee and peer switching e2e tests 2024-03-11 20:18:43 +01:00
Sebastian Martinez 2b318e5002 Add submodules improvements
Also display submodules in nested folders, and show them as
`foreground-dim`.
Adds also a title to explain what the entry is and to look at the
nearest `.gitmodules` file
2024-03-11 20:18:43 +01:00
Sebastian Martinez 5b30269c7c Add support for submodules and update heartwood 2024-03-11 19:13:22 +01:00
Sebastian Martinez 953643c09c Navigate to first available branch for remotes without project default branch
Also filters remotes that don't have any branches
2024-03-11 17:29:04 +01:00
Sebastian Martinez cfafd333fb Add a 798px og image 2024-03-11 09:15:18 +01:00
Sebastian Martinez b755d36ddb Hide device icon in collapsed sidebar 2024-03-08 12:25:36 +01:00
Sebastian Martinez acbad456fd Fix local node tooltip in the Sidebar
Also changes the ContextHelp from Device to Local node, seems more
explicit.
2024-03-07 14:16:53 +01:00
Sebastian Martinez 63122094df Show edited label only if there is at least 1 edit 2024-03-07 14:10:16 +01:00
Sebastian Martinez 1ad85ac2c3 Remove HomepageSection height animations 2024-03-07 10:55:03 +01:00
Sebastian Martinez 192524fe90 Add experimental switch in settings
Hide all read/write functionality behind this setting.
2024-03-07 10:35:21 +01:00
Sebastian Martinez 273dff2da4 Add target="_blank" attribute to external markdown links 2024-03-06 15:34:22 +01:00
Sebastian Martinez d315380e01 Add visual test for code clipboard icon on hover 2024-03-04 22:08:57 +01:00
Sebastian Martinez caf2cf0ae2 Update dependencies 2024-03-04 22:08:57 +01:00
Sebastian Martinez 6340501bd8 Make all text fields 2rem high 2024-03-04 17:43:53 +01:00
Sebastian Martinez 6cfbfbf665 Fix some pending design issues
- Wrap long patch and issue titles
- Patch state, author information sans-serif
2024-03-04 17:29:04 +01:00
Sebastian Martinez 9c45fe4576 Update nix flake 2024-03-04 16:52:46 +01:00
Sebastian Martinez 9b425e534b Update heartwood version 2024-03-04 16:52:46 +01:00
Sebastian Martinez 16e858bd7a Update footnote regex to handle footnotes with spaces 2024-03-04 16:35:22 +01:00
Sebastian Martinez 4bb0e72841 Remove hash routing
Since we don't have or want any deployments on IPFS, and we don't have
much use for hash routing else, we can clean up some code and remove
some tests.
2024-03-04 14:39:36 +01:00
Sebastian Martinez dcced2e06d Fix visual test on preview toggle 2024-02-28 14:06:42 +00:00
Sebastian Martinezanddnlklmn eb0013ef9c Switch toggle styles
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com>
2024-02-27 16:59:07 +00:00
Sebastian Martinez add8a9ad94 Display images in source browser and diffs, enable preview for svgs 2024-02-27 16:59:07 +00:00
Sebastian Martinez 481e25dca1 Enable branch selector even if no delegate is selected 2024-02-27 14:41:10 +01:00
Sebastian Martinez 8a3864b19b Update codeLocationSchema with required Oid
We where missing an update for CodeLocation introduced in heartwood
commit 2dea54c6eeb7bf3a177fac77ae04fd4aeadd772d
2024-02-26 15:53:02 +00:00
Sebastian Martinez 1471fb1709 Add edited label to patches 2024-02-23 07:53:48 -03:00
Sebastian Martinez dbfb56f37b Remove node config from httpdStore and poll only active tab and browser 2024-02-20 12:02:41 +00:00
Sebastian Martinez d216caec7d Improve catching of errors when loading routes
- Handle ResponseParseErros, ResponseErrors and normal errors
  differently.
- Show them all in the same `LoadError` view
- Add a subtitle to give users some more information on what could have
  gone wrong.
- Add more properties to the copyable error message to make debugging
  easier.
2024-02-15 13:26:11 -03:00
Sebastian Martinez 8450f0cd9c Remove eslint disable ts next line 2024-02-15 09:38:28 -03:00
Sebastian Martinez 389ecc95ba Fix prefferedSeeds typo 2024-02-15 09:38:28 -03:00
Sebastian Martinez 0cd667c925 Add supportWebsite config param 2024-02-15 09:38:28 -03:00
Sebastian Martinez bdd83644a6 Add CONTINUE_ON_ERRORS test flag
This allows when debugging tests to avoid that the test ends before
having an opportunity to debug what really went wrong.
2024-02-15 09:38:28 -03:00
Sebastian Martinez 364844f47f Remove unused error.ts file 2024-02-15 09:38:28 -03:00
Sebastian Martinez 90de4d538c Open same page when clicking on make changes on local machine 2024-02-13 06:57:24 +00:00
Sebastian Martinez a602f5d255 Change Radicle install command
This makes the command compatible with user that use e.g. the fish
shell.
2024-02-13 06:17:07 +00:00
Sebastian Martinez adb6e06f9e Fix autofocus issues on comment components 2024-02-13 05:24:33 +00:00
Sebastian Martinez 3069198654 Use existing components for new issue view 2024-02-13 05:24:33 +00:00
Sebastian Martinez 0f0b0e0e16 Improve checks for allowing users to edit seeding 2024-02-08 17:12:55 -03:00
Sebastian Martinez 76ed6399c4 Remove caching projects found status 2024-02-08 12:45:58 -03:00
Sebastian Martinez 38f0a0cac1 Query local node for project availability instead of seed node 2024-02-07 12:03:47 +00:00
Sebastian Martinez 2b3b8bc0de Add redirection to project depending on rad-web cwd 2024-02-07 11:47:08 +00:00
Sebastian Martinez 1324c8e320 Revert bottom padding in patch revision descriptions 2024-02-05 11:14:19 +01:00
Sebastian Martinez 00c08ddd66 Change config edit command in preferredSeedsDropdown to rad config edit 2024-02-02 15:31:10 +00:00
Sebastian Martinez 9919704449 Fix HomepageSection overflow 2024-02-02 15:31:10 +00:00
Sebastian Martinez fca515ab00 Bump heartwood and nix flake lock 2024-02-02 13:33:10 +01:00
Sebastian Martinez f0758de9f3 Add reactions to patch revisions
- Also adapts to the new reactions API schema everywhere.
2024-02-02 13:33:07 +01:00
Sebastian Martinez ebfec3fd8e Set Revision expanded state only on first mount
Instead of recalculating the expanded state of a revision on any
`patch.revisions` variable change, we should just use it once on Mount
and then let the `Revision` component manage their expanded state
internally.
2024-02-02 13:09:35 +01:00
Sebastian Martinez ef7a2659b5 Fixes e2e test suite relation with seed.radicle.garden
- Due to missing preferredSeed config option we where trying to connect to
seed.radicle.garden on the fixture creation.
- This commit also starts first nodes before httpds due to the config
being updated by the node.
2024-01-29 17:17:03 +01:00
Sebastian Martinez 06f43a82a9 Change font in TextInput component 2024-01-26 14:45:01 +00:00
Sebastian Martinez a585c2264a Display CobStateButton in every Patch tab 2024-01-26 14:44:56 +00:00
Sebastian Martinez e31b5efe7d Set Sidebar state from localStorage 2024-01-26 14:44:49 +00:00
Sebastian Martinez 7fdcd816d1 Add missing absolute timestamps back as title tooltip 2024-01-25 17:05:07 +00:00
Sebastian Martinez d50f0ca434 Don't push empty project description to page title 2024-01-25 16:25:47 +00:00
Sebastian Martinez 27dcde41b0 Update actions in github workflow to v4 2024-01-25 16:14:16 +00:00
Sebastian Martinez 908c10b3a9 Update dependencies 2024-01-25 16:14:16 +00:00
Sebastian Martinez 9ee2a4578f Add share button 2024-01-24 21:58:18 +01:00
Sebastian Martinez 9ca438ad8e Run patch editing sequentially 2024-01-24 13:50:56 +00:00
Sebastian Martinez 196beca898 Change titles to font-weight semibold 2024-01-23 10:14:37 +01:00
Sebastian Martinez 10170d79e5 Add local switch and contextual help to sidebar 2024-01-19 17:01:01 +00:00