Skip to content

remove table structure - #763

Open
SharonStrats wants to merge 3 commits into
stagingfrom
task/restructure
Open

SharonStrats wants to merge 3 commits into
stagingfrom
task/restructure

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

First pass at removing the table. I think we still need a bit more code cleanup. I will do that as I go.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The DOM migration currently breaks editing, collapse/navigation, layout, accessibility, and existing tests.

Review effort: Balanced
Findings: 1 High severity · 6 Medium severity · 2 Low severity

Open (9)
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.

Comment thread src/outline/manager.js Outdated
Comment thread src/outline/manager.js Outdated
Comment thread src/outline/manager.js
Comment thread src/outline/manager.js
Comment thread src/outline/manager.js
Comment thread src/outline/manager.js
Comment thread src/outline/userInput.js
Comment thread src/outline/manager.js
Comment thread src/outline/outlineDomHelpers.ts Outdated
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>
…@5.0.0-2 pane-registry@5.0.0-1 activitystreams-pane@2.0.0-0 chat-pane@4.0.0-0 contacts-pane@4.0.0-0 folder-pane@4.0.0-0 issue-pane@4.0.0-0 meeting-pane@4.0.0-0 profile-pane@4.0.0-0 source-pane@4.0.0-0) (latest: rdflib@2.4.1)
@timea-solid

Copy link
Copy Markdown
Member

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

expect(result).toHaveTextContent('...')
})
})

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you do not need this anymore

Comment thread src/outline/manager.js
// Add the x more <TR> here
const moreTR = dom.createElement('tr')
const moreTD = moreTR.appendChild(dom.createElement('td'))
const moreTR = dom.createElement('div')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not moreTR I believe...

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants