It looks like there was maybe a regression at some point and
we lost the colors on the code and blockquote blocks. This adds
them back. We also give blockquotes some padding like regular
paragraphs.
Signed-off-by: Alexis Sellier <self@cloudhead.io>
There were some issues in how we handled the state param in the url
querystring in the issue and patch listings.
This commit should improve this, and allow for better usage of
querystring params in the future.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
We use the cache Github action to store snapshots when pushing to master and
then load them in pull requests and run the visual tests against it.
This way we don't have to commit the images to the repository and always
get diffs to the latest master.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
It's not working with our current seed nodes and is confusing to users.
It also prevents us from upgrading transitive dependencies.
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
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>
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>
Playwright is more flexible and has better developer experience than Cypress.
We add end to end tests covering:
- project source browsing
- tree view
- commit list view
- commit view
- routing
- hash based
- history API based
- clipboard copy paste functionality
- seed view
- project search
- landing page view
- settings
Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
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>
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>
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>