Fix(Layout Shift Fix) - Resolved Layout Issues on DarkMode Toggle Button and Full-Screen Modal#125
Conversation
✅ Deploy Preview for ap-template-playground ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
DianaLease
left a comment
There was a problem hiding this comment.
I wonder if the tutorial should actually be targeting the "Preview Output" header in that step instead, rather than the full screen toggle button.
|
In the start tour, we generally cover the options, features, and usage of the playground. When David implemented the start tour, the full-screen modal was already a part of it. If I’m not mistaken, if you’re referring to including the entire header instead of just the full screen modal or dark mode toggle button, I can definitely work on clubbing it together. |
|
@DianaLease I have updated the layout by combining the preview output with the two feature buttons: Dark Mode and Full-Screen Modal. Additionally, I have added a step in the start tour for the Dark Mode button, as it was missing before. |
9ed9c56 to
b2330b2
Compare
|
Toggle button inside the preview block seems a bit off to me. Scope of the toggle button is for the whole app and not just the preview block and the exapnd button's scope is just on the preview block. I don't feel they should be clubbed together. |
|
so do you want to handle the toggle button to be outside the scope and the expand button inside the scope? |
|
@DianaLease @sanketshevkar , can you review this layout now? If it looks good, I will write the test case for it. |
|
@nitro56565 This looks good, although can you target the "Preview Output" header here instead of the expand button? |
|
@DianaLease Do you want me to target just the header, or would the whole preview window be a better choice? |
|
NIT: The dialog box is merging. Is it possible if we could undo that? Rest looks good. Also please fix the failing test. |
sure @sanketshevkar I can handle the merging issue but from the above 3 options which one do you prefer for preview output, I believe the whole window would be a good option as referred below as well. |
as discussed on the call today, let's go with the whole preview window, thanks! |
87c3c82 to
f58fe59
Compare
Signed-off-by: nitro56565 <nitro56565@gmail.com>
…tour Signed-off-by: nitro56565 <nitro56565@gmail.com>
Signed-off-by: nitro56565 <nitro56565@gmail.com>
Signed-off-by: nitro56565 <nitro56565@gmail.com>
Signed-off-by: nitro56565 <nitro56565@gmail.com>
Signed-off-by: nitro56565 <nitro56565@gmail.com>
cdde354 to
ecefd34
Compare
|
Hi @sanketshevkar @DianaLease I have fixed the test case as well as the whole preview window for start tour |





Summary
This PR addresses layout shift issues affecting the DarkToggle Button and Full-Screen Modal, ensuring a smoother and more consistent UI experience.
Changes
Screenshots or Video
Before
After
Author Checklist
--signoffoption of git commit.mainfromfork:branchname