Commit Graph
776 Commits
Author SHA1 Message Date
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
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 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
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 d49130163d Force Node CI version to 16.16
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ņš e5b889a53c Get rid of crossorigin warnings in console
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-16 18:53:29 +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
Rūdolfs Ošiņš 032f38724e Always use the same timezone when running unit tests
To prevent timezone sensitive tests from failing when the local
environment is set up with a different timezone.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-12 15:53:02 +02:00
Rūdolfs Ošiņš d0f376cd41 Don't use outdated node on CI
ubuntu-latest already includes a recent node version, node 14 is at its EOL.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-12 15:45:36 +02:00
Sebastian Martinez 7186794637 Fix Node version at v16
Issues with Cypress component tests forced us to downgrade to Node v16.
Also adding `.tool-versions` file to work with `asdf`

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-12 14:40:51 +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 01f7af357d Fix button style regression
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-08 17:55:43 +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
Sebastian Martinez d8a943951d Improve error message when missing web3 provider
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 16:03:45 +02:00