Commit Graph
59 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 1df28abed2 Show comments that are thread replies to the issue body
Previously treated the issue body as a comment and people could post a
thread reply to that first comment. Now we treat the first comment as
the issue body and disallow replying to it via a thread. There are still
some old replies, we show them as regular comments.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-12 08:10:34 +02:00
Rūdolfs Ošiņš 34f40fba02 Adjust action wording to show only latest action in patch list
It will show either "Opened x days ago" or "Updated x days ago"
depending whether there is one or multiple revisions.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-12 07:59:54 +02:00
Rūdolfs Ošiņš d5e194bf11 Make diff line background uniform across gutter and body
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-12 07:51:26 +02:00
Rūdolfs Ošiņš b997b12353 Implement data loading in router
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-11 10:51:35 +02:00
Sebastian Martinez d8d049518b Improve patch timeline and add description
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-10 09:15:19 +02:00
Rūdolfs Ošiņš 2b25533b58 Use underline for commit/issue/patch teaser links
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-28 11:57:24 +02:00
Rūdolfs Ošiņš d54889cea1 Allow markdown in issue/patch titles
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-27 16:47:19 +02:00
Rūdolfs Ošiņš 1f09d8a2a8 Allow opening links in a new tab
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-27 15:54:53 +02:00
Rūdolfs Ošiņš 3a4a766cfa Fix httpd-client patch review verdict schema
We now also show an error message to the user instead of silently
failing.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-25 11:56:40 +02:00
Rūdolfs Ošiņš 67f02463ee Refactor commit history view
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-21 11:36:50 +02:00
Sebastian Martinez d77b6041a6 Fetch cobs by selected or default state
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-20 22:29:37 +02:00
Rūdolfs Ošiņš 9704318248 Refactor seed view
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-20 14:41:19 +02:00
Rūdolfs Ošiņš 26419a74e2 Simplify the ProjectCard component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-20 14:41:19 +02:00
Sebastian Martinez 05ba3bfc04 Improve click behaviour code highlighting
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-18 21:50:22 +02:00
Sebastian Martinez e5ec6e33fb Improve general UX
- Hide issue title edit button when not logged in
- Show Blob placeholder when empty file
- Allow selecting blob code without the lines
- Add Clipboard component to object id in CobHeader
- Add blockies to Patch and Issueteasers
- Reduce formatted object ids to 7 instead of 11 chars
- Remove line breaking on soft wraps from Markdown
- Reduce font size of code blocks in Markdown
- Improve margins in IssueTeaser
- Reduce font size in FileDiffs
- Improve teasers, assignees and tags highlighting
- Reduce font size of code
- Change commit teaser subtitle
- Show Clipboard in commit sha1
- Add blockies to PeerSelector
- Adjust commit view CSS

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-14 16:15:51 +02:00
Sebastian Martinez 94632d7ea0 Fix patches state colors
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-14 16:06:09 +02:00
Rūdolfs Ošiņš 7682d9e215 Refactor issue/patch side inputs
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-13 10:06:29 +02:00
Rūdolfs Ošiņš 2d58c600ad Don't show port in clone URL if it is the default port
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-12 10:02:04 +02:00
Rūdolfs Ošiņš 6efe60984b Update logo and favicon
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-12 08:22:28 +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
Rūdolfs Ošiņš 9e1fc49ae7 Fix mixed content warning when connecting to local node
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-05 13:49:52 +02:00
Sebastian Martinez 016b5e9d0a Patch states fallback to disable and show default if undefined
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 15:35:56 +02:00
Sebastian Martinez 5fbbd824ff Add merged patch state
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 14:59:37 +02:00
Sebastian Martinez a168a4d126 Pluralize values instead of parenthesis
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-03 14:10:47 +02:00
Sebastian Martinez 6a03ccef2d Update patch state from proposed to open
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-03-30 17:51: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
Rūdolfs Ošiņš feed4d4461 Show local seed page upon successful authentication
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-03-14 15:35:11 +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
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
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ņš 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 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ņš 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 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