Alexis Sellier
94bc6d7544
Fix padding in members
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 13:57:45 +01:00
Alexis Sellier
ff94d8867c
Fix address showing avatar/name without resolve
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 13:57:45 +01:00
Alexis Sellier
53dd216358
Improve seed assertion errors
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 13:57:45 +01:00
Alexis Sellier
1f9ba24f91
Fix ENS link
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 13:57:39 +01:00
Alexis Sellier
e6f4441be7
Revise seed config
...
No longer use `Config` to store the seed config.
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 13:27:12 +01:00
Alexis Sellier
3fcbffe307
Don't query seed if no seed configured
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 12:22:46 +01:00
Sebastian Martinez
e55be482b1
Fix CI
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-09 12:22:37 +01:00
Alexis Sellier
2fc2639b49
Fix anchor lookup in project view
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 10:36:46 +01:00
Alexis Sellier
b26192f933
Start re-imagining anchors
...
* Anchors are loaded alongside projects, but project listings always
come from seeds now
* Removing project info loading from `Widget`
* Start unifying anchor handling
* Rename "Project*" to "Anchor*" when appropriate
* Move to new project api with embedded metadata
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 10:36:03 +01:00
Alexis Sellier
3f93c97e54
Improve 404 styles
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 10:34:19 +01:00
Sebastian Martinez
d439016806
Minor fixes
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-09 10:10:11 +01:00
Sebastian Martinez
6a9dda2cc4
Change variable names in registration flow
...
Since we are now more open to other ENS domains, in the registration
view form we should refer to domain instead of sudomain, and in the
creation process we should refer to name instead of subdomain
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-08 14:02:33 +01:00
Sebastian Martinez
1a8e7d9352
Allow searching of non-radicle domains
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-08 13:53:51 +01:00
Sebastian Martinez
e65ce275ac
Fix remove undefined when showing Form
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-08 13:47:47 +01:00
Sebastian Martinez
8328ca3e04
Allow user see non-radicle ENS domains in registration form
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-08 11:20:10 +01:00
Sebastian Martinez
a43ac33ddc
Refactor org and user routes
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-08 10:16:45 +01:00
Sebastian Martinez
82a2ac6f64
Allow users to pass project names into URL
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-07 12:20:25 +01:00
Sebastian Martinez
0263a5f032
Catch Seed class construction errors
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-07 11:35:54 +01:00
Sebastian Martinez
75ccac422e
Add link to seed node from registration page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-06 21:32:36 +01:00
Alexis Sellier
4b1e192b1f
Add .git to clone URL
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:22:43 +01:00
Alexis Sellier
07e6a62f4a
Fix project description on mobile
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:20:41 +01:00
Alexis Sellier
580651a958
Fix commit teaser mobile styles
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:20:32 +01:00
Alexis Sellier
4835a7680a
Fix header ellipsis fill
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:20:19 +01:00
Alexis Sellier
3a94e215ba
Work on styles and visuals
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:09:37 +01:00
Sebastian Martinez
02a0ed4664
Fix Icon behaviour with empty clickhandler
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:05:22 +01:00
Sebastian Martinez
9a91e53619
Toggle peer and branch dropdown
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-04 21:54:59 +01:00
Sebastian Martinez
aad01f74b4
Improve reactivity and UX of pending anchors
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 15:39:57 +01:00
Sebastian Martinez
321252592a
Fix Org.get method
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 15:39:57 +01:00
Alexis Sellier
b1a6d8cb86
Improve form validation by showing examples
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-02 15:35:49 +01:00
Sebastian Martinez
547c87d24b
Sanitize markdown content
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 15:30:58 +01:00
Sebastian Martinez
e3de337769
Move reactive config part into session state
...
This PR moves the signer "clones" the signer property from the `Config`
object into the `session` state, to allow Svelte reactivity, e.g. in the
Testnet Faucet, where we rely on `config.signer` but since it only
changes when the `Config` object in `App.svelte` changes we can't react
on it.
For now I only cloned the signer property, if we see in the future that
there are other properties that need to change with session we can add
them.
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-02 15:25:58 +01:00
Sebastian Martinez
4b79ad9ca7
Update marked to 4.0.12
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 13:00:43 +01:00
Sebastian Martinez
ea0e8bd3d3
Fix type errors
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 12:29:20 +01:00
Sebastian Martinez
6e1c8a09c8
Update package-lock
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 12:29:20 +01:00
Sebastian Martinez
7ef1428284
Add commit detail view
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 12:29:15 +01:00
Alexis Sellier
0cf6ef3427
Fix domain input height
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-31 16:28:10 +01:00
Sebastian Martinez
0a2481792c
Add unit & integration testing
...
* Add Cypress component testing
* Add SeedAddress component testing
* Add Error component test
* Add Search component test
* Add code coverage instrumentation
* Add BranchSelector component testing
* Add coverage check to CI
* Require node version 14
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-31 16:05:23 +01:00
Sebastian Martinez
7ba5ce0f60
Refactor source params into separate object
...
We had a lot variables that we had to pass down from the project view,
and only very few where important to the reactivity of the components.
By using the resolved Promise from `getProject` as transport we can use
now the `source` variable and get the required params by destructuring
it.
In short we can pack now the following params:
```
urn, org, user, seed, peer, project, branches, peers, config, anchors
```
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-26 10:03:26 +01:00
Sebastian Martinez
34673adf4d
Show project with anchor when no commit hash passed
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-18 20:47:22 +01:00
Alexis Sellier
85f8c130cd
Show project head on seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:06:47 +01:00
Alexis Sellier
29e8b7b0f3
Use same width for seed page as org page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
9a92842c21
Create "Dropdown" component
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
a6c9e1bc2e
Don't show branch selector if only one branch
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
2836397883
Make seed stat link to seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
22437fcf4f
Make small improvements to seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
066a415234
Show seed ID in seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
6b84e519d3
Make icon filling optional
...
We give the option to fill icons when needed, otherwise
the SVG is rendered "as-is".
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
1e470f9530
Fix project root link to include seed
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
d4c55bbbf4
Fix alignment of seed address
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Sebastian Martinez
7cbdbd5944
Fix Org Treasury token balances
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 22:56:48 +01:00