Repository navigation
1982 move the error to the input panel - #1773
Conversation
|
@macroscope-app review |
|
Manual reviews triggered for commit All prior checks · these links stay valid even if you push more commits. |
|
Review started; results will appear in the check runs. |
ApprovabilityVerdict: Would Approve Macroscope's review found this PR approvable — Python errors move beside the code, with mobile navigation revealing them automatically and existing output-only embed behavior retained. The changes are limited to presentation and navigation, with targeted unit and browser-test coverage. Needs human approval because:
You can add or adjust custom eligibility rules. Learn more. |
cocomarine
left a comment
There was a problem hiding this comment.
I think we need to update the Run button to a small size according to the design.
The grey lines and borders look a bit off in some places (e.g. the line above Run button is too thick), but my PR #1771 fixes them so no need to correct them here.
closes RaspberryPiFoundation/digital-editor-issues#1982 ## What's changed - Python errors now show at the bottom of the input panel - The error takes up at most half the input panel's height and scrolls if longer - On mobile, the Code tab opens when an error occurs - Output-only embeds are unchanged: the error still shows in the output ## Screens ### Error <img width="1507" height="745" alt="image" src="https://github.com/user-attachments/assets/05f56fdb-9b0b-4f30-b991-a01a61fe7152" /> ### Error with AI helper (to show the 50% error max height) <img width="1507" height="745" alt="image" src="https://github.com/user-attachments/assets/cd34c924-4875-4697-a1d2-13b9a65302f1" /> ### UPDATE: Changed button to match designs <img width="1507" height="745" alt="image" src="https://github.com/user-attachments/assets/6251633a-3796-4f69-8cd2-3006249100be" />
closes https://github.com/RaspberryPiFoundation/digital-editor-issues/issues/1982
What's changed
Screens
Error
Error with AI helper (to show the 50% error max height)
UPDATE: Changed button to match designs