Opened 17 years ago
Last modified 6 years ago
#5506 new defect
Confusing formatting for attachments in Timeline
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | next-major-releases |
Component: | timeline | Version: | devel |
Severity: | minor | Keywords: | attachment |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Simple solution can be done with JavaScript (attached).
Attachments (3)
Change History (11)
by , 17 years ago
Attachment: | timeline_links_in_attachments.diff added |
---|
comment:1 by , 17 years ago
Keywords: | attachment needinfo added |
---|---|
Milestone: | 0.11 |
Severity: | normal → minor |
follow-up: 3 comment:2 by , 17 years ago
Alternative is to change formatting and keep 'Ticket #1234' as plain text (now it looks like a link)
comment:3 by , 17 years ago
Replying to anonymous:
Alternative is to change formatting and keep 'Ticket #1234' as plain text (now it looks like a link)
I'd go for this one: as the whole line is a link, the ticket number (or the name of the page for wiki attachments…) should not appear as a link. However, they (ticket number, wiki page name) should nevertheless be highlighted, which another style than wiki links.
I really don't think it is worth going down the Javascript or jQuery road here.
comment:4 by , 17 years ago
Keywords: | needinfo removed |
---|---|
Milestone: | → 0.11 |
comment:5 by , 16 years ago
Milestone: | 0.11-retriage → 0.13 |
---|
comment:6 by , 9 years ago
Owner: | removed |
---|
comment:7 by , 6 years ago
Same issue reported in JOSM-Trac: https://josm.openstreetmap.de/ticket/17292
by , 6 years ago
Attachment: | t5506.patch added |
---|
comment:8 by , 6 years ago
I'd be okay with just removing border-bottom
and changing the color
to something other than the red used by TracLinks: t5506.patch.
by , 6 years ago
Attachment: | Screen Shot 2019-02-13 at 13.49.17.jpg added |
---|
Well, I'm not sure this is pertinent, as the whole line gets highlighted when you hover the mouse on it, and it's clear that the entry is about an attachment. Going elsewhere (the ticket) when you click on the attachment entry might be seen confusing as well by other users.
Plus I don't think we should generate Javascript trickery from the controller. The HTML should be kept as clean as possible. A somewhat cleaner solution would be to add these callbacks using jQuery once the page is loaded. But the first point would still stand.
Other opinions?