Commit Graph
693 Commits
Author SHA1 Message Date
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ņš 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ņš 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ņš 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
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 7304d1f429 Make a missing reverse record error less critical
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 11:41:09 +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 71c47a2046 Skip absolute image URLs for getImage in Markdown.svelte
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 11:38:12 +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 3d00fc39bb Style fixes
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-24 10:35:52 +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 8021f6396d Close clone popover when Clipboard icon clicked
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 09:13:55 +02:00
Rūdolfs Ošiņš 8bc659aff2 Remove unused component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-24 08:41:00 +02:00
Alexis Sellier 06d085bb1f Fix gradient banding issues
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-24 08:40:06 +02:00
Sebastian Martinez 513e487600 Update ethers to v5.7.0 and siwe to v2.0.5
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +02:00
Sebastian Martinez 78e1cd1d93 Use ethers defaultProvider when in development mode
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-24 08:40:06 +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
Sebastian Martinez 37ff143683 Add Loader to project count in Card
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-18 16:30:15 +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
Sebastian Martinez 87056cabf8 Make labels not optional in IIssue
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-15 16:56:09 +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
Sebastian Martinez b47c83e25a Remove WalletConnect compatible link
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-12 15:57:15 +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
Sebastian Martinez fcd542d600 Improve handling of low commit counts in repo activity
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-11 20:27:02 +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
Sebastian Martinez da0b4200cd Update Vite to 3.0
- Replaces `sanitize-html` with `xss` due to Node core modules
  dependencies
- Remove empty style tag from SeedDropdown
- Update devServer ports
- Replace vite-plugin-rewrite-all
- Add node events polyfill

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-02 15:13:32 +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