Commit Graph
92 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 5cb733e73b Use the ellipsis symbol consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-15 12:52:13 +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
Alexis Sellier 43837d1506 Fix button gap regression
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-06 11:49:08 +02:00
Rūdolfs Ošiņš dc8a8f883c Extract Button component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-06 11:36:31 +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 c5eddde23f Add a name validation for dots at registration
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-30 20:41:31 +02:00
Rūdolfs Ošiņš 94329d612f Require === and !== comparisons
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +02:00
Rūdolfs Ošiņš 853ed5c053 Require using const for variables that are never modified
And disallow modifying variables that are declared using `const`.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +02:00
Sebastian Martinez 7481808014 Add small explainer to the name registration form
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 11:48:30 +02:00
Sebastian Martinez 0ba0feedf1 Improve Profile Edit and Transfer buttons
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +02:00
Sebastian Martinez 694bb38b8a Add caching
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-18 16:31:09 +02:00
Rūdolfs Ošiņš 63e18571a0 Hide debug logs
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-16 18:52:35 +02:00
l2ig 5845ce97b0 feat: add name length check at registration
Signed-off-by: l2ig <l@l5d.li>
2022-08-11 20:28:26 +02:00
l2ig 231bc20af5 fix: redirect to correct registrations page URL
Signed-off-by: l2ig <l@l5d.li>
2022-08-09 16:41:01 +02:00
Brandon Oxendine b687d37b03 Unify button heights
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2022-07-13 13:51:32 +02:00
Alexis Sellier 101d6d329f Remove registration fee
Since the DAO passed a proposal to remove the registration fee,
we handle that in the UI.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-06 11:23:32 +02:00
Alexis Sellier 85165783c6 Support editing the radicle id
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-10 13:23:47 +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
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
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 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 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
Sebastian Martinez ea0e8bd3d3 Fix type errors
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 12:29:20 +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 72d5b3b34c Add seeds page
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-12-07 11:11:34 +01:00
Sebastian Martinez 04ec3319e4 Add Responsive Layout
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-12-04 12:39:41 +01:00
Alexis Sellier 1b7a259515 Allow overriding eth.radicle.seed.host record
Adds two new records:

* eth.radicle.seed.api
* eth.radicle.seed.git

When specified, these override `eth.radicle.seed.host` for Git
and the HTTP API, respectively.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-11-23 13:06:39 +01:00
Sebastian Martinez 8b8b29d666 Improve loading of Cars component
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-22 10:45:44 +01:00
Sebastian Martinez f22d513f79 Add RAD faucet
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-09 15:57:24 +01:00
Alexis Sellier 0b64723836 Use tx receipt from wait call
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-29 14:03:42 +02:00
Alexis Sellier 316dfc1cb1 Improve validation message
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-12 18:38:31 +02:00
Alexis Sellier 9d6d848590 Support any URN
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-12 18:38:25 +02:00
Alexis Sellier b644a6e8b2 Use CAIP-10 to specify anchors account
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-12 16:21:07 +02:00
Alexis Sellier 1bd2c6d23f Fix centering of modals and a few other styles
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-12 16:09:47 +02:00
Alexis Sellier 18b28010bb Users can specify anchors address in ENS
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-11 18:42:33 +02:00
Sebastian Martinez 4d17a8ea49 Refetch values on NotFound status
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-09-23 14:36:23 +02:00
Alexis Sellier 2821409418 Show Seed ID on project page
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 18:14:21 +02:00
Alexis Sellier af3ace3cf4 Use existing resolver in getRegistration
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 15:51:17 +02:00
Alexis Sellier b95af71f33 Don't get registration owner when not needed
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 15:44:55 +02:00
Alexis Sellier 5647050b80 Give all pages a title
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-22 13:50:03 +02:00
Sebastian Martinez 79356c9f3b Reduce resolver queries and parallelize queries
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-09-21 22:59:00 +02:00
Alexis Sellier 75983dc98e Migrate to host/id based seed node records
Instead of having one record per service, we configure the host
and expect services to run on certain ports.
2021-09-14 15:08:13 +02:00
Alexis Sellier 5226591a63 Reduce number of requests for profiles
Introduce two types of profile: a 'full' and a 'minimal'.
The minimal is used when only the avatar is required, which
is in most places. Requests for an org view is reduced by 3x.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-09-02 11:52:54 +02:00
Alexis Sellier 9acbc0d85f Increase commit gas limit 2021-09-01 12:43:32 +02:00
Alexis Sellier 11eb5ddf28 Save commitment as soon as it's confirmed 2021-09-01 12:29:02 +02:00
Sebastian Martinez 2ceeb04ce6 Implement Registration Form validation
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-08-23 09:25:53 -03:00
Alexis Sellier 061a4f75fb Fix walletconnect clientMeta oddities 2021-08-04 12:49:39 +02:00