Sebastian Martinez
6aef218254
Restrict DOM sanitization to limited whitelist
2024-12-18 13:57:25 +01:00
Rūdolfs Ošiņš
bec0404b17
Align text area with avatar when editing comments
2024-12-18 09:48:14 +01:00
Rūdolfs Ošiņš
bbb60c847c
Truncate ExtendedTextarea caption on smaller viewports
2024-12-17 19:02:37 +01:00
Rūdolfs Ošiņš
9f83489634
Decrease vertical spacing between comments
2024-12-17 16:50:03 +01:00
Sebastian Martinez
d6d9c43ee6
Fix regression on height of CreateIssue description field
...
Also instead of calculating the height of the description textarea we
should allow flexbox to extend the description field to fill the entire
height.
2024-12-17 12:06:42 +01:00
Sebastian Martinez
a71f6b7feb
Update dependencies
2024-12-17 10:42:51 +01:00
Rūdolfs Ošiņš
8171b11424
Make code block corners pixelated in markdown
2024-12-13 17:48:37 +01:00
Rūdolfs Ošiņš
480cbe7031
Divide patch page into patch and revision tabs
2024-12-13 17:47:03 +01:00
Rūdolfs Ošiņš
1bb8eaf9f7
Add patch metadata header
2024-12-13 16:57:38 +01:00
Rūdolfs Ošiņš
d07ee2c2e1
Fix FileDiff corner styling
2024-12-13 16:32:38 +01:00
Rūdolfs Ošiņš
6b54c4ab66
Fix sticky file header positioning
2024-12-13 14:59:29 +01:00
Rūdolfs Ošiņš
fc5970afcd
Remove unneeded border radius CSS properties
...
We don't have round corners anywhere in the designs.
2024-12-13 14:23:31 +01:00
Sebastian Martinez
5f26f71b86
Avoid issue creation without title or description
2024-12-13 12:26:51 +01:00
Sebastian Martinez
ca4d9d13fd
Add embeds to the Textarea
2024-12-13 12:26:51 +01:00
Rūdolfs Ošiņš
9fd2d489ae
Fix select all patches button
...
There was a regression in the filter persist commit.
2024-12-11 17:31:21 +01:00
Rūdolfs Ošiņš
868dfcd2a8
Make top-bar narrow
...
This also moves the breadcrumbs into the main content area in selected
views.
2024-12-11 17:12:57 +01:00
Rūdolfs Ošiņš
0e427c7a6f
Persist issue/patch filter state between list and single views
2024-12-10 17:43:53 +01:00
Sebastian Martinez
3109e1d231
Try to fetch alias on AssigneeInput
2024-12-09 16:24:14 +01:00
Sebastian Martinez
3b0daefec4
Add alias tauri command
...
Returns either `null` or `string` for a lookup of an alias.
2024-12-09 16:20:37 +01:00
Sebastian Martinez
4f046343f3
Add syntax highlighting for diffs
2024-12-09 14:53:17 +01:00
Rūdolfs Ošiņš
6bbaaa3115
Fix title alignment when switching to editing
...
There was a slight jump of the title when clicking the edit title
button, this fixes it.
2024-12-09 10:57:10 +01:00
Rūdolfs Ošiņš
6206e55b96
Fix issue scrolled to the bottom on navigation
...
If the issue with comments is taller than the viewport then the focus on
the comment reply at the bottom of it would cause the page to be
scrolled to the end when navigating from the issue list. We want to
always open the issue page at the top, this fixes it.
2024-12-06 12:16:50 +01:00
Rūdolfs Ošiņš
15e2935cee
Disable "New" issue button on issue creation view
...
If the user pressed that button multiple times then the "Dismiss" button
would have to be pressed multiple times too because it just pops the
history.
2024-12-06 11:48:18 +01:00
Rūdolfs Ošiņš
96b422bdac
Add hover styles to icon when the onclick prop is passed
2024-12-06 11:48:18 +01:00
Rūdolfs Ošiņš
2abb7f16cd
Add label and assignee inputs to the create issue view
2024-12-06 11:48:18 +01:00
Sebastian Martinez
ece9ee1eb0
Avoid announcing changes when node is stopped
...
Also in the edge case that the front-end didn't update and the node just
stopped in between we fallback gracefully instead of returning an error
on the back-end.
2024-12-06 10:06:45 +01:00
Rūdolfs Ošiņš
7d5ff0ac1d
Implement assignee editing
2024-12-05 15:55:19 +01:00
Rūdolfs Ošiņš
379c3137f3
Implement label editing
2024-12-05 15:51:51 +01:00
Rūdolfs Ošiņš
a2e212303d
Implement label editing
2024-12-05 15:48:02 +01:00
Sebastian Martinez
ebc8b3236b
Improve e2e clipboard tests
...
Instead of trying to copy the RID of the first repo card, try to copy
the one you later expect.
2024-12-05 14:48:43 +01:00
Sebastian Martinez
653cf9a48d
Sort repos by activity
2024-12-05 13:56:12 +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
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
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