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
Thomas Scholtes
f5900b873f
Move History state loading to router
...
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-06-13 17:52:39 +02:00
Rūdolfs Ošiņš
022bfd55f7
Fix patch revision selector
...
This is a regression we introduced in
https://github.com/radicle-dev/radicle-interface/pull/767 .
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-13 17:01:10 +02:00
Rūdolfs Ošiņš
833805f707
Move patch loading to router
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-13 15:34:40 +02:00
Rūdolfs Ošiņš
55fec2f343
Issue loading
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-13 15:07:31 +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
2af304eb97
Fix navigation after selecting revision
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +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
Sebastian Martinez
b75954d91e
Avoid wrapping PatchTeaser tag to new line
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +02:00
Sebastian Martinez
107696c3c9
Add a cobs fixture and issue and patch tests
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-08 11:13:28 +02:00
Rūdolfs Ošiņš
5b3c293293
Fetch tree only when it's expanded
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-06 14:32:10 +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ņš
28ea7724d3
Fix build
...
I broke it in https://github.com/radicle-dev/radicle-interface/pull/804 .
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-06 10:07:50 +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
xphoniex
c3346575ee
Show number of nodes tracking a repo
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-06-02 13:11:27 +00:00
Sebastian Martinez
5de111e963
Add font-family monospace to commit description
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-02 13:17:44 +02:00
Sebastian Martinez
2c11e9e520
Display a seed URL that matches isLocal as radicle.local
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-02 10:29:41 +02:00
Rūdolfs Ošiņš
42c5385e42
Move comment counter before the diff stat badge
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-01 16:24:11 +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
Sebastian Martinez
99f27350c1
Fix out-of-state commit listing when refreshing page after push
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-01 10:09:12 +02:00
Sebastian Martinez
7c71ff9ad6
Fix wrapping of PatchTeaser
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-31 15:33:00 +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
47622735c7
Use description from first revisions of Patch
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-29 13:02:44 +00:00
xphoniex
da361fb399
Use author from Revision as it might differ from original one
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-29 15:57:07 +03:30
xphoniex
824c719313
Use the new Merge scheme for Patch
...
`merges` field has moved one level up, from `revisions` to `patch` itself
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-29 12:14:17 +00: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
bb9ea851fc
Use Raw button to navigate to raw file
...
For toggling Markdown view, we add a button that either shows `Plain` or
`Markdown`.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-05-17 12:15:29 +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ņš
26944d5334
Keep global tabs selected when viewing individual issue/patch/commit
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
11af7bed86
Remove issue/patch filter query when navigating away
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
e41a12d663
Separate global project header from source browsing header
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 17:07:48 +02:00
Rūdolfs Ošiņš
f9445de618
Don't select the + and - signs when selecting a diff
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-15 14:26:40 +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
3eab5b9d62
Add alias to Issue/IssueTeaser
...
Signed-off-by: xphoniex <dj.2dixx@gmail.com >
2023-05-12 14:58:16 +02: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ņš
45c6f20855
Make commit list and commit view visually consistent
...
We style the commit teaser and commit header visually to fit in better
with patches and issues.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 08:26:01 +02:00
Rūdolfs Ošiņš
1df28abed2
Show comments that are thread replies to the issue body
...
Previously treated the issue body as a comment and people could post a
thread reply to that first comment. Now we treat the first comment as
the issue body and disallow replying to it via a thread. There are still
some old replies, we show them as regular comments.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 08:10:34 +02:00
Rūdolfs Ošiņš
34f40fba02
Adjust action wording to show only latest action in patch list
...
It will show either "Opened x days ago" or "Updated x days ago"
depending whether there is one or multiple revisions.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 07:59:54 +02:00
Rūdolfs Ošiņš
d5e194bf11
Make diff line background uniform across gutter and body
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-05-12 07:51:26 +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