Page MenuHomePhabricator

[Engineering EPIC]: Isolate Section Editing
Open, Needs TriagePublic

Description

Our first pass plan of approach:

  1. Load the full document into a DOM
  2. Unwrap all parsoid-generated section tags except the requested one from the URL parameter
  3. Convert the full document into the VE data model
  4. Build VE view tree for the selected DM node object

Current assumptions:

  • We want to focus on sections as currently defined by Parsoid (not paragraphs/sentences as sections)
  • The "selection" (document model node) loaded will be a single node rather than a group of siblings

Limitations of approach:

  • Changing from one node to another will be more difficult

Benefits of approach:

  • Don’t have to deal with potential corruption of the document tree hierarchy
  • Avoid the addition of unwanted section tags

Event Timeline

JTannerWMF moved this task from To Triage to Up next on the VisualEditor board.
marcella claimed this task.Nov 20 2018, 8:45 PM
marcella moved this task from Up next to Epics on the VisualEditor board.
DannyH renamed this task from [Engineering Epic] Wayfinding Isolate Section Editing to [Engineering Epic] Isolate Section Editing.Nov 28 2018, 4:41 PM
DannyH renamed this task from [Engineering Epic] Isolate Section Editing to [Engineering EPIC] Isolate Section Editing.
DannyH renamed this task from [Engineering EPIC] Isolate Section Editing to [Engineering EPIC]: Isolate Section Editing.Nov 28 2018, 5:03 PM
marcella updated the task description. (Show Details)Nov 29 2018, 7:00 PM
marcella updated the task description. (Show Details)

See also T215717 (which is a related optimization task, but not a blocking subtask)