Skip to content

Conversation

@jakubbortlik
Copy link
Collaborator

Hi @harrisoncramer, this is partly a follow-up PR to #432, since that PR changes the what utils.time_since() returns for times less than a minute, and this PR adds just now to the strings matched as date in the gitlab filetype syntax.

While I was touching the syntax file, I also fixed it so that the note header components (expanders, note creation time, (un)resolved symbols and the draft symbol) are only matched within the header, but not in the note body (before, even strings like "5 minutes agony" would be highlighted as time :)

@jakubbortlik jakubbortlik force-pushed the fix-syntax-in-discussion-tree branch from 2fce01c to 40bedf7 Compare December 6, 2024 14:15
@harrisoncramer
Copy link
Owner

Hey @jakubbortlik I've merged in some changes to shorten the winbar, so this will need another look when you have a moment to resolve that conflict.

@jakubbortlik jakubbortlik force-pushed the fix-syntax-in-discussion-tree branch from 40bedf7 to b9aa637 Compare December 9, 2024 08:59
@jakubbortlik
Copy link
Collaborator Author

Hey @jakubbortlik I've merged in some changes to shorten the winbar, so this will need another look when you have a moment to resolve that conflict.

Hi Harrison, thanks for taking care of all the recent PRs! I really appreciate that you merged them in (or came up with alternatives like for the winbar shortening). This one should now also be ready for merge. The syntax highlighting is now only applied in the header of a node, unless somebody copies the text of the header and pastes it into the message 😄

@harrisoncramer harrisoncramer merged commit 3d76b8d into harrisoncramer:develop Dec 10, 2024
4 checks passed
@jakubbortlik jakubbortlik deleted the fix-syntax-in-discussion-tree branch December 10, 2024 16:56
harrisoncramer added a commit that referenced this pull request Dec 11, 2024
* Feat: Enable sorting discussions by original comment (#422)
* Feat: Improve popup UX (#426)
* Feat: Automatically update MR summary details (#427)
* Feat: Show update progress in winbar (#432)
* Feat: Abbreviate winbar (#439)
* Fix: Note Creation Bug (#441)
* Fix: Checking whether comment can be created (#434)
* Fix: Syntax in discussion tree (#433)
* fix: improve indication of resolved threads and drafts (#442)
* Docs: Various minor improvements (#445)

---------

Co-authored-by: Jakub F. Bortlík <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants