fxbox / calendar Goto Github PK
View Code? Open in Web Editor NEW:calendar: Project Cue -Currently looking for a slogan-
Home Page: https://fxbox.github.io/calendar/
License: Mozilla Public License 2.0
:calendar: Project Cue -Currently looking for a slogan-
Home Page: https://fxbox.github.io/calendar/
License: Mozilla Public License 2.0
Looks like Chrome now supports the exact same API than Firefox. See https://developers.google.com/web/updates/2016/07/web-push-interop-wins
We need to handle a VAPID to make it possible to use this, though.
Make sure the list of reminders is always up to date.
Possible solutions:
Solutions 2 and 3 are preferred as they're event-based and will feel more instantaneous to the user.
make sure we can recognize several recipients
We may need to split this in several bugs, also to decide with Product if we need all the functionality or just a subset:
I found Chrono has issues with timezones.
Here is an example:
chrono.parse('tomorrow', '2016-08-05T00:30+02:00')[0].start.date();
// => 2016-08-05T10:00:00.000Z
chrono.parse('tomorrow', '2016-08-05T01:59+02:00')[0].start.date()
// => 2016-08-05T10:00:00.000Z
chrono.parse('tomorrow', '2016-08-05T02:00+02:00')[0].start.date()
// => 2016-08-06T10:00:00.000Z
This is incorrect as "tomorrow" should always be on the 6th. (although that's actually debatable for our case).
There's more:
chrono.parse('tomorrow', '2016-08-05T23:00-07:00')[0].start.date()
// => 2016-08-07T10:00:00.000Z
Note that the result is always 12pm according to the current timezone (which is +02:00 here), this will make things difficult for testing :/ But even without looking at the timezone issue in the result, we see the result is 2 days later :/
In our code we don't specify a ref, that means chrono takes whatever the current local time is, including the timezone, which is IMO what we want.
I don't know how to fix this TBH. @gmarty, @samgiles any idea ?
if they say "remind me", cue can respond "Sorry who is this task for - please tell me their name"
wifi setup from vaani.setup
Make sure the UI is updated before even sending any data to the server.
This way the UI will feel snappier.
Try smoothingTimeConstant, filter out frequencies out of human voice, use a VAD algorithm...
js/lib/common/event-dispatcher.js
has a suite of tests at:
https://github.com/fxbox/app/blob/master/tests/unit/lib/foxbox/common/event-dispatcher_test.js - we should run tests and include them here.
possible UX? touch a reminder, which would put the app in “listening mode” to edit it
Create a reminder parser class that will encapsulate:
IntentParser
Confirmation
(ReminderConfirmation
)Add some feedback when saving a new reminder fails and and remove it from the list.
Implement what's been decided in issue #45
When there are no reminders on the main view, add a message like:
You have no reminders.
Why not asking me to remind you of something?
Say: "Make a note: remind me about the opera at 7 pm tonight."
Then maybe take the user to a quick tutorial.
It's possible to be in the situation where the service worker already has an existing push notification subscription but our server doesn't have the information yet (example: we trashed the server DB, network issue...).
So in subscribeToNotifications we should check whether the existing subscription already exists in the server and register if it doesn't.
We need to be better when no internet connection exists and:
See also #14 (comment)
Let's refresh the page whenever a new version is detected by the service worker.
To avoid disrupting the user, new updates should be applied during the night. If a new version is detected during day time, the update must be postponed to the following night.
Possible related topics: tag the app version in the code (e.g. a global VERSION constant) and log this value at startup in Google Analytics.
Some dates like 'on Sunday' are parsed as the previous Sunday if it's the beginning of the week.
Let's identify and correct them.
eg "tell me where Emily is at 4pm ?"
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.