#11794 closed enhancement (fixed)
Rename 'Comments only' label in #prefs on the ticket page
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.3 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
The ticket prefs checkbox label was changed from Comments only to Show property changes. |
||
API Changes: |
On the ticket prefs form the |
||
Internal Changes: |
Description
As proposed in comment:13:ticket:10766, rename the checkbox label in the #prefs
on the ticket page from Comments only to Hide property changes.
Attachments (0)
Change History (9)
comment:1 by , 10 years ago
Status: | new → assigned |
---|
follow-up: 3 comment:2 by , 10 years ago
Yes, sounds slightly better to me, too.
(Maybe even better would be Show property changes with inverted logic?)
follow-up: 4 comment:3 by , 10 years ago
Replying to psuter:
(Maybe even better would be Show property changes with inverted logic?)
I've given it some consideration. Two things come to mind:
- Changing from Comments only to Show property changes without an upgrade step would invert the user's saved session preference. This is hardly an issue since the user would just need to save their preference again.
- Hide property changes would default to false. The initial behavior of showing everything might be more expected and predictable for new users of Trac as well as users coming from older versions of Trac.
Overall though I don't find a particularly strong argument for one over the other: Hide property changes vs Show property changes.
follow-up: 5 comment:4 by , 10 years ago
Replying to rjollos:
- Changing from Comments only to Show property changes without an upgrade step would invert the user's saved session preference. This is hardly an issue since the user would just need to save their preference again.
- Hide property changes would default to false. The initial behavior of showing everything might be more expected and predictable for new users of Trac as well as users coming from older versions of Trac.
I agree that both points would be undesirable. I thought we could avoid them, e.g. by keeping the comments_only
flag internally as is, and only negating the checkbox logic somehow. But maybe it's not as simple and gets too ugly in practice.
My main argument for Show is that it avoids a kind of double negative for new users: It can be slightly confusing that show (positive) means uncheck hide (double negative). But it's not that important, so if the changes aren't simple it's probably not worth it.
comment:5 by , 10 years ago
Replying to psuter:
I agree that both points would be undesirable. I thought we could avoid them, e.g. by keeping the
comments_only
flag internally as is, and only negating the checkbox logic somehow. But maybe it's not as simple and gets too ugly in practice.My main argument for Show is that it avoids a kind of double negative for new users: It can be slightly confusing that show (positive) means uncheck hide (double negative). But it's not that important, so if the changes aren't simple it's probably not worth it.
That seems like a good approach. I can't see a way to accomplish the change while leaving the code readable without a change to an id
. Other than that, there doesn't seem to be any downside to the changes: log:rjollos.git:t11794.1.
comment:6 by , 10 years ago
comment:7 by , 10 years ago
If the CSS in [a4c13e76/rjollos.git] is deemed generally useful we could add a trac-unselectable-text
class.
comment:8 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I'll apply the following diff in a few days if there are no comments on the change.
trac/ticket/templates/ticket.html
Comments only</label>