Giter Site home page Giter Site logo

calendar's People

Contributors

gmarty avatar johanlorenzo avatar julienw avatar samgiles avatar

Watchers

 avatar

calendar's Issues

Refresh the list of reminders

Make sure the list of reminders is always up to date.

Possible solutions:

  • Poll the server
  • Web Socket connection
  • Web Push

Solutions 2 and 3 are preferred as they're event-based and will feel more instantaneous to the user.

Set-up the user <-> family link

We may need to split this in several bugs, also to decide with Product if we need all the functionality or just a subset:

  • a user joins a family
  • a family accepts a user
  • login: how to distinguish a user and a family ?

Issue with chrono and timezones

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 ?

voice server

  • speech to text (google)
  • intent parser (from cue client/app)
  • text to speech (google)

Optimistic updates

Make sure the UI is updated before even sending any data to the server.
This way the UI will feel snappier.

Add a view when there are no reminders

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.

Better offline support

We need to be better when no internet connection exists and:

  • Sync data locally (using IndexedDB)
  • Sync data created offline with the server when a connection gets available
  • If the app is opened and no internet connection, send a notification is a reminder is to be notified, without relying on the push notification

See also #14 (comment)

Update the app whenever a new version is available

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 are parsed in the past

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.