Page MenuHomePhabricator

Remove ajaxey comment magic in Pholio, and also some bugs
ClosedPublic

Authored by epriestley on Jun 21 2014, 6:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 12, 2:35 PM
Unknown Object (File)
Wed, Sep 4, 10:13 PM
Unknown Object (File)
Wed, Aug 28, 5:40 PM
Unknown Object (File)
Aug 19 2024, 9:03 PM
Unknown Object (File)
Aug 19 2024, 8:59 PM
Unknown Object (File)
Aug 19 2024, 8:58 PM
Unknown Object (File)
Aug 19 2024, 8:55 PM
Unknown Object (File)
Aug 17 2024, 5:47 PM
Subscribers

Details

Summary

Fixes T5424.

  • One concrete issue: drafts were not being cleared properly because __draft__ was not set on submission. This (mostly) fixes phantom drafts.
  • This ajax comment magic feels weird and floaty and generally has problems. For example, if you add subscribers or inlines, all the stuff on the page which represents those won't update automatically. Instead, just reload. Maybe we'll ajax this stuff some day, but it feels like a net negative for now.
  • Also remove it from other applications where it's currently used.
  • Fix an issue with inline previews.
Test Plan

Made some comments on a mock, everything worked normally like I expected it to.

Diff Detail

Repository
rP Phabricator
Branch
xactionunmagic
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1278
Build 1278: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Remove ajaxey comment magic in Pholio, and also some bugs.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 21 2014, 7:17 PM
epriestley updated this revision to Diff 23161.

Closed by commit rP9f2efd0fa048 (authored by @epriestley).