Skip to content

Fix Editor Duplication and improve styles #210

Merged
timea-solid merged 2 commits into
stagingfrom
fix/edit-button
Jul 23, 2026
Merged

Fix Editor Duplication and improve styles #210
timea-solid merged 2 commits into
stagingfrom
fix/edit-button

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

Fix editor dupication and improving styling.

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.

Pull request overview

This pull request adjusts the Source Pane layout/styling and removes a lifecycle path that could trigger duplicate editor initialization, aligning the UI structure with the SourceProvider wrapper component.

Changes:

  • Restructured layout responsibilities by moving the flex/padding/gap layout from .sourcePane onto the <source-pane-source-provider> host element.
  • Removed updated()-time editor initialization in SourceEditorCard to prevent duplicate editor creation.
  • Improved editor sizing/fit by adding a minimum height theme in CodeMirror and updating editor container CSS.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/sourcePane.css Moves layout/padding/gap to the provider host and simplifies .sourcePane container styling.
src/components/source-provider/SourceProvider.ts No functional change (formatting only).
src/components/source-editor-card/SourceEditorCard.ts Removes updated() initialization path to avoid duplicate editor initialization.
src/components/source-editor-card/SourceEditorCard.styles.css Updates editor container sizing and removes card-level padding/background styles from the section wrapper.
src/components/source-editor-card/SourceEditor.ts Adds a CodeMirror theme rule to enforce a minimum editor height.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/sourcePane.css
@SharonStrats
SharonStrats requested a review from timea-solid July 23, 2026 08:07
@SharonStrats SharonStrats added the bug Something isn't working label Jul 23, 2026
…istry@3.1.2-2 solid-ui@3.1.3-13) (latest: rdflib@2.4.0)
@timea-solid
timea-solid merged commit 3863847 into staging Jul 23, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Jul 23, 2026
@SharonStrats
SharonStrats deleted the fix/edit-button branch July 23, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants