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

"Remove hide link" checkbox for full page banner #190

Merged
merged 2 commits into from
Apr 7, 2022

Conversation

Adnan-cds
Copy link
Contributor

Resolves #189

Updated config file and accompanying programmatic update to hide the "Remove hide link" checkbox from the Full page alert banner's edit form.

The "Remove hide link" checkbox is irrelevant for Full page alert banners as we don't want to remove the "Hide" link from full page banners. This is because a full page banner without a hide link prevents people from reaching the actual site content!

Hiding the "Remove hide link" checkbox from the edit form of Full page alert
banners.  The "Remove hide link" checkbox is irrelevant for Full page alert
banners as we don't want to remove the "Hide" link from full page banners.
This is because a full page banner without a hide link prevents people from
reaching the actual site content!
Programmatic update to hide the "Remove hide link" checkbox from the Full page
alert's edit form.  This update is relevant for existing users of the Full page
banner only.
@Adnan-cds
Copy link
Contributor Author

Leaving it in Draft state for now. Waiting for test runs to be back to normal.

@Adnan-cds Adnan-cds changed the title Fix/189 no remove hide link for fullpage banner "Remove hide link" checkbox for full page banner Mar 22, 2022
@Adnan-cds Adnan-cds marked this pull request as ready for review March 29, 2022 10:08
@Adnan-cds
Copy link
Contributor Author

Tests are passing, so ready for review :)

Copy link
Contributor

@andybroomfield andybroomfield left a comment

Choose a reason for hiding this comment

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

This makes sense and I've been able to verify the hide link is removed following db update.
I noticed that pre update, it wasn't possible to display the banner anyway if the hide link was checked, was that intentional. Either way better it is removed for the full page version.

@Adnan-cds
Copy link
Contributor Author

I noticed that pre update, it wasn't possible to display the banner anyway if the hide link was checked, was that intentional

Hi Andy, thanks for the approval. But no, this was not intentional.

@Adnan-cds Adnan-cds merged commit 4eb2dea into 1.x Apr 7, 2022
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.

[Bug] Selecting "Remove hide link" breaks the full page banner
2 participants