Thomas Scholtes
d0ee6e42e6
Simplify ProjectLoadedView
...
We simplify some of the choices for `ProjectLoadedView` by reducing the
nesting and removing redundant properties.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-12 15:59:46 +02:00
Thomas Scholtes
9dd3af0f9f
Cleanup shared peer and revision props for project route
...
We move the `peer` and `revision` properties from the shared
`ProjectLoadedParams` interface to the `tree` and `history` subroutes
where they are needed.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-12 15:15:39 +02:00
Thomas Scholtes
f09e3f6edf
Remove redundant selectedCommit route property
...
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-11 14:22:41 +02:00
Thomas Scholtes
a7f267932d
Stop handling URL hash through routing
...
We stop handling the URL hash through the routing system. Hashes are
local to the current view and can be handled by the shown components.
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-10 15:15:22 +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
Rūdolfs Ošiņš
44e55415d4
Slim down Project header props
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-05 14:07:05 +02:00
Rūdolfs Ošiņš
70a876b65f
Move SourceBrowsingHeader into the respective sub views
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-05 14:07:05 +02:00
Rūdolfs Ošiņš
92f6d58dfc
Use Link instead of ProjectLink in Issues/Patches/Commits
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-04 15:45:05 +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
Thomas Scholtes
b11e4840f9
Eliminate top-level search parameter from project route
...
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm >
2023-07-03 13:42:26 +02:00
Rūdolfs Ošiņš
e95419831a
Pass down the search prop only where necessary
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-07-03 13:42:26 +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ņš
3f7a58c489
Handle app URL translation into seed BaseUrl in one place
...
To make the code easier to reason about we handle all app URL encoding
and decoding and the related seed BaseUrl extraction in a single place.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-28 10:51:59 +02:00
Sebastian Martinez
31be78144f
Fix padding issues of project headers on mobile
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-27 10:19:56 +02:00
Rūdolfs Ošiņš
d4650ab482
Simplify project view component
...
We refactor the project view by moving all sub-view related variables
into the respective sub-views.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-06-20 14:59:58 +02:00
Sebastian Martinez
4df9810088
Rename hostnamePort to hostAndPort
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-06-14 16:19:05 +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
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ņš
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
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 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
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
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ņš
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ņš
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
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
Sebastian Martinez
d77b6041a6
Fetch cobs by selected or default state
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-04-20 22:29:37 +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ņš
c8c251fabd
Add httpd-client api library
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-04-11 15:31:08 +02:00
Sebastian Martinez
6a03ccef2d
Update patch state from proposed to open
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-30 17:51:58 +02:00
Sebastian Martinez
b5de1d7012
Add patches read-only view
...
- Patches listing
- Patch detail view
- Ability to switch between patch revisions
- Add or remove tags from a patch (if logged in)
- See the following information on a patch
- Title
- State
- Author of first revision
- Timestamp of creation of first revision
- For each revision a user can see
- Merges
- Reviews (accepted, rejected or just commented, no inline code comment support yet)
- Comments on Reviews if available no code comments yet
- See related commits
- A changeset over the entire revision
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-28 17:41:04 +02:00
Sebastian Martinez
5549be9c1d
Add issue commenting and edit metadata
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-17 14:20:12 +01:00
Rūdolfs Ošiņš
2bad94457c
Migrate to the heartwood protocol stack
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-03-03 14:23:46 +01:00
Sebastian Martinez
d1168dc6ff
Add issue creation
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-03-01 15:12:03 +01:00
Sebastian Martinez
25135c7025
Remove Ethereum functionality
...
This commit removes everything Ethereum related, this includes:
- profile pages (which relied on Ethereum information)
- testnet faucet
- vesting contract lookup
- .radicle.eth ENS registrations
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2023-01-30 11:30:41 +01:00
Rūdolfs Ošiņš
3d018dae18
Refactor modals
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2023-01-30 09:24:49 +01:00
Rūdolfs Ošiņš and xphoniex
25edd969f8
Rename Seed class attributes
...
seed.api -> seed.addr
seed.link -> seed.node
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-28 15:28:34 +01:00
Rūdolfs Ošiņš and xphoniex
1a5430aced
Rename URN -> ID
...
Co-authored-by: xphoniex <dj.2dixx@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-27 15:43:46 +01:00
Rūdolfs Ošiņš
caa83db480
Organise files more consistently
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-12-22 16:46:08 +01:00