Commit Graph
24 Commits
Author SHA1 Message Date
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 91cfaf08b3 Add loading more commits in History component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-09 11:43:09 +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
Rūdolfs Ošiņš caac53a8f6 Extract ToggleButton component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 10:40: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 e675e91638 Add Loader to project view
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +02:00
Sebastian Martinez 38ba77c23b Add query string for issue state filtering
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-16 10:55:35 +02:00
Alexis Sellier 115934a38c Hide anchored widget behind a feature flag
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-01 16:26:08 +02:00
Sebastian Martinez c5d5053f0c Add patches
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 13:06:30 +02:00
Sebastian Martinez aa62ef0bc1 Add issue listing and detail view
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-08 23:34:24 +02:00
Sebastian Martinez 5b11adc923 Refactor Project Metadata into own component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-03 16:56:40 +02:00
Sebastian Martinez ab7ba33182 Change Avatar address prop to title
We wont have always an address available to be passed as title for the Avatar
component, e.g. when working with URNs.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-03 16:56:40 +02:00
Alexis Sellier a84b5d0ec0 Mobile fixes for project view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-27 11:57:41 +02:00
Alexis Sellier dc7989b1ca Show peer selector in profile context
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 17:29:25 +01:00
Alexis Sellier 0a830432f7 Make project head optional
This is useful since some seeds may not have delegates synced.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 14:41:04 +01:00
Alexis Sellier cfc5f4a095 Improve project error handling
Fail gracefully if we can't load a peer.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-03-02 11:50:25 +01:00
Alexis Sellier d03e4acf38 Improve clipboard buttons
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-24 17:58:13 +01:00
Sebastian Martinez b716b1a54b Add copy buttons to peer id and urn
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-24 11:10:17 -03:00
Sebastian Martinez ee507215fb Refactor projects
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-21 22:42:52 -03:00
Sebastian Martinez 0a65bb22bb Fix project header responsive
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-12 08:05:17 -03:00
Alexis Sellier c58db9d278 Implement more simplifications
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-12 00:37:00 +01:00
Alexis Sellier 7e9e407382 Fix more reactivity issues
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-11 23:07:31 +01:00
Alexis Sellier 27895b7d0c Simplify project view by splitting components
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-11 16:54:30 +01:00