Commit Graph
52 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 6d87823ce0 Tweak copyable IDs 2024-06-12 15:49:03 +02:00
Sebastian Martinez 2ee8bae82e Rename httpd-client to http-client 2024-06-07 12:22:28 +02:00
Rūdolfs Ošiņš 3f4c65321d Make code blocks full-width in issues/patches and comments 2024-05-16 14:04:37 +02:00
Rūdolfs Ošiņš 0e059bf3cb Show comment OID in threads 2024-05-16 10:08:02 +02:00
Rūdolfs Ošiņš 521ccd0928 Fix code block overflow issue in comments 2024-05-09 13:41:37 +02:00
Rūdolfs Ošiņš 698a833e42 Overhaul app responsiveness
We introduce more breakpoints to cover mobile, small-desktop,
medium-desktop and large-desktop viewports.
2024-05-06 16:43:05 +02:00
dnlklmn d6f3d17805 Alignment fix 2024-03-27 22:29:25 +01:00
dnlklmn 4c8f64111b Make IconButton bigger 2024-03-27 20:23:03 +01:00
Rūdolfs Ošiņš 926a9da5e0 Fix NodeId popover z-index issues 2024-03-26 12:40:02 +01:00
Sebastian Martinez 4cbc6222c1 Add single line break option to Markdown component 2024-03-25 17:43:45 +01:00
Sebastian Martinez cddf8b40fc Fix connector lines in issue comments 2024-03-20 13:26:57 +01:00
Sebastian Martinez daba9fca82 Make revision actions less tall and refine paddings 2024-03-19 15:07:55 +01:00
Sebastian Martinez 5b30269c7c Add support for submodules and update heartwood 2024-03-11 19:13:22 +01:00
Sebastian Martinez 1471fb1709 Add edited label to patches 2024-02-23 07:53:48 -03:00
Sebastian Martinez f0758de9f3 Add reactions to patch revisions
- Also adapts to the new reactions API schema everywhere.
2024-02-02 13:33:07 +01:00
Sebastian Martinez 7fdcd816d1 Add missing absolute timestamps back as title tooltip 2024-01-25 17:05:07 +00:00
dnlklmn 20f895df6e Fix reactions spacing 2024-01-19 18:51:37 +00:00
Sebastian Martinez c76c8e7ab8 Change actions to who what when 2024-01-17 17:00:10 +00:00
Sebastian Martinez 448c762831 Show edited label on edited comments and issues
If a comment or an issue had at least one additional edit, we show a `edited` label,
which on hover shows the standard tooltip with more information on
who edited it and when.
2023-12-15 07:10:14 +01:00
Sebastian Martinez 10c54ace67 Remove disableEdit from Comment 2023-12-14 19:10:23 +01:00
Sebastian Martinez 95ed1a0353 Adding embed editing in issues and patches 2023-11-28 10:59:55 +01:00
Sebastian Martinez b6ac9bd4a7 Improve handling of rawPath
Instead of computing it in multiple components, we should do it in
router.ts in the routes where we need it, and add the commit param when
we have it.
2023-11-27 14:12:24 +01:00
Sebastian Martinez 1188e84c87 Cleaning up state flags 2023-11-15 09:32:12 +01:00
Sebastian Martinez 5742f15e28 Refactor Issue actions and related components 2023-11-15 09:32:10 +01:00
Sebastian Martinez c1740beb12 Add embeds to patches
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-26 16:58:14 +02:00
Sebastian Martinez 5e5f7fc12f Add editing to issue/patch descriptions, comments and replies
Also does some refactoring for `action`, `editable` and other variables
we were using which weren't very clear

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-26 16:27:54 +02:00
Rūdolfs Ošiņšanddnlklmn d914710396 Implement new design
Co-authored-by: dnlklmn <pelicansinberlin@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-10-13 18:05:19 +02:00
Sebastian Martinez 8eaf39e6ae Wrap links or similar in Comment component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-10-02 12:46:28 +02:00
Sebastian Martinez 1ef0f9dfd1 Add issue embeds
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-09-27 16:40:49 +02:00
Sebastian Martinez aec0289f10 Refactor some of the reaction components
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-28 13:52:57 +02:00
Sebastian Martinez 7edd6dcdf0 Enable adding and removing reactions
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-08-24 09:23:36 +02:00
Sebastian Martinez 205fc814bc Bring reactions to comments and issues
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-12 15:36:02 +02:00
Rūdolfs Ošiņš 74fa05cf26 Rewrite markdown link navigation
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-07-09 15:17:43 +02:00
Rūdolfs Ošiņš cb52e96542 Use generic routing Link component everywhere
This way we can get rid of the project browsing specific ProjectLink
component and simplify the router types.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-07-09 15:05:18 +02:00
Sebastian Martinez bde2d97c9b Update dependencies
We had to change the eventDispatcher for events that shouldn't have a
second parameter to `null` instead of `never`.

See: https://github.com/sveltejs/svelte/pull/8872

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-09 14:02:58 +02:00
Sebastian Martinez fc05770775 Split patch revision creation from patch revision events
Also uses same border-radius on comment and other events, and removes
the revision creation as a timeline event.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-07-04 14:52:51 +02:00
Sebastian Martinez 87a0fffd7e Fix alias color in review
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 10:01:26 +02:00
xphoniex 0b61ad4aa2 Improve commit listing in revision component
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-06-05 11:07:50 +02:00
Sebastian Martinez 3465c92a7e Fix showing Authorship and CommentComponent for review
Show either an `Authorship` component if no review comment is available
or a `CommentComponent` if there is a comment

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-29 09:30:54 +02:00
xphoniex 305c9677fd Add alias to Comment
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-12 14:30:27 +00: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
Sebastian Martinez 6f413cc5ac Remove word-break: break-all from Comment component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-15 10:22:04 +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
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
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
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ņš 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