Commit Graph
56 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš ab59f11727 Clean up config
Move constants that are tightly coupled to the implementation of
features and unlikely to change or be user configurable out of `config.json`.
Decouple configuration from wallet state.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-21 09:08:10 +02:00
Rūdolfs Ošiņš ae49c6fc56 Extract global layout classes into own file
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš cfb1c5acd1 Simplify global anchor styles
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš fcbea6dac3 Move .faded -> .txt-faded
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš 1d186d5328 Move .label, secondary, .highlight -> .txt-highlight
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš afbcf8a72e Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 15:00:22 +02:00
Rūdolfs Ošiņš 8733636d6e Revert "Upgrade dependencies"
This reverts commit 885811eb9a.
2022-10-17 15:40:13 +02:00
Rūdolfs Ošiņš 885811eb9a Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-17 10:19:32 +02:00
Rūdolfs Ošiņš 47a9d2af71 Exit editable form state when pressing "Cancel"
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-27 15:00:10 +02:00
Rūdolfs Ošiņš b8e7239ba4 Extract <TextInput /> component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš ca8e4dce31 Fix form field alignment
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-09 17:24:22 +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 4650721c6c Convert colon-delimited string emojis to unicode emojis
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-07 12:20:40 +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
Alexis Sellier 3d00fc39bb Style fixes
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-24 10:35:52 +02:00
Brandon Oxendine 6edbd37c4c Unify border-radius
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-08 18:31:49 +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 729972f447 Discard error on input
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-10 13:23:59 +01: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
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 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 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 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 68395bceb2 Refactor responsive and fix mobile toggle nav
- Removes the base property from vite.config, until a better solution
  has been found, wasn't able to reproduce it locally in production
  build though.
- Moves desktop and mobile classes from components to index.css
- Used a own CSS hide mechanism for the ellipsis menu.
- Shortens the addresses in org and users view, and wraps orgs in user
  view

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-12-07 10:44:53 +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
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 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 f7511a9e17 Support pasting/autofill in registration form 2021-09-14 14:27:19 +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 807589b5f3 Show ballot when record isn't set 2021-07-28 15:41:43 +02:00
Alexis Sellier ce1bbdb617 Improve description under registration address 2021-07-28 15:34:37 +02:00
Alexis Sellier 97e3226e87 Add descriptions to registration fields 2021-07-28 14:12:56 +02:00
Alexis Sellier ad3ea18e4f Improve registration form
* Support both handles and URLs in twitter/github fields.
2021-07-19 13:38:03 +02:00
Alexis Sellier 72f39ab65f Make 'resolve' attribute optional 2021-07-19 13:26:08 +02:00
Sebastian Martinez 19c4f2625f Add user identities to components
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-07-19 08:06:30 -03:00
Alexis Sellier 3df68ef0b1 Get 'Form' links to align properly 2021-06-26 21:48:42 +02:00
Alexis Sellier dddaa2040e Trim inputs in 'Form' 2021-06-23 14:48:19 +02:00
Alexis Sellier f4f08a32c4 Small visual improvements
* Let text overflow in registrations page
* Properly style org links
2021-06-18 16:01:05 +02:00
Sebastian Martinez 1960c4fe79 Change script lang to ts
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:42 -03:00
Alexis Sellier 5d40c7ee93 Fix form field styling 2021-06-16 17:10:03 +02:00
Alexis Sellier 618d49e201 [eslint] Enforce semis 2021-06-14 10:38:17 +02:00
Alexis Sellier 00a0df938c Remove default underline for anchor tags 2021-06-11 12:00:16 +02:00
Alexis Sellier 163e104068 Remove TODOs that have been done 2021-06-03 10:23:32 +02:00
Alexis Sellier b49699dfe0 Improve address rendering 2021-05-31 18:32:19 +02:00
Alexis Sellier 2a7d5423c4 Fix some form issues 2021-05-19 12:28:35 +02:00
Alexis Sellier 793f4327f2 Make 'Form' render links and addresses correctly 2021-05-18 16:08:33 +02:00