mcpoowl / faviconbadge Goto Github PK
View Code? Open in Web Editor NEWShow a badge next to your favicon
Show a badge next to your favicon
Not so much an issue as a request, but I would like to be able to ''toggle'' the Badge. I'd like to show the amount of new messages/tasks a person has, but when this person has 0 tasks the Badge should be gone (and re-appear when a new message/task becomes available).
Is something like this even possible without refreshing the pages?
A no-context version of the widget
Implement the various styling options available
Background updating objects with schedule events does not seem to work (might be underlying mendix issue?)
Setup:
In the sample project I have done the following:
Make color persistable (and adjust the creation to be persisted to database)
Create a SE that runs every 20 seconds to do the ''Badge +1"
Stay on the Dataview - Editable page.
The BadgeIcon widget does not get updated (The dataview itself does not even reflect changes in the number/color code). When manually pressing the Badge +1 button it does add the +1 (And we can see that all the SE's that have been ran in the meanwhile actually did happen) and the Badge gets updated.
I hope i've explained it clearly enough for you to understand what I mean. Like I said it might be an underlying issue with mendix updating/refreshing because the data view does not seem to get refreshed either (untill you hit the button)
Feature like the MicroflowTimer widget, when the microflow is run every X seconds, so there's no need to update the context object manually.
DEPRECATED: mendix.lang.nullExec. Use plain javascript if instead -- will be removed in version: 9.0
This warning keeps filling the logging in Mendix 7. Would be great if you could fix this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.