Rūdolfs Ošiņš
74fa05cf26
Rewrite markdown link navigation
...
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-09 15:17:43 +02:00
Rūdolfs Ošiņš
cb52e96542
Use generic routing Link component everywhere
...
This way we can get rid of the project browsing specific ProjectLink
component and simplify the router types.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-09 15:05:18 +02:00
Sebastian Martinez
bde2d97c9b
Update dependencies
...
We had to change the eventDispatcher for events that shouldn't have a
second parameter to `null` instead of `never`.
See: https://github.com/sveltejs/svelte/pull/8872
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-09 14:02:58 +02:00
Thomas Scholtes
092f8ad774
Don’t leave line selected when switching blobs
...
Fixes #906
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-07 07:41:51 +02:00
Sebastian Martinez
555d4da30c
Fix some style regressions in patch view
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 16:33:17 +02:00
Sebastian Martinez
33594b732f
Change some ProjectLink components into Link
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 14:52:51 +02:00
Sebastian Martinez
fc05770775
Split patch revision creation from patch revision events
...
Also uses same border-radius on comment and other events, and removes
the revision creation as a timeline event.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-07-04 14:52:51 +02:00
Thomas Scholtes
1547e4fc39
Restrict parameters for updating project route
...
We restricted the allowed parameters that are used for project-relative
navigation. This allows us to better understand which of the parameters
are used.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-03 15:03:53 +02:00
Sebastian Martinez
c04d399cf3
Revert HTML tag escaping
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-30 10:01:14 +02:00
Rūdolfs Ošiņš
4c101c2567
Move Blob loading into router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 17:07:04 +02:00
Rūdolfs Ošiņš
eba977e14e
Add icon to Source tab
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 09:31:08 +02:00
Sebastian Martinez
0e6be19373
Add patch reviewers in sidebar
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 17:23:37 +02:00
Sebastian Martinez
ba57506d6d
Update svelte to version 4
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-26 14:13:22 +02:00
Sebastian Martinez
ecabe9b7a8
Escape html tags in marked found outside of code blocks
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-26 13:00:20 +02:00
Sebastian Martinez
52cece4680
Handle custom httpd port
...
We only supported fetching the default httpd port (8080).
This commit removes navigation to `radicle.local` which represents
`0.0.0.0:8080`, and prepares the app for defining custom port.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-14 16:17:21 +02:00
Rūdolfs Ošiņš and Thomas Scholtes
a331721c9f
Move project source browsing loading into the router
...
Co-authored-by: Thomas Scholtes <geigerzaehler@axiom.fm >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-13 14:24:27 +02:00
Sebastian Martinez
87a0fffd7e
Fix alias color in review
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-12 10:01:26 +02:00
Sebastian Martinez
096e9dddb7
Increase height of Command component
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-12 09:37:15 +02:00
Sebastian Martinez
6d6cbbd34c
Fix margin between comments and other card elements
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +02:00
Rūdolfs Ošiņš
ccc854dac1
Add 16x16 icons to project header
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-06 11:06:05 +02:00
Rūdolfs Ošiņš
4ca660504e
Make all copy command to clipboard instances consistent
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-05 18:04:19 +02:00
Rūdolfs Ošiņš
e79685b8a6
Improve patch view visuals
...
- underline in commit hover state
- indent revision comments
- dim "Revision" text in header
- fix vertical alignment of header items in right-hand-side
- don't show first revision description, it's already shown as part of the
patch description
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-05 16:15:11 +02:00
xphoniex
0b61ad4aa2
Improve commit listing in revision component
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-06-05 11:07:50 +02:00
Sebastian Martinez and Rūdolfs Ošiņš
c230731ce0
Redesign Connect button to reflect httpd status
...
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org >
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-01 14:49:22 +02:00
Rūdolfs Ošiņš
dd3b514dfc
Properly await promises
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-29 15:54:00 +02:00
Rūdolfs Ošiņš
37f6cccced
Mark floating promises with void
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-29 15:54:00 +02:00
xphoniex
39874d8d51
Add alias to Patch
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-29 12:14:17 +00:00
Sebastian Martinez and Rūdolfs Ošiņš
46494461f2
Refactor Dropdown component
...
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org >
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-29 10:15:30 +02:00
Sebastian Martinez
3465c92a7e
Fix showing Authorship and CommentComponent for review
...
Show either an `Authorship` component if no review comment is available
or a `CommentComponent` if there is a comment
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-29 09:30:54 +02:00
xphoniex
227424dbeb
Add option to view diff between revisions
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-28 13:58:57 +00:00
Rūdolfs Ošiņš
a671706979
Use colors in badges and icons consistently
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-23 12:32:39 +02:00
Sebastian Martinez
380366be2e
Fix padding and linebreaks in markdown
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-17 12:55:43 +02:00
Rūdolfs Ošiņš
2563438874
Add icons for issues and patches
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-16 14:38:26 +02:00
xphoniex
2b21390540
Add alias to PeerSelector
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-16 08:17:48 +02:00
Rūdolfs Ošiņš
2cd3a10f8f
Make sure filter tabs are displayed properly on mobile
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 14:16:35 +02:00
xphoniex
305c9677fd
Add alias to Comment
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-12 14:30:27 +00:00
xphoniex
04bae0ade6
Add alias to PatchTeaser
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-12 14:57:10 +02:00
Rūdolfs Ošiņš
b997b12353
Implement data loading in router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-11 10:51:35 +02:00
Sebastian Martinez
d8d049518b
Improve patch timeline and add description
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-10 09:15:19 +02:00
Sebastian Martinez
03c05edeca
Updates marked to v5.0
...
Disables some of the deprecated options to avoid the console warnings.
Removes obfuscation of plain-text emails.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-08 10:35:24 +02:00
Rūdolfs Ošiņš
d54889cea1
Allow markdown in issue/patch titles
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 16:47:19 +02:00
Rūdolfs Ošiņš
1f09d8a2a8
Allow opening links in a new tab
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-27 15:54:53 +02:00
Rūdolfs Ošiņš
67f02463ee
Refactor commit history view
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-21 11:36:50 +02:00
Rūdolfs Ošiņš
9704318248
Refactor seed view
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš
26419a74e2
Simplify the ProjectCard component
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-20 14:41:19 +02:00
Sebastian Martinez
9799695a1a
Fix relativeTimestamp function to get timestamp in ms
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-18 15:40:57 +02:00
Sebastian Martinez
6f413cc5ac
Remove word-break: break-all from Comment component
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-15 10:22:04 +02:00
Sebastian Martinez
534430b2ec
Fix relative markdown file links
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 17:05:42 +02:00
Sebastian Martinez
e5ec6e33fb
Improve general UX
...
- Hide issue title edit button when not logged in
- Show Blob placeholder when empty file
- Allow selecting blob code without the lines
- Add Clipboard component to object id in CobHeader
- Add blockies to Patch and Issueteasers
- Reduce formatted object ids to 7 instead of 11 chars
- Remove line breaking on soft wraps from Markdown
- Reduce font size of code blocks in Markdown
- Improve margins in IssueTeaser
- Reduce font size in FileDiffs
- Improve teasers, assignees and tags highlighting
- Reduce font size of code
- Change commit teaser subtitle
- Show Clipboard in commit sha1
- Add blockies to PeerSelector
- Adjust commit view CSS
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 16:15:51 +02:00
Sebastian Martinez
94632d7ea0
Fix patches state colors
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-14 16:06:09 +02:00