Commit Graph
97 Commits
Author SHA1 Message Date
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
Sebastian Martinez 684a5df136 Fix the Markdown height during preview in ExtendedTextarea 2024-12-19 14:03:27 +01:00
Sebastian Martinez 3276e5f7b5 Escape highlighted lines html tags 2024-12-19 13:54:25 +01:00
Rūdolfs Ošiņš 26e77b52cf Remove unused button
We can re-add it later when we actually have functionality for it.
2024-12-18 17:16:42 +01:00
Rūdolfs Ošiņš bec0404b17 Align text area with avatar when editing comments 2024-12-18 09:48:14 +01:00
Rūdolfs Ošiņš bbb60c847c Truncate ExtendedTextarea caption on smaller viewports 2024-12-17 19:02:37 +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ņš 8171b11424 Make code block corners pixelated in markdown 2024-12-13 17:48:37 +01:00
Rūdolfs Ošiņš 1bb8eaf9f7 Add patch metadata header 2024-12-13 16:57:38 +01:00
Rūdolfs Ošiņš d07ee2c2e1 Fix FileDiff corner styling 2024-12-13 16:32:38 +01:00
Rūdolfs Ošiņš fc5970afcd Remove unneeded border radius CSS properties
We don't have round corners anywhere in the designs.
2024-12-13 14:23:31 +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ņš 9fd2d489ae Fix select all patches button
There was a regression in the filter persist commit.
2024-12-11 17:31:21 +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ņš 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
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ņš 9ff061793d Implement loading on scroll for patch second column 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 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
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ņš 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ņš aad18db51a Style radio buttons according to design 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ņš 1f9f6505ab Simplify comment reply form component structure 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ņš f5c35b2d31 Fix overflow problem in Border component 2024-10-23 12:09:41 +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 5ed10a408c Fix overflow repo title and descriptions in RepoCard 2024-10-22 11:27:12 +02:00
Rūdolfs Ošiņš 9bed71d607 Refactor how we pass around DIDs 2024-10-11 11:58:02 +02:00