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

Modal autoOpening needs auto cookie support with some options #2918

Open
macit-emre opened this issue Nov 5, 2024 · 1 comment
Open

Modal autoOpening needs auto cookie support with some options #2918

macit-emre opened this issue Nov 5, 2024 · 1 comment
Assignees

Comments

@macit-emre
Copy link

when autoOpening Modals in some screens (like some important announcements, promotions, etc) extensive logic needs to be repeatedly written for not opening same modal for a while in other screens.

1- A framework like orchid should address this need with some predefined values, or custom logic in function $modal->open($someCookieLogic Param or Params)
2- A generic ModalManager (Toast like) should be easyly used in screens, or all screens, or by route. This idea should be considered as some more magic can be done here.

@macit-emre
Copy link
Author

or localStorage can be used instead of cookie by the way.

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

No branches or pull requests

2 participants