Closed Bug 511795 Opened 16 years ago Closed 16 years ago

[ForumUX] Change post timestamp to link to a specific post in a thread

Categories

(support.mozilla.org :: Forum, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cww, Assigned: jsocol)

References

()

Details

(Whiteboard: sumo_only)

Attachments

(3 files, 3 obsolete files)

Right now you can't link to specific posts inside a thread. This very commonly done in other forums and really useful for contributors to link to which post is a good solution in a given thread or other threads.
How does adding a javascript "Link to this" button next to each post sound? On click, this will append the required markup in the reply form.
Assignee: nobody → paul.craciunoiu
Target Milestone: --- → 1.4
Assignee: paul.craciunoiu → jsocol
Apparently you can do this already: http://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&forumId=1&comments_threshold=0&comments_parentId=413435&comments_offset=60&comments_per_page=20&thread_style=commentStyle_plain#threadId424608 but we don't expose this URL from the UI. Since you're often linking to a post in a different thread, we might as well just have the link visible and people can copy and paste it themselves.
Assignee: jsocol → paul.craciunoiu
Summary: Make it possible to link to a specific post in a thread → Change post timestamp to link to a specific post in a thread
Assignee: paul.craciunoiu → jsocol
How about adding a title attribute to the link, something along the lines of "Link to this reply"?
This no longer blocks bug 511792 since apparently the functionality needed for that one already exists.
No longer blocks: 511792
(In reply to comment #3) If you want to be an overachiever I won't stop you.
Attached patch patch, v1 (obsolete) — Splinter Review
Adds a period (I know about bug 433319 but there are accessibility concerns without it) after the date, two spaces, then a link, with the localizable text "permalink" and localizable title "Link to this post." Also adds a CSS rule to keep the links from standing out too much. Any suggestions on the style? (Not linking the post date directly for a11y reasons.)
Attachment #396907 - Flags: review?(paul.craciunoiu)
Attached image demo screenshot (obsolete) —
Cww: looks good to you? Word "Permalink" ok?
Attached patch patch, v2 (obsolete) — Splinter Review
After talking with Cww, paulc, and Alex from Firefox UI, we redesigned the UI a bit. The "permalink" text is replaced with a hash that's only visible when you mouse over the post, and it looks like a link. (Will post screenshots.)
Attachment #396907 - Attachment is obsolete: true
Attachment #397122 - Flags: review?(paul.craciunoiu)
Attachment #396907 - Flags: review?(paul.craciunoiu)
Here's a post without the mouse over it, and...
Attachment #397093 - Attachment is obsolete: true
here's what happens when you mouse over a post.
Attachment #397122 - Flags: review?(paul.craciunoiu) → review+
Comment on attachment 397122 [details] [diff] [review] patch, v2 Looks good and simple.
Summary: Change post timestamp to link to a specific post in a thread → [ForumUX] Change post timestamp to link to a specific post in a thread
Attached patch patch, v3Splinter Review
Same as v2, just brought up to date since one of the files changed on me.
Attachment #397122 - Attachment is obsolete: true
Attachment #397660 - Flags: review?(paul.craciunoiu)
Comment on attachment 397660 [details] [diff] [review] patch, v3 Didn't test old patch, but assume this was needed because applying the old patch failed.
Attachment #397660 - Flags: review?(paul.craciunoiu) → review+
Exactly right. Committed to forumux branch. r50523
Merged to trunk / prod. r51292 / r51294
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: sumo_only
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: