Page MenuHomePhabricator

Replace "loadUnsubmittedInlineComments()" with a modern "DiffQuery"
ClosedPublic

Authored by epriestley on May 7 2020, 8:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 5:05 PM
Unknown Object (File)
Wed, Apr 10, 9:52 PM
Unknown Object (File)
Wed, Apr 3, 7:18 PM
Unknown Object (File)
Mar 16 2024, 6:07 AM
Unknown Object (File)
Jan 22 2024, 11:10 PM
Unknown Object (File)
Jan 11 2024, 12:03 PM
Unknown Object (File)
Jan 6 2024, 8:37 PM
Unknown Object (File)
Jan 5 2024, 1:23 PM
Subscribers
None

Details

Summary

Ref T13513. All queries now go through a reasonably minimal set of pathways and should have consistent behavior.

Test Plan
  • Loaded a revision with inlines.
  • Created a new empty inline, reloaded page, saw it vanish.
  • Created a new empty inline, typed draft text, did not save, reloaded page, saw draft present.
  • Created a new empty inline, typed draft text. Submitted feedback, got prompt, answered "Y", saw draft text submit.
  • Created a new empty inline, typed draft text, scrolled down to bottom of page, typed non-draft text, saw preview include draft text.
  • Marked and submitted "Done".
  • Used hide/show on inlines, verified state persisted.
  • Did much of the same stuff in Diffusion, where it all works the same way (except: there's no prompt when submitting draft is-editing inlines).

Diff Detail

Repository
rP Phabricator
Branch
iquery11
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24375
Build 33585: Run Core Tests
Build 33584: arc lint + arc unit

Event Timeline

epriestley edited the test plan for this revision. (Show Details)
  • Fix a couple issues caught during testing.
This revision was not accepted when it landed; it landed in state Needs Review.May 7 2020, 11:11 PM
This revision was automatically updated to reflect the committed changes.