You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of changing the preview with fixed width we could use a class and pass it to the iframe; Maybe render iframe inside chartPreview or create a parent container for both. Also good to have ...
-Add toggle button to hide/show preview
-Option to adjust width of the preview window
-Make preview window height fixed like wagtail, both windows ought to scroll individually
This is some good work so far!
Looking at behavioural review first
I would rather the default for the preview, is just having the checkbox that says show preview window unchecked.
Instead of letting a use enter a screen size, add the sizes via buttons with labels of desktop, ipad and so fourth. You could also use a dropdown, whichever you prefer
Not sure how wagtail does it, but they manage to scale the preview window, so that all the content fits within the preview pane without the need to scroll horizontally.
Let the show preview be more visible, Like something someone cannot miss when they look at the page
Much as the screen size of the preview window changes according to the different toggles . The view is quite confusing. It looks like the preview window is now on the left. Ideally, The main screen should be bigger than the preview window.
But let me show you a screen grab of how it looks in the same pane . Notice how the preview is showing the desktop view, within that small view and it all fits, without scrolling left.( I am sure they use some kind of scaling, to be able to fit what would rather need a bigger space, and still look the same as if it were occupying a bigger space).
The other option would be to open the preview in a different tab, but then there would be no value add because that is already provided by google dev tools.
The desktop view seems to be the same as tablet view, i would expect a difference?
When I click show preview , it would be good to have the current view in the preview pane highlighted, at the moment its confusing
Could we place the show/hide preview text on top of the toggle button, and also reduce the font size
Could we add the ability to expand the preview window width?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket #18