Skip to content
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

✨(frontend) Filter video views #17

Merged
merged 8 commits into from
Jul 21, 2023
Merged

✨(frontend) Filter video views #17

merged 8 commits into from
Jul 21, 2023

Commits on Jul 20, 2023

  1. ⬆️(frontend) update Cunningham

    New release of Cunningham offers components
    such as DatePicker or DateRangePicker, which
    are necessary to filter our data.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    ce482a5 View commit details
    Browse the repository at this point in the history
  2. 🩹(frontend) fix cunningham font tokens

    Generated design tokens were breaking the
    default Roboto font. These new values are
    copied from the Cunningham demo app.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    765726a View commit details
    Browse the repository at this point in the history
  3. 🏗️(frontend) create a reusable App context provider

    Introduce a new component responsible to inject all
    the required providers to make warren web app works.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    8062895 View commit details
    Browse the repository at this point in the history
  4. ✨(frontend) implement a Filters context

    To manage and share filters' state across multiple components,
    we adopted a basic workaround by using React context.
    This approach allows us to store and provide the filters state
    efficiently to all subscribers in our app.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    6bb2313 View commit details
    Browse the repository at this point in the history
  5. 🏗️(frontend) create a Axios lib utility file

    Factorize Axios instanciation and configuration
    in a dedicated file, along the react-query.
    We would avoid dupplicating these lines.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    5e958de View commit details
    Browse the repository at this point in the history
  6. ✨(frontend) introduce a Filter component

    This component would be responsible to render the
    filters bar in our dashboarding web app.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    66adc7f View commit details
    Browse the repository at this point in the history
  7. ♻️(frontend) refactor Views plotting component

    Component is now subscribing to filters state.
    Note: Time management in the current version of
    the frontend and the API is still bulky. A lot
    of work need to be done.
    lebaudantoine committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    e0e2cb5 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. 📝(api) make it clear that date_range handles timezones

    Documentation misled me to think only UTC timezone was allowed.
    This add an example of handling queries in a non-UTC timezone
    using an ISO format.
    lebaudantoine committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    f07415b View commit details
    Browse the repository at this point in the history