Commit graph

35845 commits

Author SHA1 Message Date
tidy-dev 51cd66f504 Merge branch 'development' into diff-line-checkboxes 2024-01-30 13:21:03 -05:00
Sergio Padrino 7c5111425c
Merge pull request #17688 from desktop/fix-diff-drag-selection-scroll
Fix diff range-based selection dragging the mouse
2024-01-30 15:47:22 +01:00
Sergio Padrino 51a86df5ff Align user avatar to the center of the tooltip 2024-01-30 13:30:55 +01:00
Sergio Padrino 55706e82f1 Set user name for known bots to fix their avatar tooltips 2024-01-30 13:30:31 +01:00
Sergio Padrino db23071c4b
Merge pull request #18091 from desktop/close-single-word-issues
Add a new action to automatically close issues with single-word titles
2024-01-30 11:52:34 +01:00
Jose Cortinas 6f7ec44fb6
Update app/styles/ui/_diff.scss
Co-authored-by: tidy-dev <75402236+tidy-dev@users.noreply.github.com>
2024-01-29 10:54:47 -06:00
Steve Ward 53df115a24
Update .github/workflows/close-single-word-issues.yml
Co-authored-by: Sergio Padrino <sergio.padrino@gmail.com>
2024-01-29 11:41:50 -05:00
Sergio Padrino c2a964f80d
Merge pull request #18089 from desktop/fix-select-last-line
Fix diff parser when last line of file has "no newline" marker before the change
2024-01-29 15:06:52 +01:00
Steve Ward cd5d9168e0 Fix linting 2024-01-26 13:31:58 -05:00
Steve Ward 893b00e4d7
Add a new GitHub Action to close issues with only a single word in the title 2024-01-26 13:09:24 -05:00
tidy-dev 4b874c952e Don't mess up the check mark symbol...
Co-Authored-By: Sergio Padrino <1083228+sergiou87@users.noreply.github.com>
2024-01-26 10:45:34 -05:00
tidy-dev 3d3bbe7591 Put diffCheck in it's own file
Co-Authored-By: Sergio Padrino <1083228+sergiou87@users.noreply.github.com>
2024-01-26 08:01:51 -05:00
Sergio Padrino d3f7c5ec7e Rewrite comment to be more accurate 2024-01-26 13:34:00 +01:00
Sergio Padrino 92fecc1473 Improve diff parser tests to check diff line numbers when "no newline" marker is present 2024-01-26 13:17:24 +01:00
Sergio Padrino 2a686716d0 Fix diffLineNumber for lines after a "no newline" marker 2024-01-26 13:08:56 +01:00
Sergio Padrino 211ef8fc58
Merge pull request #18084 from desktop/eol-changes-warning-banner
Use banner to announce line endings change warning in diffs
2024-01-26 10:51:31 +01:00
Jose Cortinas b608647dcb Add focus indicator when diff grid has focus 2024-01-25 15:46:01 -06:00
tidy-dev 0bb2627daf Cleaner diff check marks
Co-Authored-By: Gavin Nelson <gavin@nelson.co>
2024-01-25 13:29:27 -05:00
Sergio Padrino 373938ca4b Refactor to simplify DiffContentsWarning usage 2024-01-25 17:59:28 +01:00
Sergio Padrino 49b03bbe25 Group diff warnings inside the same banner 2024-01-25 17:56:17 +01:00
Sergio Padrino cf10b38882
Merge pull request #18083 from desktop/fix-amend-non-gh-repo
Restore message of commit to amend for non GitHub repos
2024-01-25 17:18:28 +01:00
Sergio Padrino 204fbe92f7 Just like when undoing a commit, make sure message from commit to amend is restored
This logic is copied from GitStore's `undoCommit`
2024-01-25 13:37:22 +01:00
tidy-dev 228c82fa33 Don't add stuff to non selectable diffs 2024-01-24 11:58:04 -05:00
tidy-dev 022f6e17c1 Give some room for check marks on split diff 2024-01-24 11:50:01 -05:00
tidy-dev dc71c8bca8 Keep consistent sizing and placement of check mark 2024-01-24 11:50:01 -05:00
tidy-dev b9c7abbe9c Keep border on unified diff line numbers 2024-01-24 11:50:01 -05:00
tidy-dev ca2e375963 Add a octicon check mark on selected line numbers 2024-01-24 11:50:01 -05:00
tidy-dev 642fc80fd5 Make focus ring rounded to match other styles 2024-01-24 11:50:00 -05:00
Sergio Padrino c61852d3f7 First step to render the line endings change warning as a banner 2024-01-24 16:05:41 +01:00
Sergio Padrino b83fd3f6cf
Merge pull request #18069 from desktop/eol-changes-warning
Add aria-label to line-ending change warning icon in diffs
2024-01-24 15:31:35 +01:00
Sergio Padrino 635b5ddd3b Always scroll to the mouse position 2024-01-24 15:30:33 +01:00
Sergio Padrino 958d84d4b9 Don't skip last line 2024-01-24 13:43:37 +01:00
Sergio Padrino bd42f2e5ec Merge branch 'development' into fix-diff-drag-selection-scroll 2024-01-24 13:31:34 +01:00
Sergio Padrino 2c3234c980 Use Octicon title as its aria-label too 2024-01-24 13:27:29 +01:00
Jose Cortinas 9d05adbc9b
Apply suggestions from code review
Co-authored-by: tidy-dev <75402236+tidy-dev@users.noreply.github.com>
2024-01-23 09:51:23 -06:00
Sergio Padrino d0a92695d7 Add aria-label to line-ending change warning icon in diffs 2024-01-23 13:52:47 +01:00
Sergio Padrino ecada7b91b
Merge pull request #17651 from DylanDevelops/adding-new-syntax-highlighting
Added new extensions to existing syntax highlighting
2024-01-23 12:12:16 +01:00
tidy-dev 2d524bddb3 Remove debugger 2024-01-22 15:41:40 -05:00
tidy-dev 413ce9cb32 Remove attempt to remove mousedown linter disable.. 2024-01-22 15:31:48 -05:00
tidy-dev b4f0099d0a Show whitespace popover when interacting 2024-01-22 13:43:07 -05:00
tidy-dev d50969f68f Don't regress borders 2024-01-22 13:42:54 -05:00
tidy-dev eef77351fc Finish that doc line 2024-01-22 13:03:13 -05:00
tidy-dev f1216f3916 Use checkboxes to represent line number inclusion 2024-01-22 12:56:25 -05:00
Jose Cortinas da61f9bbc0 Always write default setting to localstorage 2024-01-22 11:55:46 -06:00
Sergio Padrino 731a1a3312
Merge pull request #18040 from bentookey-yotta/add-mdx-highlighting
Apply Markdown highlighting to .mdx files
2024-01-22 12:21:43 +01:00
Jose Cortinas ec1d29b8c1 Disable variable naming convention linter for generated octicons file 2024-01-18 13:51:17 -06:00
tidy-dev 9fdb8c3b09
Merge pull request #18042 from desktop/releases/3.3.9-beta1
Release 3.3.9-beta1
2024-01-18 14:16:01 -05:00
tidy-dev 4be9fa7638
Merge pull request #18029 from desktop/more-invalid-row-removal
Remove returning -1 in file list for selected rows
2024-01-18 09:47:53 -05:00
Markus Olsson 5f99b5a249 Merge branch 'development' into bot-avatars 2024-01-18 15:43:53 +01:00
Sergio Padrino 67aa66ca78
Merge pull request #18018 from desktop/alive-origin-fixes
Improve method of building origin for Alive websockets
2024-01-18 15:33:22 +01:00