-
-
Notifications
You must be signed in to change notification settings - Fork 175
Live Preview fixes #2418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Live Preview fixes #2418
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
9f1989b
refactor: move loading more styles inside the _style function for con…
devvaannsh f858f2c
feat: localize all the strings used in image ribbon gallery
devvaannsh e4d023a
fix: downloaded images are blurry compared to previewed images
devvaannsh 6944562
feat: use local storage instead of cache to reduce API calls
devvaannsh 1613989
fix: live preview getting scrolled even when the element is completel…
devvaannsh 5a3326d
fix: info box and more options box points at different elements after…
devvaannsh 612edb7
refactor: remove redundant dismissed tracking
devvaannsh a739ac7
fix: select parent click function throws error when element is of svg…
devvaannsh 712e4bb
fix: shouldn't show edit text button for svg children elements
devvaannsh 3acb735
refactor: improve UI to make it consistent
devvaannsh 87f89e5
refactor: use more intuitive icon for select image from computer button
devvaannsh d981f0f
feat: move image gallery inside more options box
devvaannsh c89db6c
feat: remove show image gallery option from dropdown
devvaannsh 3b3ea08
refactor: use distinct icon for select image from computer button
devvaannsh 0d22c60
feat: ask users to select the folder where they want to download the …
devvaannsh 3ad4ab3
feat: show folder suggestions when typing a folder name in the dialog
devvaannsh 9e897a3
feat: add keyboard navigation in the suggestions list
devvaannsh 8245fde
feat: improve match goodness algorithm to show more useful hints
devvaannsh 44d8ab0
feat: make the folder suggestion list scrollable
devvaannsh 1e5e112
fix: feels laggy because of transition
devvaannsh 3529ad3
feat: save folder location in state manager project wise
devvaannsh a138cb8
feat: add download folder button reset mechanism
devvaannsh c353390
feat: localize all strings
devvaannsh d38fbd8
feat: make drag drop more intuitive
devvaannsh 3399462
feat: set selected state for image gallery when its clicked
devvaannsh f197333
feat: trigger the unsplash download endpoint as required by the unspl…
devvaannsh 99a6049
refactor: move image gallery button after select parent button so UI …
devvaannsh 37695fb
fix: scroll live preview when image gallery and image element overlap…
devvaannsh 2e4fef2
fix: prevent image gallery and AI box to disappear when live preview …
devvaannsh 6caf5cd
fix: improvise drag-drop by looking for elements with same size
devvaannsh 90be0a1
refactor: make drag over elements background a bit darker so that the…
devvaannsh 6ab49f1
refactor: make image gallery UI consistent
devvaannsh ccd8393
fix: buttons jumping on hover
devvaannsh 99f5af6
refactor: reduce border radius of the image gallery header buttons
devvaannsh 3f728c6
refactor: make image gallery search bar styles consistent to Phoenix UI
devvaannsh 3e6d83a
refactor: match live preview AI box styling with phoenix styling conv…
devvaannsh f3f2ebd
fix: element backgroud color not getting properly cleared
devvaannsh daa9059
feat: show root folders when empty query is entered inside the folder…
devvaannsh db8726c
fix: scroll suggestions list to top when query changes
devvaannsh 3249792
feat: exclude folders that are redundant (starting with .)
devvaannsh a388445
feat: show drilled down results inside a folder when query ends with …
devvaannsh a36f01f
refactor: hide the AI button from the more options box
devvaannsh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
915 changes: 666 additions & 249 deletions
915
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| <div class="image-folder-dialog template modal"> | ||
| <div class="modal-header"> | ||
| <h1 class="dialog-title">{{Strings.LIVE_DEV_IMAGE_FOLDER_DIALOG_TITLE}}</h1> | ||
| </div> | ||
| <div class="modal-body"> | ||
| <p>{{Strings.LIVE_DEV_IMAGE_FOLDER_DIALOG_DESCRIPTION}}</p> | ||
| <input type="text" | ||
| id="folder-path-input" | ||
| placeholder="{{Strings.LIVE_DEV_IMAGE_FOLDER_DIALOG_PLACEHOLDER}}" | ||
| value="" | ||
| autocomplete="off" | ||
| spellcheck="false"> | ||
|
|
||
| <!-- the folder suggestions will come here dynamically --> | ||
| <div id="folder-suggestions"></div> | ||
|
|
||
| <p class="folder-help-text"> | ||
| {{Strings.LIVE_DEV_IMAGE_FOLDER_DIALOG_HELP}} | ||
| </p> | ||
|
|
||
| <div class="remember-folder-container"> | ||
| <label> | ||
| <input type="checkbox" id="remember-folder-checkbox" checked> | ||
| <span>{{Strings.LIVE_DEV_IMAGE_FOLDER_DIALOG_REMEMBER}}</span> | ||
| </label> | ||
| </div> | ||
| </div> | ||
| <div class="modal-footer"> | ||
| <button class="dialog-button btn" data-button-id="cancel">{{Strings.CANCEL}}</button> | ||
| <button class="dialog-button btn primary" data-button-id="ok">{{Strings.OK}}</button> | ||
| </div> | ||
| </div> |
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of
..., use unicode\u2026. That is the convention that we use in other places.eg: "LIVE_DEV_OPEN_CHROME": "Open In Chrome\u2026"