Page MenuHomePhabricator

when you edit a topic title, the placeholder for its new post doesn't update
Open, LowPublic

Description

Edit an existing topic's title.
Result: the 'Comment on "<topic title"' placeholder text in its textarea for a new post doesn't change.


Version: master
Severity: minor

Details

Reference
bz57396

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:33 AM
bzimport set Reference to bz57396.
bzimport added a subscriber: Unknown Object (MLST).

The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/506, but people from the community are welcome to contribute here and in Gerrit.

Looks like it *does* change when you hard-refresh – I'm guessing there's not much we can do about this until we tackle our magical live-updating websockets chunk of work.

(In reply to comment #2)

I'm guessing there's not much we can do about this until we tackle our magical
live-updating websockets ...

Our code already knows when the user changes the title, but the left hand doesn't know what the right hand is doing elsewhere in our 2300 lines of JavaScript. The topic should trigger('onTopicTitleChanged') and the textarea can respond by updating the placeholder. Soon edit conflict handling may trigger the same, and yes eventually the live-updating code will also trigger it. If we do it right, the future work is easier.