Commit Graph
3496 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš b5977588ae Show correct meta key on Linux/macOS in hotkeys modal 2024-02-13 13:53:58 +00:00
Michael Raitza c3626ea5ae Update npm dependencies hashes 2024-02-13 13:15:14 +00:00
Rūdolfs Ošiņš 4d259a944d Tweak NodeInfo button wording
Sync -> Offline
Syncing -> Online
2024-02-13 09:31:13 +00: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
Rūdolfs Ošiņš bf7ee90180 Fix Textarea disabled preview button color 2024-02-13 05:24:33 +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
cloudhead fbfac4a6dc Change default seeding scope to 'all'
This makes the default policy `block` with scope `all`. The good thing
about this is that you don't have to manage individual nodes in the
beginning. You simply seed the repos you want, and everything is
followed within those repos. This matches user expectations, as `rad
seed` does what you expect it to do.

For open-policy seed nodes, it also means that simply changing `block`
to `allow` from the default config is all you need.

This leaves the non-default `followed` scope as a more "advanced"
setting, since it is much more cumbersome: it forces you to follow a
user before you can see their issues/patches, which is not something
most users expect coming from old-shcool forges.
2024-02-12 10:56:21 +01: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
Rūdolfs Ošiņš b4dca512cc Don't do two requests when expanding folders 2024-02-07 17:32:09 +00:00
dnlklmn 339bd71875 Make non-selected tab on patch regular weight 2024-02-07 15:23:45 +01:00
dnlklmn 9927520429 Fix project card badge colors and size 2024-02-07 15:14:07 +01:00
dnlklmn 88ac279fe6 Make NodeId popup appear after longer 2024-02-07 15:14:07 +01:00
dnlklmn 0bb5d04a4e Improve share and get link interactions 2024-02-07 15:14:07 +01:00
dnlklmn 4ccd02b19b Update icons 2024-02-07 15:14:07 +01:00
dnlklmn 9224d42ec4 Make rid lighter on hover 2024-02-07 15:14:07 +01:00
Georgios Jason Efstathiou beb74abec3 Load home page sections asynchronously 2024-02-07 13:33:16 +00: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
Michael Raitza 414c6cafda Add update script for heartwood version and flake
Use this script to update tests/support/heartwood-version and keep the
flake in sync with it.

Alternatively, run the script as

    scripts/update-flake $(cat tests/support/heartwood-version)

to bring the flake back into sync.

This also updates the flake.lock and the updates the state of the npm
dependencies when run from a nix-enabled system.
2024-02-05 15:05:32 +01: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
Georgios Jason Efstathiou b1411ae4a5 Implement new landing page 2024-02-01 17:29:40 +00:00
Sebastian Martinez 31c0eb37bf httpd: Add --path param to rad-web
This passes a `path` variable to the `auth_url` so consumers can open
desired pages directly.
Also checks the cwd to start rad web with a path corresponding to it.
2024-02-01 17:33:21 +01:00
Sebastian Martinez f576028bfb httpd: Add /nodes/:nid and /nodes/:nid/inventory endpoints to get info on other nodes 2024-02-01 17:29:10 +01:00
Sebastian Martinez 9abad78582 httpd: Add review ids to review json 2024-02-01 17:25:18 +01:00
Rūdolfs Ošiņš 3a293a9862 Fix branch selector icon alignment 2024-02-01 13:20:49 +00:00
dnlklmn 232e6f1b5a Prevent sidebar content animation when switching themes 2024-02-01 09:40:30 +00:00
Sebastian Martinez 4496b80b3e cli: Display rad-web in rad --help
Only show `rad-web` in help, if we are able to run the binary.
2024-01-31 13:30:40 +01:00
Sebastian Martinez 7b9350e154 httpd: Add reactions to revisions, improve json for comment reactions
Instead of using tuples and lots of arrays, this commit tries to use
`BTreeMap`s to provide more context to review, issues, patch and other
comments.

Also the returned object by the httpd is more aligned with what is
needed by the consumer, so less recomputation is needed for display.
2024-01-31 12:14:05 +01:00
Michael Raitza ab982e934e Add a flake to build the web frontend
Includes the twemoji assets and a check output that runs all tests
except e2e.

Updates to test/support/heartwood-version must also be reflected in
flake.nix in inputs.heartwood.url.
2024-01-29 18:58:44 +00:00
Rūdolfs Ošiņš f9b1e5bf79 Install deps regardless of cache hit 2024-01-29 18:54:25 +00: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
cloudhead e9be685edf Fix code around default policies
Make the code a little clearer and ensure that we are always calling the
`Config` and not the `Store`, so that we fallback on the default policy.
2024-01-25 21:11:08 +01: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
cloudhead 646fb7a24b httpd: Don't show unseeded repos 2024-01-25 16:31:28 +01:00
Rūdolfs Ošiņš 65e906fd07 Bump heartwood version
This fixes the landing page not showing local projects anymore.
2024-01-25 11:58:53 +00:00
Sebastian Martinez 9ee2a4578f Add share button 2024-01-24 21:58:18 +01:00