Rūdolfs Ošiņš
4bac3fcfdc
Remove deprecated anchoring functionality
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-10 17:37:02 +02:00
Rūdolfs Ošiņš
aae40b0b32
Remove deprecated the Graph queries
...
We have run out of funds on the Graph and the org functionality in its
current form is deprecated.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-10 17:26:59 +02:00
Rūdolfs Ošiņš
b261734b0a
Remove all ceramic functionality
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-10 15:59:34 +02:00
Rūdolfs Ošiņš
7d1f226798
Rename Error component to ErrorModal
...
`Error` is a built-in type in typescript, we don't want to have an
accidental clash.
Bumped into this when doing:
try {
// ...
} catch (error: unknown) {
if(error instanceof Error) {
// ...
}
}
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-08 10:11:39 +02:00
Rūdolfs Ošiņš
3ce7aada0f
Refactor forms
...
- add a link to the faucet page from `Rinkeby` badge in header
- refactor the `<TextInput>` component to include
- a loading indicator
- a keyboard shortcut to submit the input by pressing the `enter` key
- add a keyboard shortcut hint <kbd>⏎</kbd> that shows up whenever the
input is ready to be submitted
- a validation message
- align all pages with a single input form to have a similar look and feel
- improve validation messages and error handling in all forms
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-08 10:00:19 +02:00
Rūdolfs Ošiņš
f215f9f4fd
Make sure svelte-check checks component specs
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-07 17:48:06 +02:00
Sebastian Martinez
698f222d61
Show fetch more button only when more projects are available
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-10-06 14:14:57 +02:00
Osama El Hariri
9cb3928481
Make file tree sticky
...
Signed-off-by: Osama El Hariri <osama.hariri.dev@gmail.com >
2022-10-05 11:49:41 +02:00
Sebastian Martinez
8a4b5b2a49
Don't remove padding-top from pre code blocks at the beginning
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-10-05 10:23:53 +02:00
Sebastian Martinez
a016e98169
Add katex render to Markdown
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-10-04 11:50:49 +02:00
Rūdolfs Ošiņš
8e3789b799
Bump transitive dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-04 08:36:51 +02:00
Rūdolfs Ošiņš
414593c221
Remove unused dependencies
...
- eventemitter3
- ethereum-blockies
- eip1193-provider
- walletconnect
- eslint-plugin-radicle
- typescript-eslint/parser
- types/sanitize-html
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-10-04 08:36:51 +02:00
Rūdolfs Ošiņš
0eccd2969f
Clean up .eslintignore
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-30 17:13:53 +02:00
Rūdolfs Ošiņš
d86eb2ee28
Remove unused polyfills
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-30 17:13:53 +02:00
Rūdolfs Ošiņš
df49db3ded
Replace custom rewrite middleware with vite plugin
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-30 17:13:16 +02:00
Rūdolfs Ošiņš
89ffddf854
Remove code coverage and it's dependencies
...
We weren't really using any of it.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-30 10:59:44 +02:00
Rūdolfs Ošiņš
46ae7982a6
Remove unused caip dependency
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 18:03:35 +02:00
Rūdolfs Ošiņš
e69987296c
Upgrade patch, minor and major-level dependencies
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 18:03:28 +02:00
Rūdolfs Ošiņš
e8f372fb81
Upgrade typescript 4.7.4 -> 4.8.3
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 16:30:20 +02:00
Rūdolfs Ošiņš
a6dd423c99
Upgrade @tsconfig/svelte 1.0.13 -> 3.0.0
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 16:30:18 +02:00
Rūdolfs Ošiņš
e98e72cf1b
Use new clients.radicle.xyz domain for some pinned projects
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 15:41:20 +02:00
Rūdolfs Ošiņš
dab1770a13
Retry a test twice before giving up
...
We have some flaky tests in the test suite. This should take care of it.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 15:23:20 +02:00
Rūdolfs Ošiņš
f5c4d8141f
Leave mobile search context menu open if search fails
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 15:03:29 +02:00
Rūdolfs Ošiņš
d0edc52831
Refactor search logic
...
- type events that are handed between components
- simplify the `resolve` function interface
- before we had return values and exceptions, now just a single union
type as return value
- move navigation to the Search component to reduce its
responsibilities
- flatten and simplify multi-level branching
- shuffle around code
- move the `resolve` function to the `Search` component module,
because it's only used there
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 14:50:13 +02:00
Sebastian Martinez
01e0116029
Add shake animation to search component when no results
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-29 14:50:13 +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
Rūdolfs Ošiņš
47a9d2af71
Exit editable form state when pressing "Cancel"
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-27 15:00:10 +02:00
Rūdolfs Ošiņš
9b8a9a46dd
Upgrade Cypress dependency
...
This gets rid of the testing-library-* and cypress-vite-devserver
dependencies and updates the specs according to the latest Cypress
documentation.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-26 16:34:30 +02:00
Sebastian Martinez
ff267620a6
Fix project nav buttons height
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-26 15:55:02 +02:00
Sebastian Martinez
c57bafb78d
Lowercase ENS name search query
...
Since ENS names go through a UTS46 normalisation process
case-folds labels before hashing them.
So we shouldn't be ENS querying uppercase names.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-26 14:14:36 +02:00
Sebastian Martinez
a47bffdddf
Fix isSafe util function
...
We were calling `return query?.safe !== null ? true : false` but since
`query` can become `undefined` through the optional chaining operator,
we were returning `true` if the query wasn't able to retrieve
anything.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-23 18:13:40 +02:00
l2ig
21ae1210cc
Stop TextInput keydown event propagation
...
Signed-off-by: grayliquid <l@l5d.li >
2022-09-23 16:41:32 +02:00
Sebastian Martinez
c81e2862ab
Move seeds.pinned out of network scope
...
Instead of defining the seeds in relation to the current network we
should be able to query them agnostic to the current connected network
This fixes issues with different search results depending on the
connected network
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-23 16:27:29 +02:00
Sebastian Martinez
b65399f9b4
Handle subgraph API quota exhaustion
...
We had to improve the logic when the subgraph API quota has been exhausted.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-23 15:10:28 +02:00
Rūdolfs Ošiņš
7d651309b2
Change the seed on which "astrolabe" is hosted
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-22 11:27:37 +02:00
Rūdolfs Ošiņš
1548773d98
Show "No description" when project description missing
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-22 11:27:13 +02:00
Rūdolfs Ošiņš
e7ff977abb
Add more pinned projects
...
This replaces the one broken project that didn't load and adds 4 more
projects.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 17:56:22 +02:00
Rūdolfs Ošiņš
7f09f70c4c
Fix style regression in clone button
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 15:10:21 +02:00
Rūdolfs Ošiņš
251f9681bc
Fix mobile context menu
...
Refactor and inline the MobileNavbar component into Header. This fixes a
bug where it wasn't possible to close the context menu once it was open.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:39:01 +02:00
Rūdolfs Ošiņš
604d8f4f35
Show commit SHA below patch title
...
This fixes a visual regression.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:31:43 +02:00
Rūdolfs Ošiņš
163cbb4bb5
Style definition lists
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:25:39 +02:00
Rūdolfs Ošiņš
db83df5a47
Add spacing around <hr /> tags
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:25:39 +02:00
Rūdolfs Ošiņš
1e3ca65ecb
Format blockquotes
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:25:39 +02:00
Rūdolfs Ošiņš
d8291bffb2
Style inline code blocks with a background
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:25:39 +02:00
Rūdolfs Ošiņš
37f6f7d15b
Allow alt and title attributes for <img> tags in markdown
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:25:39 +02:00
Rūdolfs Ošiņš
7f3ca6afdb
Adjust h6 styling
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:25:39 +02:00
Rūdolfs Ošiņš
d32bad5b62
Get rid of <Input /> component
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš
b8e7239ba4
Extract <TextInput /> component
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš
2f9c00ba4b
Remove unused global styling
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:19:30 +02:00
Rūdolfs Ošiņš
91e3ed5c0b
Get rid of <section> tag and global styling
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-21 11:19:30 +02:00