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

Staging v1.2.0 #38

Merged
merged 17 commits into from
Oct 20, 2024
Merged

Staging v1.2.0 #38

merged 17 commits into from
Oct 20, 2024

Conversation

phucbm
Copy link
Member

@phucbm phucbm commented Oct 19, 2024

This pull request includes multiple changes to the Easy Popup library, focusing on updating the version, enhancing documentation, adding new features, and improving the codebase. Below are the most important changes, grouped by theme.

Version Update and Documentation:

  • Updated version from 1.1.0 to 1.2.0 in package.json, src/_style.scss, and README.md to reflect the new release. [1] [2] [3]

  • Added a new FAQ section in dev/md/faq.md to address common issues and provide solutions, such as fixing page jumps when the popup is shown.

New Features:

  • Introduced EasyPopup.setDev(isDev) method to enable or disable developer mode, allowing users to see console logs during development. [1] [2]

  • Added a new scrollbarWidth option to the Easy Popup configuration to manually set the scrollbar width, preventing page jumps when a popup is opened. [1] [2]

Codebase Improvements:

  • Moved getScrollbarWidth function from helpers.js to utils/getScrollbarWidth.js to better organize utility functions. [1] [2]

  • Added custom scrollbar styling in dev/index.html to enhance the user interface.

Bug Fixes and Enhancements:

  • Added checks to prevent double initialization of popups and log messages in developer mode for better debugging. [1] [2] [3]

  • Improved handling of the preventScroll option by adding detailed comments and logging for better clarity. [1] [2]

Miscellaneous:

  • Updated README badges to reflect the new minified file size.

  • Added import for the new FAQ section in dev/script.js and included it in the HTML structure. [1] [2]

These changes collectively enhance the functionality, usability, and maintainability of the Easy Popup library.

@phucbm phucbm self-assigned this Oct 19, 2024
Copy link

netlify bot commented Oct 19, 2024

Deploy Preview for easy-popup ready!

Name Link
🔨 Latest commit 0040be8
🔍 Latest deploy log https://app.netlify.com/sites/easy-popup/deploys/67149510b9701500087e7ec8
😎 Deploy Preview https://deploy-preview-38--easy-popup.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@phucbm phucbm marked this pull request as ready for review October 20, 2024 02:33
@phucbm phucbm added enhancement New feature or request good first issue Good for newcomers labels Oct 20, 2024
@phucbm phucbm changed the title Staging Staging v1.2.0 Oct 20, 2024
@phucbm phucbm merged commit efa9b5c into main Oct 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant