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

fix: do not render account blocked modal unless account restricted #2089

Conversation

e-schneid
Copy link
Contributor

Closes #1998

There's a reported issue where the Account Blocked modal displays briefly when navigating the site. I haven't yet been able to reproduce this, but currently this modal always renders (and is just hidden with CSS). This PR is an optimization to prevent the modal from rendering at all. It will hopefully resolve the issue, but it will also reduce the size of the prerendered HTML.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

@JeffLowe JeffLowe assigned cmunns and unassigned cmunns Nov 2, 2022
Copy link
Contributor

@cmunns cmunns left a comment

Choose a reason for hiding this comment

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

looks good. nice idea.

@e-schneid e-schneid requested a review from a team November 8, 2022 17:51
@jsdevel jsdevel merged commit 1025a22 into main Nov 9, 2022
@jsdevel jsdevel deleted the 1998-blocked-modal-overlay-flashes-briefly-sometimes-when-browsing-web3storage-website branch November 9, 2022 21:43
johnathonroach pushed a commit that referenced this pull request Nov 14, 2022
🤖 I have created a release *beep* *boop*
---


##
[2.32.0](website-v2.31.0...website-v2.32.0)
(2022-11-11)


### Features

* add twitter logo to contact page
[#2068](#2068)
([#2078](#2078))
([179a844](179a844))
* **docs:** remove decentralized storage concept doc
([#2102](#2102))
([f65c82e](f65c82e))


### Bug Fixes

* align links when stacking mobile
([#2088](#2088))
([3bedf2d](3bedf2d))
* do not render account blocked modal unless account restricted
([#2089](#2089))
([1025a22](1025a22))
* incorrect class use
([#2094](#2094))
([6919cb0](6919cb0))
* remove web apps footer link
([#2087](#2087))
([a8c16a8](a8c16a8))
* rm staging url in PSA docs
([#2037](#2037))
([2dcc4dc](2dcc4dc))
* typo in w3name product page
([#2098](#2098))
([9b50cc9](9b50cc9))
* update product pages to have appropriate descriptions and titles
([#2085](#2085))
([ae6ed12](ae6ed12))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

Blocked modal overlay flashes briefly sometimes when browsing web3.storage website
4 participants