Commit Graph
84 Commits
Author SHA1 Message Date
Sebastian Martinez 87a0fffd7e Fix alias color in review
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 10:01:26 +02:00
Sebastian Martinez 096e9dddb7 Increase height of Command component
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-12 09:37:15 +02:00
Sebastian Martinez 6d6cbbd34c Fix margin between comments and other card elements
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-06-08 11:13:28 +02:00
Rūdolfs Ošiņš ccc854dac1 Add 16x16 icons to project header
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-06 11:06:05 +02:00
Rūdolfs Ošiņš 4ca660504e Make all copy command to clipboard instances consistent
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-05 18:04:19 +02:00
Rūdolfs Ošiņš e79685b8a6 Improve patch view visuals
- underline in commit hover state
- indent revision comments
- dim "Revision" text in header
- fix vertical alignment of header items in right-hand-side
- don't show first revision description, it's already shown as part of the
  patch description

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-05 16:15:11 +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 MartinezandRūdolfs Ošiņš c230731ce0 Redesign Connect button to reflect httpd status
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-06-01 14:49:22 +02:00
Rūdolfs Ošiņš dd3b514dfc Properly await promises
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-29 15:54:00 +02:00
Rūdolfs Ošiņš 37f6cccced Mark floating promises with void
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-29 15:54:00 +02:00
xphoniex 39874d8d51 Add alias to Patch
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-29 12:14:17 +00:00
Sebastian MartinezandRūdolfs Ošiņš 46494461f2 Refactor Dropdown component
Co-authored-by: Rūdolfs Ošiņš <rudolfs@osins.org>
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-29 10:15:30 +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 227424dbeb Add option to view diff between revisions
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-28 13:58:57 +00:00
Rūdolfs Ošiņš a671706979 Use colors in badges and icons consistently
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-23 12:32:39 +02:00
Sebastian Martinez 380366be2e Fix padding and linebreaks in markdown
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-17 12:55:43 +02:00
Rūdolfs Ošiņš 2563438874 Add icons for issues and patches
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-16 14:38:26 +02:00
xphoniex 2b21390540 Add alias to PeerSelector
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-16 08:17:48 +02:00
Rūdolfs Ošiņš 2cd3a10f8f Make sure filter tabs are displayed properly on mobile
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-15 14:16:35 +02:00
xphoniex 305c9677fd Add alias to Comment
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-12 14:30:27 +00:00
xphoniex 04bae0ade6 Add alias to PatchTeaser
Signed-off-by: xphoniex <dj.2dixx@gmail.com>
2023-05-12 14:57:10 +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
Sebastian Martinez 03c05edeca Updates marked to v5.0
Disables some of the deprecated options to avoid the console warnings.
Removes obfuscation of plain-text emails.

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-05-08 10:35: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ņš 67f02463ee Refactor commit history view
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-04-21 11:36:50 +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 9799695a1a Fix relativeTimestamp function to get timestamp in ms
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-18 15:40:57 +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 534430b2ec Fix relative markdown file links
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2023-04-14 17:05:42 +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
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