Repository navigation
remove table structure - #763
SharonStrats wants to merge 14 commits into
Conversation
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The DOM migration currently breaks editing, collapse/navigation, layout, accessibility, and existing tests.
Review effort: Balanced
Findings: 1
Open (9)
Navigation expansion clears existing outline subjects · New Legacy helper redefinitions override extracted implementation · New Collapse targets entire row instead of expanded object · New CSS selectors no longer match migrated DIV rows · New Duplicate-object walkers ignore migrated DIV rows · New Left-arrow collapse still searches for ancestor TD · New Fallback selects pane DIV instead of enclosing statement row · New Compatibility alias breaks tests expecting a TD · New ARIA roles create invalid nested row hierarchy · New
What changed in this PR
Replaces the outline’s table-based DOM with block elements and provider components.
Changes:
- Migrates outline rendering and editing from table elements to DIVs.
- Extracts outline DOM helpers.
- Updates related dependencies and lockfile.
| File | Description |
|---|---|
src/outline/userInput.js |
Adapts editing to DIV statement rows. |
src/outline/outlineDomHelpers.ts |
Adds reusable outline DOM helpers. |
src/outline/manager.js |
Migrates outline rendering and navigation. |
package.json |
Updates coordinated Solid dependencies. |
package-lock.json |
Records resolved dependency updates. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
8dd254e to
6abbc72
Compare
|
This is a huge undertaking. But it looks okish to me. We need to be very careful though.. the databworser also depends on some calls |
| // Add the x more <TR> here | ||
| const moreTR = dom.createElement('tr') | ||
| const moreTD = moreTR.appendChild(dom.createElement('td')) | ||
| const moreTR = dom.createElement('div') |
There was a problem hiding this comment.
it is not moreTR I believe...
Prompt: several prompts to help resolve the PR feedback because this is very detailed. Not sure if this code will stay the way it is as more will be rewritten. Co-authored-by: GPT-5.4 Mini <gpt-5.4-mini@openai.com>
ef48812 to
315b270
Compare
…6.0.0 solid-ui@5.0.1 pane-registry@5.0.1 activitystreams-pane@2.0.0 chat-pane@4.0.0 contacts-pane@4.0.0 folder-pane@4.0.0 issue-pane@4.0.0 meeting-pane@4.0.0 profile-pane@4.0.0 source-pane@4.0.0)
Prompt: Fix stale async header updates with a generation counter Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
Prompt: Use a const for the provider and simplify by using explorerStates for generation, menuitems and options. <Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
Prompt: use the getrelevant panes function from solid-ui Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
…anes into task/restructure
- replace manual explorer DOM composition with UI.composeExplorer - scope explorer events to their owning provider - preserve solo-pane state and async header menu updates - simplify in-place pane navigation and clarify storage-pane ownership Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
c0807c5 to
9a811f9
Compare
Prompt: Dokeili and html are not working correctly, dokeili needs to pass in login creditials and show the app, standard html should show the webpage please investigate Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
There was a problem hiding this comment.
🟡 Changes recommended
Preview isolation vulnerabilities and unresolved outline navigation regressions block approval.
12 open issues
Isolate preview scripts from authenticated session fetch · New Validate MIME type before embedding active content · New Preserve browser host when collapsing solo navigation · New Resolve relative base URLs in srcdoc previews · New Clone requests before reading their bodies · New Handle invalid UTF-8 in resource filenames · New Revoke preview blob URLs on disposal · New Update openPane callback to the new signature · New Support reload contexts without a resource service · New Enter expanded objects without selecting outer rows · New Resolve enclosing object when navigating left · New Restore outer view behavior for Shift-click expansion · New
9 resolved since last review
Navigation expansion clears existing outline subjects Fallback selects pane DIV instead of enclosing statement row Left-arrow collapse still searches for ancestor TD Duplicate-object walkers ignore migrated DIV rows CSS selectors no longer match migrated DIV rows Collapse targets entire row instead of expanded object Legacy helper redefinitions override extracted implementation ARIA roles create invalid nested row hierarchy Compatibility alias breaks tests expecting a TD
Review effort: Balanced



First pass at removing the table. I think we still need a bit more code cleanup. I will do that as I go.
Includes changes to panes that didn't look great or were not working properly.
Dokeili and html had regressions from previous I have documented the details and will share it had to do with logging in.