-
Notifications
You must be signed in to change notification settings - Fork 49
Fix: Syntax in discussion tree #433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Syntax in discussion tree #433
Conversation
2fce01c to
40bedf7
Compare
|
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. |
40bedf7 to
b9aa637
Compare
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 😄 |
* 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]>
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 addsjust nowto the strings matched asdatein thegitlabfiletype 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 :)