Commit Graph
818 Commits
Author SHA1 Message Date
Sebastian Martinez c687c8d575 Use Metamask as provider before trying to use Alchemy
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-15 12:51:25 +02:00
Rūdolfs OšiņšandBrandon 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
Rūdolfs Ošiņš 7a39306622 Undo markdown hard-wrapping
It breaks long hard-wrapped paragraphs in our RIPs.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-13 13:05:46 +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ņš 538c6d90c1 Remove global table styling
Inline it where appropriate. Style markdown tables properly.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-13 10:30:50 +02:00
Rūdolfs Ošiņš 81b60ab229 Move register button to the right side in the header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-13 10:28:59 +02:00
Rūdolfs Ošiņš 78362cc700 Fix relative markdown links
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-13 10:28:14 +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 ff657efa93 Add local modifier to button transition in List
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-09 14:14:25 +02:00
Sebastian Martinez fa112e88d8 Remove project count on Card component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-09 11:43:29 +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
Sebastian Martinez b1e0c7a1b5 Add loading more projects
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-09 11:42:41 +02:00
Sebastian Martinez 733f5c6c8a Add List component for more generic List creation
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-09 11:40:56 +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
Sebastian Martinez 4cd702e412 Fix emoji parser
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-07 13:04:54 +02:00
Alexis Sellier 771ed2aea7 Improve README reading experience
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-07 12:37:55 +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
Sebastian Martinez 5775cae7f9 Move prettier and prettier-plugin-svelte to devDependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-06 16:58:18 +02:00
Sebastian Martinez a08d46deee Add configuration folders to .gitignore
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-06 16:41:46 +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ņš b9a2e9d954 Show loading indicators after a delay
This prevents from loading indicators flickering for a split second
during a page draw. For requests that take longer than 200ms we show the
loading animation.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-06 11:29:08 +02:00
Rūdolfs Ošiņš b3b3c06a03 Change import
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-02 15:13:06 +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 da408d2a0e Remove whitespace in .prettierrc
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-01 11:05:13 +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
Sebastian Martinez c4c0ec2194 Remove ens property from projectIssues for now
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-01 10:48:33 +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ņš 687174a8e0 Add prettier
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:26:42 +02:00
Rūdolfs Ošiņš 19d24340d9 Remove redundant .modal global styles
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:21:13 +02:00
Rūdolfs Ošiņš 3904ac30da Inline .dropdown, .popup
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:21:13 +02:00
Rūdolfs Ošiņš 0200fad482 Inline .notice
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:21:13 +02:00
Rūdolfs Ošiņš 6baf4b78ce Fix regression in Header component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:19:18 +02:00
Rūdolfs Ošiņš 3e76e55c6c Style created/deleted badges consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 11:12:17 +02:00
Sebastian Martinez e5f9317436 Improve UX on issue and patches stats
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-31 10:42:38 +02:00
Rūdolfs Ošiņš 0d6179d283 Fix badge alignment in dropdown
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 10:41:09 +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
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ņš 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
Rūdolfs Ošiņš ffabc3091c Allow explicit type annotations for additional clarity
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +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ņš 795d6c43f8 Require let or const instead of var
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
Rūdolfs Ošiņš 7c07baf35b Require using arrow functions as callbacks
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +02:00
Rūdolfs Ošiņš 074ea1526a Disallow Unused Variables
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +02:00
Rūdolfs Ošiņš 51808b13b4 Add missing max attribute to cache call
This gets rid of the UnboundedCacheWarning.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-25 14:44:17 +02:00
Sebastian Martinez 3a5527208b Implements activity endpoint for project graph
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 12:07:02 +02:00