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
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ņš
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
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
Sebastian Martinez
874605633e
Refactor types
...
- Improves the hierarchy of types into separate folders
- Improve the types generation making more structs and less serde_json
- Adding more optional values to the tauri commands
2024-10-23 11:58:37 +02:00
Sebastian Martinez
caebd0a325
Narrow down IssueOp type by flattening it
2024-10-22 12:29:35 +02:00
Sebastian Martinez
6d649aea6d
Add get_diff tauri command
2024-10-15 09:36:42 +02:00
Sebastian Martinez
a3a0850b49
Add activity timeline to Issue.svelte
2024-10-14 10:38:22 +02:00
Rūdolfs Ošiņš
9bed71d607
Refactor how we pass around DIDs
2024-10-11 11:58:02 +02:00
Rūdolfs Ošiņš
835b3f754b
Add "edited" marker to issue header
2024-10-11 11:58:02 +02:00
Rūdolfs Ošiņš
59be840f80
Align placeholder with markdown content
...
So it doesn't visually jump around when toggling between issues with and
without description.
2024-10-11 11:58:02 +02:00
Rūdolfs Ošiņš
cfe1c546f9
Add markdown preview to create issue view
2024-10-09 21:12:12 +02:00
Rūdolfs Ošiņš
9958575626
Add Issue state/label/assignee section in single issue view
2024-10-09 21:12:12 +02:00
Sebastian Martinez
3139c98834
Add rid to missing Patch component
2024-10-08 12:14:25 +02:00
Sebastian Martinez
8c80f7b228
Add get_file_by_oid command, enables support for embeds
2024-10-08 12:07:47 +02:00
Rūdolfs Ošiņš
e5f90e20b8
Add create issue view
2024-10-08 11:27:44 +02:00
Sebastian Martinez
517d867f95
Revert to initial scroll position on filter change
2024-10-07 13:11:08 +02:00
Sebastian Martinez
e51df19fed
Add infinite scrolling for patches listing
2024-10-07 13:11:08 +02:00
Sebastian Martinez
6b8c73c615
Fix Patch revision listing
2024-10-03 16:56:02 +02:00
Rūdolfs Ošiņš
ea9a425cf0
Add single patch route
2024-09-27 16:59:16 +02:00
Sebastian Martinez
ddf44cea4e
Rename and reorganize tauri commands
2024-09-26 11:30:44 +02:00
Rūdolfs Ošiņš
395c46958e
Make sidebar scrollable
2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš
6b8cb91567
Add single issue view
2024-09-25 17:31:57 +02:00
Rūdolfs Ošiņš
0e2aefe052
Style issue/patch missing text
2024-09-25 17:31:57 +02:00
Sebastian Martinez
608d211083
Add repo::diff tauri command
2024-09-25 16:59:47 +02:00
Rūdolfs Ošiņš
0d84cf55a6
Make list scroll under the header properly
2024-09-18 16:59:43 +02:00
Rūdolfs Ošiņš
b05bc05b3c
Fix header image in packaged build
2024-09-18 16:41:54 +02:00
Rūdolfs Ošiņš
7f567e354a
Style issue and patch list views
2024-09-17 17:32:08 +02:00