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
api message.json #19
Comments
How do you suggest it working with the global messages? Would this message override the global message until dismissed, and then would the global message show up immediately or after a refresh? I'm concerned about users becoming frustrated at seeing more popup messages after dismissing the first one. |
Can’t you have multiple messages at the same time, that stack down as they are added? That’d be the best IMO — and 2 messages probably isn’t going to frustrate them if they can simply click the “X” button to remove them.
… On Dec 30, 2017, at 4:09 PM, Nicolas Chan ***@***.***> wrote:
How do you suggest it working with the global messages? Would this message override the global message until dismissed, and then would the global message show up immediately or after a refresh?
I'm concerned about users becoming frustrated at seeing more popup messages after dismissing the first one.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#19 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AMa97v2dLROT-tCHsb1rypZFF0dfHLYXks5tFtC-gaJpZM4RPusg>.
|
Multiple popups introduce the concern of blocking page content. I've been very careful so that when you resize the window, it is very difficult to get the popup to cover any text at all. I also don't want it to appear to be "spammy" because the more messages there are at once the less people pay attention to each one. Would the nature of these messages make it more relevant to show up next to the current schedule name (such as an icon you can click for more information/to reveal the message)? Since these are per-school messages, I'm imagining that these messages would be related to the school's current (or upcoming) schedule, perhaps clarifying strange schedules (or different schedules for seniors, such as senior finals). Is that also what you had in mind? |
Yeah, exactly. We could also do something similar to what we have currently, but have a badge app icon that shows the amount of announcements that are unread, and when clicked it brings down a list of all of the current announcements. People can hit “x” as they see fit, and by clicking it it automatically marks them as “read” so they don’t have the badge app icon after clicking it once.
… On Dec 30, 2017, at 4:41 PM, Nicolas Chan ***@***.***> wrote:
Multiple popups introduce the concern of blocking page content. I've been very careful so that when you resize the window, it is very difficult to get the popup to cover any text at all. I also don't want it to appear to be "spammy" because the more messages there are at once the less people pay attention to each one.
Would the nature of these messages make it more relevant to show up next to the current schedule name (such as an icon you can click for more information/to reveal the message)? Since these are per-school messages, I'm imagining that these messages would be related to the school's current (or upcoming) schedule, perhaps clarifying strange schedules (or different schedules for seniors, such as senior finals). Is that also what you had in mind?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#19 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AMa97soO8O0Q7GXhVK4kAAXnLd94spNtks5tFtg3gaJpZM4RPusg>.
|
Great! I also like that if we have a notification icon, they can click on it to view previously dismissed messages (such as perhaps they dismissed the "Install the Chrome Extension" message but now they want to install the extension). I'll write an update on this issue once progress has been made. |
Sounds great, thanks so much!
… On Dec 30, 2017, at 5:02 PM, Nicolas Chan ***@***.***> wrote:
Great! I also like that if we have a notification icon, they can click on it to view previously dismissed messages (such as perhaps they dismissed the "Install the Chrome Extension" message but now they want to install the extension). I'll write an update on this issue once progress has been made.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#19 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AMa97qQ3x_WWoIwFIpJhdWn9avoiDkopks5tFt0MgaJpZM4RPusg>.
|
@noloerino Just wondering if you have an ETA on this? |
i kind of forgot this existed whoops i could probably find the time to do it |
Thanks man |
I've implemented this in a pretty basic way just so @JamsheedMistri can control the message with the bell API. Let me know once you have this running and I'll close this issue. Instructions for usage: git clone https://github.com/nicolaschan/bell.git && cd bell
cp .env.example .env
vim .env # Edit .env for your API server (don't worry about the database stuff, just put "false' for everything)
# Put files in schedules/lahs/calendar.bell, etc. You may also include a message.json in that same folder.
yarn # Install dependencies
yarn api # Run API server |
Test successful |
do i still need to work on the UI portion? |
Message management UI would still be great if you're up for tackling it. |
This has been running in production for awhile now and seems to be working well, so I'm closing this issue. Thanks to @JamsheedMistri for the suggestion and @noloerino for implementing. |
Please add a file called
message.json
to thedata/<api name>/
folder in the bell API. Each message would be in addition to thecountdown.zone
messages, if enabled. Format similar to the currentmessage.json
:The text was updated successfully, but these errors were encountered: