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

build: added renew/activate license notice #1147

Merged
merged 12 commits into from
May 13, 2024
Merged

Conversation

GrigoreMihai
Copy link
Contributor

@GrigoreMihai GrigoreMihai commented May 9, 2024

Summary

Added the notice as in the issue. Added a new variable to the chart display page to check if the user is pro or not.

Will affect visual aspect of the product

YES

Screenshots

https://vertis.d.pr/i/FcrgAN

Test instructions

Check the issue for details.

Check before Pull Request is ready:

Closes https://github.com/Codeinwp/visualizer-pro/issues/434.

@GrigoreMihai GrigoreMihai marked this pull request as ready for review May 10, 2024 11:19
@pirate-bot pirate-bot added the pr-checklist-incomplete The Pull Request checklist is incomplete. (automatic label) label May 10, 2024
@pirate-bot
Copy link
Contributor

pirate-bot commented May 10, 2024

Plugin build for 71437dc is ready 🛎️!

@GrigoreMihai GrigoreMihai added the pr-checklist-skip Allow this Pull Request to skip checklist. label May 10, 2024
@pirate-bot pirate-bot added pr-checklist-complete The Pull Request checklist is complete. (automatic label) and removed pr-checklist-incomplete The Pull Request checklist is incomplete. (automatic label) labels May 10, 2024
Comment on lines 346 to 348
if ( ! empty( $chart_type ) && isset( $types[ $chart_type ] ) ) {
$pro_class = 'is_pro';
}
Copy link
Contributor

Choose a reason for hiding this comment

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

for the CSS class, I recommend viz-is-pro-chart. is_pro is not recommended, and is-pro might be too generic, and we can have unwanted surprises from other plugins.

js/library.js Outdated Show resolved Hide resolved
js/library.js Outdated Show resolved Hide resolved
js/library.js Outdated Show resolved Hide resolved
@irinelenache
Copy link

@GrigoreMihai Tested and everything's fine here 🚀

@GrigoreMihai GrigoreMihai merged commit 97806bb into development May 13, 2024
7 checks passed
@GrigoreMihai GrigoreMihai deleted the renew_notice branch May 13, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants