Commit Graph
868 Commits
Author SHA1 Message Date
Sebastian Martinez 09ceeed136 Add /raw route for getting images
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 11:13:15 +01:00
Sebastian Martinez 3ea6a07dc4 Update seed fixture to latest heartwood commit
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 11:13:15 +01:00
Sebastian Martinez dace61caae Make commit header and diff wrapping more similar to GH
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-14 11:05:22 +01:00
Sebastian Martinez 12be0dceb3 Cleanup commit types
Starting out for cleaning lines like `commit.commit...`
This commit removes the `CommitContext` type which isn't in Heartwood
anymore.
Also the CommitVerifiedBadge component isn't of use, since we
haven't this information currently, will bring back eventually

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-07 15:44:05 +01:00
Rūdolfs Ošiņš e2f7665dbd Show twemojis in project descriptions
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-07 13:30:40 +01:00
Rūdolfs Ošiņš 94d0ec50c5 Improve nodeId formatting on various views
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-07 13:30:40 +01:00
Sebastian Martinez 2498ef7c9e Fix some router issues
- Clicking on the project in various places goes now to `../<rid>`
  instead of `../<rid>/tree/<commit>`
- Project URL on seed allows trailing slash, eg. `../<rid>/`
- Navigating to a project URL with a `remotes/<nodeId>` suffix works now
  correctly w or w/o trailing slash

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-07 12:53:17 +01:00
Rūdolfs Ošiņš 2bad94457c Migrate to the heartwood protocol stack
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-03 14:23:46 +01:00
Sebastian Martinez d1168dc6ff Add issue creation
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-01 15:12:03 +01:00
Rūdolfs Ošiņš 4e26df7240 Clean up pinned projects
clients.radicle.xyz got migrated to Heartwood. Removed pax to have an
even number of projects and they align in two rows.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-15 11:18:18 +01:00
Rūdolfs Ošiņš 29933116e8 Fix dropdown click outside on mobile safari
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-14 17:18:38 +01:00
Rūdolfs Ošiņš ffc6f21061 Fix magnifying glass icon alignment in Safari
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-14 15:22:46 +01:00
Rūdolfs Ošiņš 3cbf265def Don't expand search bar on mobile
Also don't show the connect button in the mobile layout. We don't
support running nodes on mobile anyway.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-14 14:59:53 +01:00
Rūdolfs Ošiņš e0e51b234a Poll session every minute to make sure we are still connected
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-14 14:11:53 +01:00
Rūdolfs Ošiņš 847c18b2e5 Fix copy button alignment
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-13 14:26:21 +01:00
Rūdolfs Ošiņš 85fed61b10 Fix Mixed Content error
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-13 14:26:21 +01:00
Sebastian Martinez 0d50a5a984 Fix rounded corners in CommitTeaser
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-02-13 14:04:45 +01:00
Rūdolfs Ošiņš 5cbf8b97da Make search bar more interactive
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-13 11:28:42 +01:00
Rūdolfs Ošiņš b8b203514b Add connect to node button in header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-13 11:19:47 +01:00
Brandon Oxendine b14d35ced0 Improve contrast in light mode
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-02-01 12:36:09 +01:00
Sebastian Martinez c8b8c18064 Add footnotes support to markdown
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-31 12:34:24 +01:00
Sebastian Martinez 993c9f8708 Add session route to authenticate with rad CLI
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-31 11:53:51 +01:00
Rūdolfs Ošiņš 44b14b67cc Use cursor pointer for settings button
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-31 09:52:35 +01:00
Rūdolfs Ošiņš e04c792caf Clean up components
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-31 09:45:55 +01:00
Sebastian Martinez 25135c7025 Remove Ethereum functionality
This commit removes everything Ethereum related, this includes:
- profile pages (which relied on Ethereum information)
- testnet faucet
- vesting contract lookup
- .radicle.eth ENS registrations

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-30 11:30:41 +01:00
Rūdolfs Ošiņš 3d018dae18 Refactor modals
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-30 09:24:49 +01:00
xphoniex b9ae9614c0 Update JSON scheme for heartwood
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-01-27 10:39:57 +00:00
Sebastian Martinez a5d51123ad Update the ReverseRegistrar contract address.
ENS has deployed on the 20th of September 2022 new contracts which can
be seen here.
https://discuss.ens.domains/t/namewrapper-updates-including-testnet-deployment-addresses/14505

This commit updates the ReverseRegistrar contract which allow users to
create their reverse records again

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-26 14:35:36 +01:00
Sebastian Martinez 7eff5995c7 Add seedGit to getRegistration destructuring
We were destructuring an array of promises into individual values, but
we forgot to add `seedGit` as a new value, this gave issues for the
creation of a new EnsProfile.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-18 20:54:49 +01:00
Sebastian Martinez b2c82b06bd Improve vesting discovery and error messages
When loading a ETH address as vesting contract we show a cryptic error
message, which non tech-savy end users don't understand, this commit
changes it to something more human readable.

We allow users to enter and load a contract that probably isn't a
vesting contract.

The `getInfo` function in the `vesting` folder is very prone to possible
errors, and benefits from some parallelization between all the method
calls.

We allow hereby to enter a contract address in search and once on the
contract profile page we provide a link to the detailed vesting
information if available.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-10 14:15:08 +01:00
Sebastian Martinez 1143737c89 Always format ETH address in Profile component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-06 16:07:43 +01:00
Sebastian Martinez c7cb461586 Convert URLs in project descriptions to anchor tags
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-06 15:51:27 +01:00
Rūdolfs Ošiņš d8dd0d8e5b Fix flaky landingPage visual spec
This makes sure that the stubs are always loaded before the app.
We assume that previously the load order was not deterministic due to
the dynamic import.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-06 14:53:54 +01:00
Sebastian Martinez 4b58539eff Vendor onig WASM dependency
Instead of letting `starry-night` fetch the `vscode-oniguruma` WASM, we
fetch it from the `node_modules` folder and do the same in the e2e
tests.
For this to work we need to update `starry-night` to version `1.5.0`

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-05 14:51:26 +01:00
Alexis Sellier d31981f4ad Fix nested list margin
This makes the ToCs better looking, for example.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2023-01-04 11:32:55 +01:00
Alexis Sellier 90e420b430 Fix a couple of markdown styles
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>
2023-01-04 11:32:55 +01:00
Sebastian Martinez a76f789636 Reset search input on user navigation
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-01-04 11:31:33 +01:00
xphoniexandRūdolfs Ošiņš f72405a3e4 Add support for Heartwood
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-01-04 11:20:14 +01:00
Rūdolfs Ošiņš adc159a71e Fix regression in patches feature
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 15:58:11 +01:00
Rūdolfs Ošiņš cc416bcbf8 Fix svelte complaining about types
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 15:56:55 +01:00
Rūdolfs Ošiņš cd9b2adcdd Rename label -> tag
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 13:45:52 +01:00
Rūdolfs Ošiņš 5f0d187ecd Undo line diff type change, it was unnecessary
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 11:48:05 +01:00
Rūdolfs Ošiņšandxphoniex 4bb34023c2 Add Heartwood translation layer for file diffs
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-29 09:58:59 +01:00
Sebastian Martinez ca10a69ee5 Update dependencies
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-28 22:43:56 +01:00
Sebastian Martinez d6dbc16909 Fix querystring handling for issues and patches
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>
2022-12-28 16:12:43 +01:00
Rūdolfs Ošiņšandxphoniex 25edd969f8 Rename Seed class attributes
seed.api -> seed.addr
seed.link -> seed.node

Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-28 15:28:34 +01:00
Rūdolfs Ošiņšandxphoniex 1a5430aced Rename URN -> ID
Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-27 15:43:46 +01:00
Rūdolfs Ošiņš caa83db480 Organise files more consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-12-22 16:46:08 +01:00
Sebastian Martinez e86accafae Handle errors in Browser.svelte
Updates also the seed fixture to fix some minor issues and add a
relative image markdown example

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-21 17:10:20 +01:00
Sebastian Martinez 34cb75da12 Skip objects in front-matter
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-12-19 10:05:28 +01:00