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

[#4031] Add a confirm popup when switching to v2 options #4054

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

Viicos
Copy link
Contributor

@Viicos Viicos commented Mar 25, 2024

Part of #4031.

This was discussed at some point but forgot about it

Comment on lines +44 to +47
if (realVersion === 1) {
const confirmV1Switch = window.confirm(v1SwitchMessage);
if (!confirmV1Switch) return;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could also not show the popup if variablesMapping is empty, but probably not necessary

Copy link

codecov bot commented Mar 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.07%. Comparing base (bd711ab) to head (f9869f1).
Report is 18 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4054   +/-   ##
=======================================
  Coverage   96.07%   96.07%           
=======================================
  Files         728      728           
  Lines       22892    22892           
  Branches     2659     2659           
=======================================
  Hits        21994    21994           
  Misses        636      636           
  Partials      262      262           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Viicos Viicos linked an issue Mar 25, 2024 that may be closed by this pull request
8 tasks
@sergei-maertens sergei-maertens merged commit 755c3e8 into master Mar 25, 2024
23 checks passed
@sergei-maertens sergei-maertens deleted the feature/4031-v1-popup branch March 25, 2024 11:48
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.

Objects API "contract" feature - improvements
2 participants