Skip to content
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

[Issue-25276]: Ensure preview works for all screen sizes #25695

Merged

Conversation

manuelrojas
Copy link
Contributor

@manuelrojas manuelrojas commented Aug 2, 2023

Proposed Changes

🤖 Generated by Copilot at 72dbee0

This pull request implements a new design and functionality for the edit page toolbar, which includes a device selector feature. It adds a dot-tab-buttons component to the dotcms/ui library, which provides a tabbed interface for the edit and preview modes, and a dropdown icon to open the device selector menu. It updates the dot-device-selector-seo component to use the OverlayPanel component from the primeng library, and to improve its appearance and number formatting. It also updates the dot-page-state.service to pass the device information from the view as options to the page state. It modifies several files in the dot-edit-page module to use the new components and styles, and to move the what's changed checkbox to the view as controller component. It adds and updates some tests and stories for the new and modified components. It removes some unused variables from the _variables.scss file. It fixes a bug that prevented scrolling inside the iframe in the edit mode.

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (add notes if applicable)

Additional Info

** any additional useful context or info **

Screenshots

Screen.Recording.2023-08-04.at.10.52.42.mov

@manuelrojas manuelrojas linked an issue Aug 3, 2023 that may be closed by this pull request
@manuelrojas manuelrojas force-pushed the issue-25276-ensure-preview-works-for-all-screen-sizes branch from 2300eb3 to 163a084 Compare August 3, 2023 19:26
@manuelrojas manuelrojas marked this pull request as ready for review August 4, 2023 17:03
Copy link
Contributor

@zJaaal zJaaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments

Copy link
Member

@oidacra oidacra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@manuelrojas manuelrojas linked an issue Aug 7, 2023 that may be closed by this pull request
@dotcms-sonarqube
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 0.0% 0.0% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

@nollymar nollymar merged commit 8d05e1d into master Aug 7, 2023
12 of 15 checks passed
@nollymar nollymar deleted the issue-25276-ensure-preview-works-for-all-screen-sizes branch August 7, 2023 22:21
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.

Update Tab Navigation Component Design Ensure Preview Works for All Screen Sizes
6 participants