Page MenuHomePhabricator

When creating an inline comment, populate the content state with the default suggestion text
ClosedPublic

Authored by epriestley on Mar 25 2021, 9:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 12, 3:44 PM
Unknown Object (File)
Wed, Feb 21, 6:29 AM
Unknown Object (File)
Wed, Feb 21, 6:29 AM
Unknown Object (File)
Wed, Feb 21, 6:29 AM
Unknown Object (File)
Feb 13 2024, 12:18 PM
Unknown Object (File)
Feb 8 2024, 2:29 AM
Unknown Object (File)
Feb 4 2024, 12:57 AM
Unknown Object (File)
Jan 21 2024, 9:04 PM
Subscribers
None

Details

Summary

Ref T13559. Currently, the default text for inline comment side-loads in a bizarre way. Instead, when a user creates an inline comment, load the inline context and set it as part of the initial content state.

This allows the side channel (and the code that puts the text in place at the last second on the client) to be removed.

Test Plan

Created inlines, clicked "Suggest Edit". See followup changes.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 29 2021, 4:00 PM
This revision was automatically updated to reflect the committed changes.