Rūdolfs Ošiņš and Brandon Oxendine
b35d46752f
Add theme switching button
...
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com >
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-15 12:45:56 +02:00
Sebastian Martinez
271fcde43f
Remove deprecated org parts
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-13 10:31:28 +02:00
Rūdolfs Ošiņš
591c19a256
Refactor typography styles
...
- Move all global typography styles to its own file. This makes it
easier to find all the typography related definitions for newcomers.
- Prefix all typography related global CSS classes with a unique prefix
`.txt-`. This allows us to grep the codebase and see exactly where
they are applied. Another benefit of this convention is that it helps
to avoid accidentally mixing global and local styles. Having global
CSS classes that sometimes overlap with component CSS classes makes it
very hard to reason about the resulting visuals and making changes
unpredictable.
- Introduce CSS variables for standardised typography sizes and apply
them to the whole codebase consistently. This way we can adjust the
size in one place and it will be applied everywhere.
- Avoid using predefined HTML tags which might have differing styling
from browser to browser, e.g. `<h1>`, `<strong>`. We should stick to
applying styling either by adding a specific global CSS class or using
the predefined CSS variables, this way we can be sure that the styles
won't be overridden by browser defaults.
- Have a minimal set of modifiers `.txt-monospace` and `.txt-bold` and
apply them consistently. Since `.txt-monospace` is defined via a CSS
variable, we'll be able to switch out fonts via a user setting in the
future.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-09 14:50:26 +02:00
Sebastian Martinez
b1e0c7a1b5
Add loading more projects
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-09 11:42:41 +02:00
Rūdolfs Ošiņš
b3cec1f314
Format *.ts, *.js, *.css, *.html, *.json and *.svelte
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-08-31 17:47:07 +02:00
Sebastian Martinez
7cdad3c37f
Remove unnecessary params
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-06-03 16:56:40 +02:00
Alexis Sellier
b7f2bb01bb
Support for radicle.local seeds
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-05-25 17:35:15 +02:00
Sebastian Martinez
8e1c7f45b7
Revert config injection in session
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-20 13:10:53 +02:00
Sebastian Martinez
be0ff349df
Move signer into session store
...
The Metamask and WalletConnect signer are updated one any account
change, but currently we store them only in the static config object.
This commit moves this to the session store to improve this behaviour
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-20 13:10:53 +02:00
Alexis Sellier
d1994fa310
Show avatar in sign in button
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-05-18 15:45:47 +02:00
Alexis Sellier
60ac86c3d7
Improve seeds dropdown
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-05-18 15:45:47 +02:00
Alexis Sellier
e865fcbd30
Improve 'signed in' styles
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
41b82decfe
Improve siwe session status indicator
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
93c9fcbd88
Shorten logged in SIWE address
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Alexis Sellier
7b885b93d6
Show disabled siwe button
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-05-18 15:45:47 +02:00
Alexis Sellier
75ffc5c06d
Move sign in button to header
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
8ac5609c60
Improve session handling for SIWE
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
6d5d508220
Improve loading and edge cases
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
5ef2b7512c
Add authentication with seed nodes
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
e0ee26f2a1
Refactor api calls
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Sebastian Martinez
286cb1cd21
Improve testing suite
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-03-24 15:05:15 +01:00
Alexis Sellier
9cde5b9493
Improve seed page on mobile
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-03-02 15:17:10 +01:00
Alexis Sellier
55ce9e8a33
Fix bug with default ports in api config
...
JavaScript brilliance strikes again:
new URL("https://acme.com:443 ").port == ""
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-03-01 20:29:06 +01:00
Alexis Sellier
69b45e1cf0
Support custom seed ports via URLs
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-24 21:31:54 +01:00
Sebastian Martinez
d69907be45
Add explore seeds to landing page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-23 11:40:05 +01:00
Alexis Sellier
8ca59d11a8
Allow URLs to be used for git/api records
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-22 21:44:52 +01:00
Sebastian Martinez
ee507215fb
Refactor projects
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-21 22:42:52 -03:00
Alexis Sellier
56bc7bd180
Small style fix to seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-15 11:09:21 +01:00
Alexis Sellier
217bd814a6
Query delegate projects if radicle.id is set
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-10 13:23:41 +01:00
Sebastian Martinez
f92dcbf06d
Use Projects component in Seed View
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-09 17:45:38 +01:00
Alexis Sellier
b7150a0ae6
Remove old seed address check
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 15:58:18 +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
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
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
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
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
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
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
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
Sebastian Martinez
ba45feae30
Add error clause to seed page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 13:08:36 +01:00
Alexis Sellier
05ed8e15a0
Support for browsing seed projects
...
Eg. /seeds/seed.cloudhead.io/projects/:urn
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-14 12:23:34 +01:00
Sebastian Martinez
8b18e80068
Add SeedAddress to user page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-14 12:01:54 +01:00
Sebastian Martinez
521a2bbf60
Refactor SeedAddress into separate component
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-14 12:01:40 +01:00
Sebastian Martinez
72d5b3b34c
Add seeds page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-07 11:11:34 +01:00