-
Notifications
You must be signed in to change notification settings - Fork 10
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
Alert mechanism #372
Comments
Sounds interesting. Before thinking about how to do this, what would be the
process?
Something like:
- A moderator adds a message to the system. - - The message is incorporated
into next build (this happens every 2hours?)
- A user opens website.
- Gets new message. Or messages?
- Could offer option to prevent popups
- ID/datestamp of message can be stored locally
- Only messages after last stored are popped.
What about accumulated messages?
…On Tue, 7 May 2024, 16:43 Will Coleda, ***@***.***> wrote:
It would be nice to have an alert popup available on the docs site for
things like:
- Hey, we added an ebook
- Updated docs to include 2024.04 release
- 6.e dropped!
etc. Be nice if
- We could support at least one message at a time. We do NOT need to
support multiples but it if it's easy...
- Once a user has hidden a message it goes away.
- We don't need an archive of messages.
- OK if we need to do a deploy to get a new message (don't need a way
for admins to create it dynamically through the site)
—
Reply to this email directly, view it on GitHub
<#372>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACYZHFV22XM77XGQUWPABTZBDZDVAVCNFSM6AAAAABHLIQ6XWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DGNRYG4YDEMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I like the idea.
I say lets display only the last message. If we want to make sure people have a chance to see older ones, we could have an "Announcements" page where the full history can be seen. |
@coke @patrickbkr
So, all that is needed for the moderator is to change the Announcements page by adding an item to the top of the page. Just some UX questions
|
Sounds good. |
The bulma model is going to be a better experience than |
- announcements.rakudoc is the source for the anouncement page and is contained in 'structure-sources' for this PR - When the website is opened an announcement modal pops-up - Once dismissed, it never appears again for that announcement - Adding a `Note` to the ***top*** of the announcements page changes the id of the last pop-up and so the new announcement will be popped when next the website is opened by a user - announcements can be suppressed by toggle in the ABOUT dropdown. - the SCSS is preliminary for both the pop-up and the page. Changes to - raku-styling to allow for popup HTML and More dropdown - config/02-plugins to enable announcements - added announcements plugin - added test announcements.rakudoc file
@coke @dontlaugh @lizmat A PRs to address this issue. It will be in the An issue to be resolved if the PR meets the requirements of the ask is where to put the 'announcements.rakudoc' page. My preference would be to have |
@coke a small |
@coke @dontlaugh @lizmat @patrickbkr PR now working on docs-dev deployment eg introduction. |
* addresses issue #372 by adding announcement popup & page - announcements.rakudoc is the source for the anouncement page and is contained in 'structure-sources' for this PR - When the website is opened an announcement modal pops-up - Once dismissed, it never appears again for that announcement - Adding a `Note` to the ***top*** of the announcements page changes the id of the last pop-up and so the new announcement will be popped when next the website is opened by a user - announcements can be suppressed by toggle in the ABOUT dropdown. - the SCSS is preliminary for both the pop-up and the page. Changes to - raku-styling to allow for popup HTML and More dropdown - config/02-plugins to enable announcements - added announcements plugin - added test announcements.rakudoc file * fix error when no announcement page is available * remove announcement.rakudoc from website repo - add to Raku/docs
PR merged to main without an announcements.rakudoc page. I'll raise a PR on Raku/doc with a short source. Once that is merged into main, the announcements plugin will serve the topmost announcement after the next build here (about 2 hours later). |
closing as completed |
It would be nice to have an alert popup available on the docs site for things like:
etc. Be nice if
The text was updated successfully, but these errors were encountered: