Commit Graph
50 Commits
Author SHA1 Message Date
Sebastian Martinez 4ff0258af6 Improve DiffStatBadge contrast
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-14 16:06:09 +02:00
Rūdolfs Ošiņš c8c251fabd Add httpd-client api library
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-11 15:31:08 +02:00
Rūdolfs Ošiņš 045890d2e1 Simplify Avatar component and get rid of extra requests
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-10 14:39:50 +02:00
Sebastian Martinez a6bc6d3c27 Fix small markdown spacing issue
Adds a listitem renderer overwrite to marked which
wraps everything that is inside a <li> which isn't only single <p> tag
into a <div class="list-content"> which we give a margin: 1rem 0;

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 14:30:58 +02:00
Rūdolfs Ošiņš 894435de79 Use capitalize from lodash
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-28 18:18:26 +02:00
Sebastian Martinez b5de1d7012 Add patches read-only view
- Patches listing
- Patch detail view
- Ability to switch between patch revisions
- Add or remove tags from a patch (if logged in)
- See the following information on a patch
  - Title
  - State
  - Author of first revision
  - Timestamp of creation of first revision
- For each revision a user can see
  - Merges
  - Reviews (accepted, rejected or just commented, no inline code comment support yet)
  - Comments on Reviews if available no code comments yet
  - See related commits
  - A changeset over the entire revision

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-28 17:41:04 +02:00
Sebastian Martinez 5549be9c1d Add issue commenting and edit metadata
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-17 14:20:12 +01:00
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
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ņš 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ņš 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
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
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
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
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ņš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 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 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 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
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 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ņš 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ņš 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ņš 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ņš 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ņš 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
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
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
Rūdolfs Ošiņš 5cb733e73b Use the ellipsis symbol consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-15 12:52:13 +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
Rūdolfs Ošiņš 591c19a256 Refactor typography styles
- Move all global typography styles to its own file. This makes it
  easier to find all the typography related definitions for newcomers.

- Prefix all typography related global CSS classes with a unique prefix
  `.txt-`. This allows us to grep the codebase and see exactly where
  they are applied. Another benefit of this convention is that it helps
  to avoid accidentally mixing global and local styles. Having global
  CSS classes that sometimes overlap with component CSS classes makes it
  very hard to reason about the resulting visuals and making changes
  unpredictable.

- Introduce CSS variables for standardised typography sizes and apply
  them to the whole codebase consistently. This way we can adjust the
  size in one place and it will be applied everywhere.

- Avoid using predefined HTML tags which might have differing styling
  from browser to browser, e.g. `<h1>`, `<strong>`. We should stick to
  applying styling either by adding a specific global CSS class or using
  the predefined CSS variables, this way we can be sure that the styles
  won't be overridden by browser defaults.

- Have a minimal set of modifiers `.txt-monospace` and `.txt-bold` and
  apply them consistently. Since `.txt-monospace` is defined via a CSS
  variable, we'll be able to switch out fonts via a user setting in the
  future.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-09 14:50:26 +02:00
Alexis Sellier 43837d1506 Fix button gap regression
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-06 11:49:08 +02:00
Rūdolfs Ošiņš dc8a8f883c Extract Button component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-06 11:36:31 +02:00
Rūdolfs Ošiņš b3cec1f314 Format *.ts, *.js, *.css, *.html, *.json and *.svelte
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 17:47:07 +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
Brandon Oxendine b687d37b03 Unify button heights
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2022-07-13 13:51:32 +02:00
Alexey Shekhirin 9bee6e9818 fix: 404 broken link on wallet screen
Signed-off-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2022-05-18 14:55:28 +02:00
Sebastian Martinez 137cbe82f9 Fix available wallets link
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-15 14:58:47 +01:00
Alexis Sellier 8e081a7301 Fix metamask re-connection 2021-08-12 10:18:00 +02:00
Alexis SellierandNjoku Emmanuel 400a2df0a4 Add WalletConnect support
Co-authored-by: Njoku Emmanuel <kalunjoku123@gmail.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-08-03 16:25:16 +02:00