Opened 6 years ago
Closed 6 years ago
#13065 closed enhancement (worksforme)
TicketQuery macro in compact mode has no delimiting white space
Reported by: | figaro | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Note how the compact mode of the TicketQuery macro does not have spaces, just commas: TicketQuery#Format:compact
This reduces legibility. Therefore I propose to add a space after every comma.
Note furthermore that this is not the case on Trac-hacks, therefore this is possibly a regression. In other words, the following macro call displays differently on t.e.o. vs Trac-hacks:
[[TicketQuery(status=!closed, keywords=~patch, order=priority, milestone=!unscheduled, group=milestone, format=compact)]]
Attachments (0)
Change History (5)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Replying to figaro:
Note furthermore that this is not the case on Trac-hacks, therefore this is possibly a regression. In other words, the following macro call displays differently on t.e.o. vs Trac-hacks:
[[TicketQuery(status=!closed, keywords=~patch, order=priority, milestone=!unscheduled, group=milestone, format=compact)]]
Trac-hacks has no defined milestones. Then, group=milestone
doesn't take effect.
comment:4 by , 6 years ago
Oh, so this is about the ticket query links:
Wiki Markup | Result |
---|---|
[[TicketQuery(id=1|2, format=compact)]] | #1, #2 |
[[TicketQuery(id=1|2, format=compact, group=reporter)]] | anonymous #1,2 |
#1,2 | #1,2 |
#1, #2 | #1, #2 |
#1, 2 | #1, 2 |
That seems intentional and sensible to me.
For example using group=status
also demonstrates it on Trac-hacks.
comment:5 by , 6 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Spaces do appear for me, and text selection and viewing selection source confirm they are there.
Maybe you see smaller spaces due to the selected font? Browsers (Firefox, Chrome, Edge) allow inspecting and experimentally changing the font of an element. Trac-hacks doesn't have the new fonts (#12640) yet.