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

chore: add configuration for cookies acceptance dialog #1541

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

svienot
Copy link
Collaborator

@svienot svienot commented Dec 4, 2024

Description:

The changes below introduce a new CoreConfig.cookiesDialogContent configuration parameter to control the content and appearance of the cookies dialog.

Note that if not set, the value of the googleTagID parameter is ignored.

On the other hand, if cookiesDialogContent is set, and googleTagID is not, the dialog will be show but will have no other effect (for the time being). This will allow us to use cookies for other features if needed later.

Related issue(s):

Related to #1430

…l the display and content of the cookies acceptance dialog.

Signed-off-by: Simon Viénot <[email protected]>
@svienot svienot requested a review from ericleponner as a code owner December 4, 2024 11:45
Copy link

sonarqubecloud bot commented Dec 4, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

Copy link

github-actions bot commented Dec 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 75.27% 25029 / 33250
🔵 Statements 75.27% 25029 / 33250
🔵 Functions 60.2% 1006 / 1671
🔵 Branches 83.44% 4768 / 5714
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/App.vue 74.03% 57.14% 0% 74.03% 101, 111-112, 121-124, 137-138, 155-157, 160-162, 164-169, 172, 175-179
src/components/CookiesDialog.vue 76% 100% 0% 76% 63-65, 67-69
src/config/CoreConfig.ts 82.81% 100% 66.66% 82.81% 36-44, 51-52
Generated in workflow #1498

Copy link
Collaborator

@ericleponner ericleponner left a comment

Choose a reason for hiding this comment

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

LGTM

@ericleponner ericleponner merged commit db68a1a into main Dec 4, 2024
8 of 9 checks passed
@ericleponner ericleponner deleted the cookes-dialog-configuration branch December 4, 2024 13:55
@swirlds-automation
Copy link
Contributor

🎉 This PR is included in version 24.12.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants