Closed Castau closed 4 years ago
Buble
Do it Test First
Starting on this now.
Paired with #6 due to there being 1 combined API instead of the expected 2
As this was a bubble it was moved to sprint 3. For sprint 3 we have minor features, logic and bughandling changes, everything else is ready.
Done when #42 is merged
Acceptance criteria
Given
When
Then
Happy case The user is shown the correct weather report
Bad case No weather report is shown The wrong weather report is shown
TASKS
Maybe do this as Pair Programming? FRONTEND
#35) Change weather api useEffect to call on eventData and send it to componentmake a fetch call to the endpoint and(old way, Asger will refactor) populate the tab with: Weather, Funny Advice and use the icons.#35) Fix bug that occurs when opening weather tab multiple times - data is not overwritten but concatenated.BACKEND
Issue
If someone has selected more than one date, and there are multiple events across many dates, how should we show the events and weather in the GUI ?
Make sure to do this as Test Driven Development.
Make sure to get enough details from Benjamins group, so this is possible. Make the calls in the backend. So that we can do Test Driven Development.
Remember to document what you're doing with regards to TTD here:
https://docs.google.com/document/d/1Y4kdCV2-WIFiFYfp97N-HVaoYIC_wz4LtbFvke--aOM/edit#heading=h.s10xy514l4ai
https://ajuhlhansen.dk/WeatherCloud/api/weather/city/(cityname)/(yyyy)/(MM)/(dd) https://ajuhlhansen.dk/WeatherCloud/api/weather/city/(cityname)