-
Notifications
You must be signed in to change notification settings - Fork 1
Charter 20: Explore the City and Summary page with the datepicker to discover surprises
mwalker-scottlogic edited this page Jul 30, 2024
·
2 revisions
- Explore the City and Summary page with the datepicker to discover surprises
- Mike Walker-Rose
- 30/07/2024
- 45 - 90 mins
- City & summary page UI
- network tab
- Explore the UI using different techniques to manipulate the date picker and observe behaviour
- Look at the network calls that result
Summary page:
- furthest back you can go is 01/01/1900 00:00 in the picker
- explored historic dates to see 42 requests being made with sensible parameters
- if you send keys for 01.01.1899 12:00 there are API calls made despite the UI saying you can't do it
- try typing things other than numbers
- if you set date in the date picker and then follow a link to the city page, the datepicker uses the same date on the city page
- if you type the city name into the url you don't retain this
City Page:
- setting date in city page, navigating to summary page the date is retained and used in the API queries
- If you refresh your page, you lose your base date
- Tabs are independent, setting the date in one tab does not have an affect on another
- can't bookmark a date
- datepicker has validation to prevent going back further than 01/01/1900 by click, which is probably fine for this use case
- however you can use keys to request a date earlier than that which triggers API calls
- datepicker retains date switching between pages unless you refresh / new tab / enter the city in url
Getting Started and Overview
- Product Description
- Roles and Responsibilities
- User Roles and Goals
- Architectural Design
- Iterations
- Decision Records
- Summary Page Explanation
- Deployment Guide
- Working Practices
- Q&A
Investigations and Notebooks
- CAMs Schema
- Exploratory Notebooks
- Forecast ETL Process
- In Situ air pollution data sources
- Notebook: OpenAQ data overview
- Notebook: Unit conversion
- Data Archive Considerations
Manual Test Charters
- Charter 1 (Comparing ECMWF forecast to database values)
- Charter 2 (Backend performance)
- Charter 3 (Forecast range implementation)
- Charter 4 (In situ bad data)
- Charter 5 (Filtering ppm units)
- Charter 7 (Forecast API input validation)
- Charter 8 (Forecast API database sizes)
- Charter 9 (Measurements summary API input validation)
- Charter 10 (Seeding bad data)
- Charter 11 ()Measurements API input validation
- Charter 12 (Validating echart plot accuracy)
- Charter 13 (Explore UI after data outage)
- Charter 14 (City page address)
- Charter 15 (BugFix diff 0 calculation)
- Charter 16 (City page chart data mocking)
- Charter 17 (Summary table logic)
- Charter 18 (AQI chart colour banding)
- Charter 19 (City page screen sizes)
- Charter 20 (Date picker)
- Charter 21 (Graph consistency)
- Charter 22 (High measurement values)
- Charter 23 (ppm -> µg m³)
- Charter 24 (Textures API input validation)
- Charter 25 (Graph line colours)
- Charter 26 (Fill in gaps in forecast)
- Charter 27 (Graph behaviour with mock data)
- Charter 28 (Summary table accuracy)
- Re‐execute: Charter 28
- Charter 29 (Fill in gaps in situ)
- Charter 30 (Forecast window)
- Charter 31 (UI screen sizes)