Commit Graph
129 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 15e2935cee Disable "New" issue button on issue creation view
If the user pressed that button multiple times then the "Dismiss" button
would have to be pressed multiple times too because it just pops the
history.
2024-12-06 11:48:18 +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ņš 379c3137f3 Implement label editing 2024-12-05 15:51:51 +01:00
Rūdolfs Ošiņš a2e212303d Implement label editing 2024-12-05 15:48:02 +01:00
Sebastian Martinez 653cf9a48d Sort repos by activity 2024-12-05 13:56:12 +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
Sebastian Martinez 06437656c0 Add filter for repos to list_repos command
Instead of only returning seeded repos, this repo adds 3 new filter
options to the `list_repos` command, under the `show` field

- *all* - All repos that a user has initialized or forked (own
namespace)
- *seeded* - Repos that are beeing seeded by the user
- *delegate* - Repos that the current user is a delegate of.
2024-11-22 09:35:26 +01:00
Sebastian Martinez f23206b83d Instrument authentication for e2e tests 2024-11-21 10:29:14 +01:00
Sebastian Martinez ac550e0602 Remove unused console.logs 2024-11-20 12:16:43 +01:00
Rūdolfs Ošiņš 982ce568b7 Check auth status periodically 2024-11-19 17:15:00 +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
Sebastian Martinez 93e2770d6d Fix focus on comment component 2024-11-06 13:26:29 +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 777430ab92 Add tests for clipboard, issue listing and issues 2024-11-05 12:43:52 +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ņš aad18db51a Style radio buttons according to design 2024-10-31 11:53:01 +01:00
Sebastian Martinez e37369062f Add playwright for e2e testing 2024-10-30 10:07:52 +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ņš 1f9f6505ab Simplify comment reply form component structure 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
Rūdolfs Ošiņš c3dbea450c Prevent UI flickering when editing, reacting and replying 2024-10-28 14:11:48 +01:00
Rūdolfs Ošiņš 3a685584d2 Style comment reply box according to design 2024-10-28 14:11:48 +01:00
Rūdolfs Ošiņš 6052098c18 Allow editing issue titles 2024-10-28 14:11:48 +01:00
Rūdolfs Ošiņš 79dbe78751 Tweak create issue form styling 2024-10-28 14:11:48 +01:00
Rūdolfs Ošiņš 3f6e93203a Fix issue where preview would push down icon alignment 2024-10-28 14:11:48 +01:00
Rūdolfs Ošiņš c6c7f312c1 Add icons to comment reply, discard and save buttons 2024-10-28 14:11:48 +01:00
Sebastian Martinez d90dc0735c Add test-http-api crate to make app work in browser
A new `invoke` function calls either the tauri backend or the
`test-http-api` function if ran in a browser.
2024-10-28 13:56:23 +01:00
Rūdolfs Ošiņš 0693f4f806 Add announce preference to settings 2024-10-25 10:46:53 +02:00
Rūdolfs Ošiņš c01a48939e Add comment threads 2024-10-25 10:46:53 +02:00
Rūdolfs Ošiņš dbbbb63d16 Fix issue creation 2024-10-23 16:39:30 +02:00