Closed
Bug 612943
Opened 15 years ago
Closed 15 years ago
Show/hide replies when clicking on number of replies for a tweet
Categories
(support.mozilla.org :: Army of Awesome, task)
support.mozilla.org
Army of Awesome
Tracking
(Not tracked)
VERIFIED
FIXED
2.3.2
People
(Reporter: williamr, Assigned: wenzel)
References
()
Details
Show replies to tweets on the page when a user clicks on the original tweet's number of replies (eg: they click on "You replied" or "dailycavalier and 1 other replied").
These replies are indented 1 level only and appear beneath the original tweet. Clicking on the number of replies again will hide the replies. When toggling the showing/hiding of replies, we should use the same sliding animation that we use with toggling categories in the reply window dialog.
This mockup shows the styling:
http://people.mozilla.com/~williamr/communitycare/mockups/armyofawesome_231a.jpg
Like the other tweets, these replies can also be replied to by signed in users.
The replies can be either hidden elements that becomes visible when toggled or be loaded in an AJAX request to retrieve the reply data from the database.
| Assignee | ||
Comment 1•15 years ago
|
||
https://github.com/fwenzel/kitsune/compare/master...cc-list-responses-612935
This patch shows all replies that we have in the database alongside their parent tweets, and shows/hides them on click.
I don't display names yet -- that's bug 612935.
jsocol: r?
| Assignee | ||
Comment 2•15 years ago
|
||
One thing I just noticed is the sliding vs. fading animation. I'll fix this, but please go ahead and review the patch anyway.
| Assignee | ||
Comment 3•15 years ago
|
||
Finally, please note that currently, the entire reply tree under a tweet is indented only once (i.e. the reply tree is "flat"). This is so we don't out of horizontal space once we reach several levels of indentation. This only affects indentation: The different levels slide out separately when clicking on the respective reply count.
If this is not what you want, please speak up, or file an enhancement during QA.
| Assignee | ||
Comment 4•15 years ago
|
||
Showing/hiding responses to tweets landed here:
https://github.com/jsocol/kitsune/commit/e471008
(with indentation fixes and sliding instead of fading).
James also had me add a global "kill switch" for the slightly database-intensive "show all replies recursively" code, which landed here:
https://github.com/jsocol/kitsune/commit/1013db8
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Target Milestone: 2.3.1 → 2.3.2
Comment 5•15 years ago
|
||
Verified link for 'you replied' or 'username replied', slides open, displays one indent deep
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•