Sebastian Martinez
cb7e01105b
Update radicle-httpd to latest radicle crate
2024-12-05 09:21:19 +01:00
Sebastian Martinez
544cdca396
Improve the ResponseParseError description
...
In case of a `ResponseParseError` instead of comparing the versions of
httpd and the web client strictly, we should make sure to check if httpd
fulfills the web clients version requirement (to be the same major
version) and else fallback to a more verbose error about the different
versions.
2024-12-04 22:11:36 +01:00
Sebastian Martinez
5c8844db1c
Fix radicle crate at 0.14.0
...
Also update `heartwood-release` to a pre-release to get the tests to
pass
2024-12-02 17:06:42 +01:00
Sebastian Martinez
e093a5bc29
Let ts_rs run formatting types instead of prettier
2024-12-02 16:34:12 +01:00
Sebastian Martinez
45699e4fc8
Run checks for all rust crates
2024-12-02 16:34:12 +01:00
Sebastian Martinez
1f779a8a1b
Add tests for list_commits unit test
2024-12-02 16:34:12 +01:00
Sebastian Martinez
70ee53e859
Add unit tests for radicle-types crate
2024-12-02 16:34:12 +01:00
Sebastian Martinez
b7b71ccb11
Move AppState to radicle-types
2024-12-02 16:30:54 +01:00
Sebastian Martinez
f5d559158b
Add list_commits tauri command
...
Returns all commits for a specific repo.
Takes a `parent` argument as starting point for the git history.
Uses the `head` field of the project payload if not provided.
Instead of since and until timestamps uses cursor and take params to
paginate the commit history.
2024-12-02 16:30:54 +01:00
Sebastian Martinez
a2776c27a4
Remove migrate argument since not used anymore
2024-12-02 16:30:54 +01:00
Rūdolfs Ošiņš
52c25a905d
Truncate long title in breadcrumbs with ellipsis
...
We can still see the full title at the top of the issue.
2024-12-02 10:45:24 +01:00
Rūdolfs Ošiņš
cd0bc9c01b
Fix long title wrapping in issue view
2024-12-02 10:45:07 +01:00
Rūdolfs Ošiņš
312402b5b5
Update issue title in breadcrumbs on edit
2024-12-02 10:31:42 +01:00
Rūdolfs Ošiņš
d86291eb79
Update comment count in second column when adding comments
2024-11-29 17:03:52 +01: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
Rūdolfs Ošiņš
84fbb1cfb2
Update dependencies
2024-11-27 15:44:12 +01:00
Rūdolfs Ošiņš
bc53d1b822
Bump nodejs version to next LTS
2024-11-27 15:38:21 +01:00
Sebastian Martinez
b21b2bae5e
Add overscroll-behavior: contain to PeerBranchSelector
...
Avoids the entire window to scroll when only scrolling inside the
`PeerBranchSelector`
2024-11-27 15:12:44 +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
f19ecf09ed
Detect changes to system theme on first load
2024-11-26 09:22:13 +01:00
Sebastian Martinez
691e0255fb
Improve handling of localStorage and svelte stores
...
Also moving the svelte-stored-writable package into the repo.
So we have it closer for maintenance, we can eventually rewrite it in
svelte 5 runes later.
Reference: https://github.com/efstajas/svelte-stored-writable/pull/5
2024-11-25 17:06:26 +01:00
Jappie3
032b269cb9
add event listener to hot reload theme
2024-11-25 16:49:50 +01:00
Jappie3
b050924caa
add follow system theme button & functionality
2024-11-25 14:26:32 +01:00
Sebastian Martinez
4670370562
Use Into::into instead of a closure in radicle-types
2024-11-22 11:15:05 +01:00
Sebastian Martinez
c176fb9a3d
Take a &identity::Did for the Author constructor
2024-11-22 10:54:49 +01:00
Sebastian Martinez
936d8197b1
Update heartwood crates to commit 2d13591
...
- Add `migrate::ignore` callback to `cob::cache` calls
- Remove the `Verified` trait from the `Doc` struct
- Update `Doc` fields with read-only methods
2024-11-22 10:54:49 +01:00
Sebastian Martinez
06437656c0
Add filter for repos to list_repos command
...
Instead of only returning seeded repos, this repo adds 3 new filter
options to the `list_repos` command, under the `show` field
- *all* - All repos that a user has initialized or forked (own
namespace)
- *seeded* - Repos that are beeing seeded by the user
- *delegate* - Repos that the current user is a delegate of.
2024-11-22 09:35:26 +01:00
Sebastian Martinez
c35ab783a7
Add tests to verify authenticated identities
2024-11-21 10:29:24 +01:00
Sebastian Martinez
f23206b83d
Instrument authentication for e2e tests
2024-11-21 10:29:14 +01:00
Sebastian Martinez
7cdf6544ad
Fix error serialize in the test-http-api crate
2024-11-20 14:20:57 +01:00
Sebastian Martinez
ac550e0602
Remove unused console.logs
2024-11-20 12:16:43 +01:00
Sebastian Martinez
743b7af54c
Revert logging from crabnebula dev tools to the tauri-plugin-log
2024-11-20 11:35:50 +01:00
Rūdolfs Ošiņš
982ce568b7
Check auth status periodically
2024-11-19 17:15:00 +01:00
Sebastian Martinez
d52c01e26a
Fix error serialize implementation
2024-11-19 10:42:37 +01:00
Sebastian Martinez
870f0733fe
fix(web): Fix padding between avatar and alias
2024-11-18 09:39:33 +01:00
Samuel Shuert
5ccce437ab
feat(web): Display assignees as nodes
...
Previously assignees were displayed using a chip, which while it looked
nice had the following issues:
- It only showed the node ID rather than the alias (and actually the
node ID was cut off)
- It wasn't clickable to go to the user's profile
- It was not a consistent experience with the rest of the users
displayed around the application (e.g. in reviews, uploader, branches
view).
2024-11-18 09:05:12 +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
Rūdolfs Ošiņš
9ff061793d
Implement loading on scroll for patch second column
2024-11-15 10:05:26 +01:00
Rūdolfs Ošiņš
ff8fca8dd7
Use comment component for patch body
2024-11-15 10:05:26 +01:00
Rūdolfs Ošiņš
e8263b8c21
Rework layout to have a sidebar and second column
2024-11-15 10:05:26 +01:00
Rūdolfs Ošiņš
f815b2dbca
Bump httpd version numbers
...
Bump httpd version numbers
2024-11-11 18:30:39 +01:00
Rūdolfs Ošiņš
9d981f9210
http: Fix encoding issue in raw file handler
...
Turns out "content-type: text; charset=utf-8" wasn't valid, it had to be
"content-type: text/plain; charset=utf-8" for browsers to recognise it
properly.
2024-11-08 12:08:31 +01:00
Sebastian Martinez
376e475adf
Reset Issue component state on reload
...
There was a need to double click on the reply icon in the `Issue` view
to get `topLevelReplyOpen` to the correct state.
2024-11-08 06:49:09 +01:00
Sebastian Martinez
4537a003ad
Refactor issue thread compute to the backend
2024-11-08 06:49:09 +01:00
Sebastian Martinez
93e2770d6d
Fix focus on comment component
2024-11-06 13:26:29 +01:00
Rūdolfs Ošiņš
4428a4576c
Make issue state button reactive to issue state
2024-11-05 15:51:54 +01:00
Rūdolfs Ošiņš
34c64809e2
Load issue activity in the router to prevent flickering
2024-11-05 13:09:59 +01:00
Sebastian Martinez
777430ab92
Add tests for clipboard, issue listing and issues
2024-11-05 12:43:52 +01:00
Sebastian Martinez
58891de06f
Add svelte runes
2024-11-05 10:54:09 +01:00
Sebastian Martinez
737be7935a
Replace <slot> directives with snippets
2024-11-01 13:27:21 +01:00