Skip to content

Improve output panels with error messages#1505

Open
cocomarine wants to merge 4 commits into
mainfrom
1512-improve-output-panels-with-error-messages
Open

Improve output panels with error messages#1505
cocomarine wants to merge 4 commits into
mainfrom
1512-improve-output-panels-with-error-messages

Conversation

@cocomarine

@cocomarine cocomarine commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Closes https://github.com/RaspberryPiFoundation/digital-editor-issues/issues/1512

Changes

  • In smaller project container (.project-wrapper container in Project.scss):

    • Visual output panel and text output panel are split in 1:1.
    • min height of text panel set to 3rem.
    Screenshot 2026-06-22 at 15 57 17
  • In larger container (min-width: 720px):

    • Visual output panel and text output panel are split in 3:2.
    • min height of text panel increased to 4rem.
    Screenshot 2026-06-22 at 15 58 07

@cocomarine cocomarine temporarily deployed to previews/1505/merge June 22, 2026 13:47 — with GitHub Actions Inactive
@cocomarine cocomarine temporarily deployed to previews/1505/merge June 22, 2026 14:26 — with GitHub Actions Inactive
@cocomarine cocomarine marked this pull request as ready for review June 22, 2026 15:00
Copilot AI review requested due to automatic review settings June 22, 2026 15:00

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 PR adjusts the Python runner output panel layout so the visual and text output panes split more evenly in small containers and follow a 3:2 split in larger containers, and updates the error message styling to show borders on both block edges.

Changes:

  • Update .output-panel--text / .output-panel--visual flex ratios for small vs larger containers using container queries.
  • Add a minimum block size to the selected tab panel in the text output area.
  • Change error message border from border-block-start to border-block.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/assets/stylesheets/PythonRunner.scss Changes output panel flex ratios and adds a minimum height rule for the selected text tab panel.
src/assets/stylesheets/ErrorMessage.scss Adjusts error message border styling to apply on both block edges.

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

Comment thread src/assets/stylesheets/PythonRunner.scss
Comment thread src/assets/stylesheets/PythonRunner.scss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants