Sebastian Martinez
d1a1b4c9c0
Fix pretty-lights theme
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-16 12:15:21 +01:00
Sebastian Martinez
569b660134
Move syntax highlighting to web client
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-16 11:00:17 +01:00
Sebastian Martinez
df680677b5
Rewrites url for vite preview server paths
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-12 17:18:35 +01:00
Sebastian Martinez
7be0a366b3
Update dependencies
...
Includes the move from the `svelte-preprocess` package for preprocessing
to `@sveltejs/vite-plugin-svelte` which allows us to use Vite also for
preprocessing.
Also had to remove the `vite-plugin-rewrite-all` again since they don't
support vite@4. So I wrote the plugin myself and without the dependecies
used by `vite-plugin-rewrite-all`.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-12 10:46:42 +01:00
Sebastian Martinez
fa0007cda4
Run GitHub CI only if push to master or activity on PR branch but not both
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-02 10:51:05 +01:00
Sebastian Martinez
9d3353b4f6
Cache Playwright binaries if possible
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-02 10:48:23 +01:00
Sebastian Martinez
cdef3b5d5e
Add route support to vesting feature
...
This allows people to either search for their vesting contract through
the search form or visit directly `vesting/<contract address>`
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-02 10:29:49 +01:00
Sebastian Martinez
3aa99ca4df
Update dependencies
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-12-01 16:13:45 +01:00
Sebastian Martinez
d740d7e5a1
Fix ABI used in vesting page
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-24 17:12:48 +01:00
Sebastian Martinez
31e037eb16
Add postinstall scripts to build step
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-24 10:51:48 +01:00
Sebastian Martinez
2dd53321d9
Remove some deprecated CSS props and change form items to align-items: flex-start
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-24 09:54:14 +01:00
Sebastian Martinez
ba7067492e
Add bottom-border radius to Readme component due to background peaking out
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-24 09:54:14 +01:00
Sebastian Martinez
c335638a38
Fix minor issues with settings dropdown
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-24 09:19:06 +01:00
Sebastian Martinez
e1caae028c
Update dependencies
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-23 21:17:00 +01:00
Sebastian Martinez
4f50b959cc
Check if there is a final new line in the blob content
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-23 18:38:54 +01:00
Sebastian Martinez
d45e21c82d
Add settings dropdown
...
Moving the theme toggle inside a settings dropdown in-place.
Adding a switch for the used monospace font, user can either use the
OS or browser default, or switch to "JetBrains Mono".
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-23 10:14:07 +01:00
Sebastian Martinez
a99c9c7275
Format peer id when no committer context available
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-22 09:45:14 +01:00
Sebastian Martinez
7b33243848
Add enableAutoPageviews
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-19 10:34:16 +01:00
Sebastian Martinez
2816333a4a
Switch plausible script for npm package
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-18 11:04:02 +01:00
Sebastian Martinez
a8b4b4f2ef
Improve handling of app base
...
To differenciate between which base assets should take, we need a `base`
const in `router/index` that any function or component can consult so we
don't get issues between relative and absolute paths.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-18 11:04:02 +01:00
Sebastian Martinez
c8b99a8b74
Removes compilerOptions and chunk size warnings
...
We split some third party packages into their own bundles to reduce the
size of the index.js bundle.
We also don't need hmr ever in production.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-16 12:06:08 +01:00
Sebastian Martinez
d97e4b5f7b
Push new routes to the history stack instead of replacing it
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-16 11:51:47 +01:00
Sebastian Martinez
3fbd832ef1
Update dependencies
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-15 23:59:22 +01:00
Sebastian Martinez
b8ec63497b
Add missing twemojis to commit components
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-15 17:34:37 +01:00
Sebastian Martinez
3a352eab4c
Fix markup being wrapped by self-closing anchor tags
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-15 16:30:07 +01:00
Sebastian Martinez
b1472b4b01
Fix twemoji base
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-15 15:46:12 +01:00
Sebastian Martinez
f38893407a
Add hash routing
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-15 15:24:12 +01:00
Sebastian Martinez
cd60ad7298
Convert emojis to twemojis
...
To provide the same emoji experience on all browsers and OS we use
Twemoji and replace all emojis where possible.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-15 15:10:48 +01:00
Sebastian Martinez
ae9d9b4024
Don't replace history stack when looking up profiles
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-08 20:42:33 +01:00
Sebastian Martinez
d68e6c7f0a
Improve display of lastCommit in Blob component
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 23:25:48 +01:00
Sebastian Martinez
83d943177b
Add line-height: 1.625 to li and ol elements
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 17:56:51 +01:00
Sebastian Martinez
2c085c92fa
Add smoke check for production builds
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 17:53:19 +01:00
Sebastian Martinez
489039c6e3
Add switch between rendered markdown and raw file
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 14:30:36 +01:00
Sebastian Martinez
178d6230cb
Refactor project header widgets into own component
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 14:30:36 +01:00
Sebastian Martinez
b74d350569
Avoid the re-rendering of the ProjectMeta component
...
By passing a too broad scope into the Project view we are re-rendering
everything always
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 10:29:13 +01:00
Sebastian Martinez and Rūdolfs Ošiņš
f8ddbbf5da
Remove svelte-routing and add custom routing
...
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-11-07 08:57:37 +01:00
Sebastian Martinez
c757f8df8b
Handle empty string in Markdown component
...
We expect the `Markdown` component to receive a `content: string`, but
we also check if `content` is truthy before rendering anything, and this
can get messy when `content` is an empty string.
Fixed by removing the truthy check for `content`.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-10-28 11:05:13 +02:00
Sebastian Martinez
4e0ffd8619
Handle possible template comment in patch comment body
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-10-21 13:05:00 +02:00
Sebastian Martinez
e7a7baca5e
Close Revision selector in PatchTabBar after select
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-10-21 12:20:20 +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
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
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
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
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
Sebastian Martinez
228c2b259f
Add activity graph to compact project widget
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-21 10:49:17 +02:00
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
47e90aae70
Add getSeedEmoji util fn
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-15 12:55:46 +02:00
Sebastian Martinez
549140aab9
Add resolveMultiLabel util fn
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-15 12:55:46 +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
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
Sebastian Martinez
271fcde43f
Remove deprecated org parts
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-13 10:31:28 +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
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
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
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
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
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
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
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
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
Sebastian Martinez
b47c83e25a
Remove WalletConnect compatible link
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-12 15:57:15 +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
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
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
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
Sebastian Martinez
799eecf0bc
Update cypress to 10.3
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-01 15:58:02 +02:00