Commit Graph
103 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 32ca4dc48d Allow patch title editing 2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš d4e2503b05 Fix issue error messages 2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš 8622dba111 Implement changing patch states 2025-01-10 16:52:32 +01:00
Rūdolfs Ošiņš 74470ecaff Tweak title line alignment everywhere 2025-01-08 09:57:49 +01:00
Rūdolfs Ošiņš 5832be5716 Move breadcrumbs to second column 2025-01-08 09:40:41 +01:00
Rūdolfs Ošiņš 43dbe2b7b7 Enable patch revision body editing and adding reactions 2025-01-08 09:30:56 +01:00
Rūdolfs Ošiņš 6b336b0f64 Remove hero image 2025-01-06 11:17:45 -06:00
Sebastian Martinez 01416e8aa5 Allow preview for empty body in ExtendedTextarea
Instead of disabling the preview feature when the body is empty, we show
`Nothing to preview`
2024-12-19 14:06:34 +01:00
Rūdolfs Ošiņš 35201e6630 Tweak paddings in create issue view 2024-12-18 17:38:03 +01:00
Rūdolfs Ošiņš 9f83489634 Decrease vertical spacing between comments 2024-12-17 16:50:03 +01:00
Sebastian Martinez d6d9c43ee6 Fix regression on height of CreateIssue description field
Also instead of calculating the height of the description textarea we
should allow flexbox to extend the description field to fill the entire
height.
2024-12-17 12:06:42 +01:00
Rūdolfs Ošiņš 480cbe7031 Divide patch page into patch and revision tabs 2024-12-13 17:47:03 +01:00
Rūdolfs Ošiņš 1bb8eaf9f7 Add patch metadata header 2024-12-13 16:57:38 +01:00
Rūdolfs Ošiņš 6b54c4ab66 Fix sticky file header positioning 2024-12-13 14:59:29 +01:00
Sebastian Martinez 5f26f71b86 Avoid issue creation without title or description 2024-12-13 12:26:51 +01:00
Sebastian Martinez ca4d9d13fd Add embeds to the Textarea 2024-12-13 12:26:51 +01:00
Rūdolfs Ošiņš 868dfcd2a8 Make top-bar narrow
This also moves the breadcrumbs into the main content area in selected
views.
2024-12-11 17:12:57 +01:00
Rūdolfs Ošiņš 0e427c7a6f Persist issue/patch filter state between list and single views 2024-12-10 17:43:53 +01:00
Sebastian Martinez 3109e1d231 Try to fetch alias on AssigneeInput 2024-12-09 16:24:14 +01:00
Sebastian Martinez 4f046343f3 Add syntax highlighting for diffs 2024-12-09 14:53:17 +01:00
Rūdolfs Ošiņš 6bbaaa3115 Fix title alignment when switching to editing
There was a slight jump of the title when clicking the edit title
button, this fixes it.
2024-12-09 10:57:10 +01:00
Rūdolfs Ošiņš 6206e55b96 Fix issue scrolled to the bottom on navigation
If the issue with comments is taller than the viewport then the focus on
the comment reply at the bottom of it would cause the page to be
scrolled to the end when navigating from the issue list. We want to
always open the issue page at the top, this fixes it.
2024-12-06 12:16:50 +01:00
Rūdolfs Ošiņš 96b422bdac Add hover styles to icon when the onclick prop is passed 2024-12-06 11:48:18 +01:00
Rūdolfs Ošiņš 2abb7f16cd Add label and assignee inputs to the create issue view 2024-12-06 11:48:18 +01:00
Sebastian Martinez ece9ee1eb0 Avoid announcing changes when node is stopped
Also in the edge case that the front-end didn't update and the node just
stopped in between we fallback gracefully instead of returning an error
on the back-end.
2024-12-06 10:06:45 +01:00
Rūdolfs Ošiņš 7d5ff0ac1d Implement assignee editing 2024-12-05 15:55:19 +01:00
Rūdolfs Ošiņš a2e212303d Implement label editing 2024-12-05 15:48:02 +01:00
Rūdolfs Ošiņš 52c25a905d Truncate long title in breadcrumbs with ellipsis
We can still see the full title at the top of the issue.
2024-12-02 10:45:24 +01:00
Rūdolfs Ošiņš cd0bc9c01b Fix long title wrapping in issue view 2024-12-02 10:45:07 +01:00
Rūdolfs Ošiņš 312402b5b5 Update issue title in breadcrumbs on edit 2024-12-02 10:31:42 +01:00
Rūdolfs Ošiņš d86291eb79 Update comment count in second column when adding comments 2024-11-29 17:03:52 +01:00
Rūdolfs Ošiņš 9ff061793d Implement loading on scroll for patch second column 2024-11-15 10:05:26 +01:00
Rūdolfs Ošiņš ff8fca8dd7 Use comment component for patch body 2024-11-15 10:05:26 +01:00
Rūdolfs Ošiņš e8263b8c21 Rework layout to have a sidebar and second column 2024-11-15 10:05:26 +01:00
Sebastian Martinez 376e475adf Reset Issue component state on reload
There was a need to double click on the reply icon in the `Issue` view
to get `topLevelReplyOpen` to the correct state.
2024-11-08 06:49:09 +01:00
Sebastian Martinez 4537a003ad Refactor issue thread compute to the backend 2024-11-08 06:49:09 +01:00
Rūdolfs Ošiņš 4428a4576c Make issue state button reactive to issue state 2024-11-05 15:51:54 +01:00
Rūdolfs Ošiņš 34c64809e2 Load issue activity in the router to prevent flickering 2024-11-05 13:09:59 +01:00
Sebastian Martinez 58891de06f Add svelte runes 2024-11-05 10:54:09 +01:00
Sebastian Martinez 737be7935a Replace <slot> directives with snippets 2024-11-01 13:27:21 +01:00
Rūdolfs Ošiņš 3df2d3ec14 Parallelise all requests 2024-11-01 11:43:45 +01:00
Rūdolfs Ošiņš ba0293324a Show which issue is selected in the sidebar 2024-11-01 11:17:50 +01:00
Rūdolfs Ošiņš 2c0aed2b75 Update issue state icon in the sidebar when changing state 2024-11-01 11:10:53 +01:00
Rūdolfs Ošiņš 8b27966711 Use a more descriptive variable name for issue body 2024-11-01 11:08:01 +01:00
Rūdolfs Ošiņš 80314b2148 Fix issue title editing and state change permissions
Only delegates and authors should see the edit and state change buttons.
2024-10-31 16:18:58 +01:00
Rūdolfs Ošiņš 793c3bd600 Don't show delegate and private repo labels in repo view
According to the designs we shouldn't show these labels there.
2024-10-31 16:10:26 +01:00
Rūdolfs Ošiņš f2a6bad1d7 Tweak issue title edit buttons and alignment 2024-10-31 11:53:01 +01:00
Rūdolfs Ošiņš daaef13ff2 Implement issue state change button 2024-10-29 10:54:16 +01:00
Rūdolfs Ošiņš 319b1502c6 Fix issue sorting and timestamps
Issues should be sorted by creation time and we should show the creation
time as the issue timestamp. Otherwise edits will reorder the comment
thread.
2024-10-28 14:11:48 +01:00
Rūdolfs Ošiņš 217d4b7318 Update sidebar when editing issue title 2024-10-28 14:11:48 +01:00