Comments (5)
Versioning seems like the wrong choice. Some sort of update display/highlight mechanism on the site would be much more accessible, especially to non-technical folks.
from wtfjht.
Good idea. I don't believe I can do that with Siteleaf, which is what I use to publish and update the Daily Update. Could possibly do that from the pull requests that come in, though I have no clue how you actually this.
One alternative solution: provide a new-since-last-visit indicator on the blurbs on the site. Would that solve this for you? I'll admit, looking at the git commit history to see when new stories have been added seems like a lot of work.
from wtfjht.
Yeah I don't think that the versioning solution is the best user experience, I suggested it because it would require no actual development (to only add version to merge commit message).
I think a new since last visit section is a good idea.
from wtfjht.
Updated the title of this. No clue how you execute this with a static site like Jekyll. I'm guessing some kind of cookie with a timestamp from the last visit, then badge the blurbs that were added after that timestamp using a git diff or something?
from wtfjht.
I think the way to handle this is to take the easiest route:
- I'll add a modified date to the the API
- Then poll the API every ~5min or something, checking the API for a newer modified date than the one on the site.
- If it finds it, change the
document.title
(yeah?) to be something like:[favicon] (1) Day XX: XXX - What the fuck just happened today
I suppose this could get extended to the front end UI, too, with a sort of See New News
button to reload the page.
Thoughts?
from wtfjht.
Related Issues (20)
- Internet Security Links HOT 3
- Add license to repo HOT 3
- Provide a static JSON API for a few key status? HOT 9
- Flash briefing compatible API HOT 5
- Generate topic pages on Jekyll build HOT 1
- Notifications on edit VS Notifications on completion HOT 1
- Include secure messaging in /guide/internet-security.md HOT 1
- anchor links HOT 2
- Build pipeline: concatenate css and js
- Instant Search Improvements HOT 4
- Search: missing search inquiries HOT 4
- RSS rendering broken with "Day 543" HOT 2
- Report margin of error when reporting poll numbers HOT 4
- RSS rendering broken on Day 655 HOT 1
- Day 778 item on House Bill has factual error
- Day 819: Failed to load source for inline podcast HOT 1
- Day 237: DLE control character in frontmatter description breaks atom feed parsing HOT 2
- Day 314 - unparsable unicode character breaks Atom feed HOT 1
- Divider between each news element HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wtfjht.