Commit Graph
511 Commits
Author SHA1 Message Date
Sebastian Martinez 138603ffd9 Improve search
Improve search heuristic and refactor search results to modal.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-15 13:06:34 +02:00
Sebastian Martinez 4ebf073c5b Refactor isFulfilled check into a utils function
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-15 12:55:46 +02:00
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ņš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
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ņš 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
Sebastian Martinez b1e0c7a1b5 Add loading more projects
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-09-09 11:42:41 +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
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ņš 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
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ņš 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ņš 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ņš 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
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
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
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 3f373ff9d6 Add tooltips for Dropdowns
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 11:39:28 +02:00
Sebastian Martinez a16814d9c3 Rename radicle.network to radicle.xyz
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 11:13:03 +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
Rūdolfs Ošiņš c4769c8127 Refactor icon component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-24 09:17:11 +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 34f575ad98 Add View File label to commit browse
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +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 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
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
Sebastian Martinez b4d8a5dc6f Add sorting of issues by timestamp
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-15 17:28:46 +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
l2ig 5845ce97b0 feat: add name length check at registration
Signed-off-by: l2ig <l@l5d.li>
2022-08-11 20:28:26 +02:00
Alexis Sellier 34698071c4 Styles fixes
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-11 20:27:45 +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 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
Alexis Sellier 2bc2b93e51 Fix <pre> tag visual bug
This was introduced by a svelte upgrade.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-08 17:42:03 +02:00
Sebastian Martinez 0c2fbe0e48 Fix spurious requests
* It uses the patches and issues count on ProjectInfo to reduce the
  amount of requests that are made to the seed nodes.
* It also adds the Delegate type used as a property in the Project class
  mirroring the radicle_common::project::Delegate enum, which currently
  was only represented as a string[].
* Removes also the maintainers property which isn't used anymore, and
  adds the remotes property.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-05 16:19:08 +02:00
Sebastian Martinez 7ae5317b54 Add placeholder for empty issue state
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-02 15:15:06 +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