Closed Bug 946823 Opened 12 years ago Closed 12 years ago

Automatic updates for new comments when viewing a discussion

Categories

(Webtools Graveyard :: Air Mozilla, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

Ideally, you shouldn't have to refresh the page to see new comments appearing.
Commit pushed to master at https://github.com/mozilla/airmozilla https://github.com/mozilla/airmozilla/commit/b459b8932aa8333ebd63c30b0592c66cbc8dd56a fixes bug 946823 - Automatic updates for new comments when viewing a discussion
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Richard, this one would love some verification attention. What it basically does is that it reloads all the comments (without refreshing the page) automatically. But... If you are looking at the comments and you're not logged in (e.g. a new Private Window) then it shouldn't update if a new comment is posted but not yet approved. However, if you're looking at it and you're signed in as a moderator (or superuser) it should refresh automatically even on newly posted comments (...that aren't yet approved). It checks every 5 seconds.
Flags: needinfo?(richard)
Hmmm.... OK. I'll try to verify it the next time I'm sitting down at two or more machines.
You don't need two machines. What I do is that I either use Chrome for the second window. That or I start a second "Private Window" in Firefox.
Encountered an interesting problem trying to test this. In a private browsing window I logged in using my vouched mozillian email (richard@milewski.org). Air-dev tells me I"m authenticated but not vouched for, while mozillians.org show that id as vouched by Benjamin Sternthal. I get the same error attempting to log in with that ID from Safari. Do we have an issue authenticating vouched mozillians?
Flags: needinfo?(richard)
The automatic updates seem to work as described. Note, however, that unapproving a comment does not remove it from visibility at the next 5-second update. The newly unapproved comment remains visible until the next page refresh.
Status: RESOLVED → VERIFIED
(In reply to Richard A Milewski[:richard] from comment #6) > The automatic updates seem to work as described. Note, however, that > unapproving a comment does not remove it from visibility at the next > 5-second update. The newly unapproved comment remains visible until the > next page refresh. Hmm... Isn't that a bug then? Curious why you changed it to verified.
Assignee: nobody → peterbe
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.