Commit Graph
19 Commits
Author SHA1 Message Date
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
Sebastian Martinez 124dd75ac6 Add delegate badge to CommitAuthorship
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-28 14:47:15 +02:00
Sebastian Martinez 228c2b259f Add activity graph to compact project widget
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-21 10:49:17 +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 ad30b35e95 Change some test descriptions
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-07 18:04:23 +02:00
Sebastian Martinez fae7001cac Refactor project testing routes into separate modules
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-07 17:16:16 +02:00
Sebastian Martinez 8e9822d495 Wait for route interception in home.spec.ts
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-07 17:16:16 +02:00
Rūdolfs Ošiņš dadd82d8e8 Improve CommitVerifiedBadge UX
- debounce hover events to prevent flickering when mousing over multiple badges
- keep the card visible while hovering over it
- show verified badge on the Commit page

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-01 16:40:44 +02:00
Sebastian Martinez 906b205e95 Replace MockExtensionProvider with @rsksmart/mock-web3-provider
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-01 11:05:01 +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ņš 93b7b6b2a0 Extract global .badge class into a component
By encapsulating the global `.badge` class into a component we make reasoning
about how badges look a bit easier, because now there's a single place
where it is defined. Otherwise it is not guaranteed that the class is
going to be applied to the correct html tag. This also makes combining
global CSS classes that don't make sense from a design perspective
impossible.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:12:19 +02:00
Alexis Sellier dbfa9862dd Only have projects on home page
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-24 10:06:13 +02:00
Sebastian Martinez cfd612b09d Remove connect integration test
Since this is a really flaky test, it depends on a lot of hardcoded
values in the MockExtensionProvider and doesn't provide much value.
I decided to remove it for now.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +02:00
Rūdolfs Ošiņš 65bf2ae386 Refactor project header modals
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-12 16:23:59 +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
Alexis Sellier 213a8d7f0b Add verified badge popup
Signed-off-by: Alexis Sellier <self@cloudhead.io>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 15:58:02 +02:00
Alexis Sellier 46176bd46b Various patch improvements
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-01 15:51:12 +02:00
Sebastian Martinez 78388e9fe2 Update e2e for patches
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 13:06:35 +02:00
Sebastian Martinez 2d7c535e14 Update Cypress to v10
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-09 08:34:10 +02:00