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

Show large banner when a new code is added #16

Open
MKringelhede opened this issue Jul 15, 2020 · 1 comment
Open

Show large banner when a new code is added #16

MKringelhede opened this issue Jul 15, 2020 · 1 comment
Assignees

Comments

@MKringelhede
Copy link

Show a large banner on the dashboard for 30 seconds every time another user adds a JID code.
When multiple events occur the should be queued and display in sequence (might need to lower the 30 seconds if the queue gets too long)

Could look something like this:
image

Similar banners could be shown (in sequence prioritized in this order):
1a) "New country: ! Well done !"
1b) " added a code from "
2) has taken the th place
3) is now number

It should only show either 1a or 1b.

Each banner type (1a, 1b, 2 ,3) should have its own background color so that it is easy to spot which kind of banner is shown.

Cool feature would be to play a sound when a banner is shown:
1a: A simple "ding"?
1b: A double "ding-ding"?
2: A "dong"?
3: A double "dong-dong"?

@frankbille
Copy link
Member

I guess this is only after the page is loaded the first time, so maybe we should look into either a real push-based endpoint (socket.io like endpoint) or a fake version based on pull.

It's a bit difficult to keep track of and calculate the correct changes based on what was there last. It can lead to too complicated code on frontend.

WDYT?

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

No branches or pull requests

2 participants