Commit Graph
928 Commits
Author SHA1 Message Date
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
Rūdolfs Ošiņš 1254d15d3d Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 18:05:06 +01:00
Rūdolfs Ošiņš bc43fc4fef Make all Svelte events type-safe
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 18:00:24 +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
Rūdolfs Ošiņš 7088a990a2 Use node 18.12.1 LTS everywhere consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-07 15:23:21 +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 MartinezandRū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
Rūdolfs Ošiņš 955ec7f240 Add more eslint rules
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-04 15:10:26 +01:00
Rūdolfs Ošiņš 053af7a25c Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-03 16:40:23 +01:00
Rūdolfs Ošiņš d885b4076d Correctly detect custom HTTP API ports
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-11-03 09:37:27 +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
Rūdolfs Ošiņš 87c1d0f6e2 Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-26 15:29:07 +02:00
Rūdolfs Ošiņš b73462e1b0 Remove explicit happy-dom dependency
It's not used explicitly in our codebase and vitest already pulls it in
as a peer dependency.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-25 15:06:03 +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
Rūdolfs Ošiņš ab59f11727 Clean up config
Move constants that are tightly coupled to the implementation of
features and unlikely to change or be user configurable out of `config.json`.
Decouple configuration from wallet state.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-21 09:08:10 +02:00
Rūdolfs Ošiņš d792c62c92 Inline global gradient
We only use it in one place anyway. And components should be
self-contained, so they're easier to reason about.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-20 15:19:11 +02:00
Rūdolfs Ošiņš ae49c6fc56 Extract global layout classes into own file
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš ce68b15ca1 Add hover state to network faucet button
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš cfb1c5acd1 Simplify global anchor styles
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 18:02:21 +02:00
Rūdolfs Ošiņš ba8522c8ca Get rid of .error and .error-message global CSS classes
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš 78c76981e8 Remove unused error notification code
The store was never written to.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš fcbea6dac3 Move .faded -> .txt-faded
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš 1d186d5328 Move .label, secondary, .highlight -> .txt-highlight
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 17:22:11 +02:00
Rūdolfs Ošiņš afbcf8a72e Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 15:00:22 +02:00
Rūdolfs Ošiņš 299d4791da Disable color palette hotkey in production
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-18 11:20:46 +02:00
Rūdolfs Ošiņš 8733636d6e Revert "Upgrade dependencies"
This reverts commit 885811eb9a.
2022-10-17 15:40:13 +02:00
Rūdolfs Ošiņš 885811eb9a Upgrade dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-17 10:19:32 +02:00
Rūdolfs Ošiņš 92c4353ba7 Replace Rinkeby testnet with Goerli
Rinkeby has been sunsetted in favour of Goerli after the Ethereum merge.

Deployed `phase0` from radicle-contracts, some vesting contracts and the
faucet from `radicle-faucet` to the Goerli testnet and adjusted the
code.

The `reverseRegistrar` was obtained from:
https://app.ens.domains/name/addr.reverse/details

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-13 10:27:07 +02:00
Rūdolfs Ošiņš 71b5ce7de2 Remove unused polyfills
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-12 14:47:49 +02:00
Rūdolfs Ošiņš b97d96a208 Upgrade transitive dependencies
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-12 14:47:49 +02:00
Rūdolfs Ošiņš b69213f5de Upgrade dependencies
Note: We get the following warning in the dev console after upgrading
vite from 3.0.3 -> 3.1.7:

    Module "buffer" has been externalized for browser compatibility.
    Cannot access "buffer.Buffer" in client code.

It comes from the transitive dependency `bn.js`, only versions 4.11.x are
affected. The warning is harmless and can be ignored. It should go away
once the direct dependencies upgrade to a newer version.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-12 14:47:49 +02:00
Rūdolfs Ošiņš 3c29b1a44d Upgrade svelte from 3.50.1 -> 3.51.0
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-12 14:46:13 +02:00
Rūdolfs Ošiņš f6165978f8 Remove remaining Gnosis safe code
This should have been removed in
cb12d8eeab.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-11 17:36:07 +02:00
Rūdolfs Ošiņš 0b27e4bbfd Remove unused utility functions
This also lets us get rid of the deprecated multibase and multihashses
dependencies.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-11 15:36:01 +02:00
Rūdolfs Ošiņš cb12d8eeab Remove deprecated Gnosis org functionality
This functionality is deprecated and the dependencies prevent us from
upgrading our stack.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-10-11 15:36:01 +02:00
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