-
Notifications
You must be signed in to change notification settings - Fork 0
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
Admins can preview pollen calendar #101
Commits on Apr 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ee4a5a2 - Browse repository at this point
Copy the full SHA ee4a5a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f27107 - Browse repository at this point
Copy the full SHA 8f27107View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10db463 - Browse repository at this point
Copy the full SHA 10db463View commit details -
- only show assumptions if there are errors related to parsing.
Configuration menu - View commit details
-
Copy full SHA for 57e7c69 - Browse repository at this point
Copy the full SHA 57e7c69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31094fb - Browse repository at this point
Copy the full SHA 31094fbView commit details -
no valid sheets would result in app crashing, somade e2e test for that and fixed it
Configuration menu - View commit details
-
Copy full SHA for 05e188d - Browse repository at this point
Copy the full SHA 05e188dView commit details -
e.g. if pollen calendar looks drastically different, then test will fail. for this example, the way to solve it would fix bug that was ruining calendar OR if it is an improvement to calendar, update the snapshots in `cypress/snapshots/base/<testfilename>/<snapshotname>` followed the `readme` of the package to setup ☝️ https://github.com/cypress-visual-regression/cypress-visual-regression
Configuration menu - View commit details
-
Copy full SHA for ce94cdb - Browse repository at this point
Copy the full SHA ce94cdbView commit details -
add visual test for pollen calendar preview
- can be used for the pollen calendar on `/pollen` page that user sees too
Configuration menu - View commit details
-
Copy full SHA for a4fc823 - Browse repository at this point
Copy the full SHA a4fc823View commit details -
bug🐛🐛: couldn't see 0 values on line graph
why? 0 has boolean value false so formatting data function was getting rid of those values fix 🛠️ only get rid of undefined values (as on those dates, no pollen value was recorded)
Configuration menu - View commit details
-
Copy full SHA for bef7a50 - Browse repository at this point
Copy the full SHA bef7a50View commit details -
only rerender pollen calendar and multichart IF their props change
- noticeable when clicking the filter buttons, the multichart would keep refreshing even tho the data hasn't changed yet
Configuration menu - View commit details
-
Copy full SHA for 5f9f11f - Browse repository at this point
Copy the full SHA 5f9f11fView commit details
Commits on Apr 30, 2024
-
bug 🐛🐛: using date filter makes charts have weird offset 😬🤢🤢
when changing the date period using the date filter, the last bar or line points on the chart is offsetted by 50%. why? when changing the date period using the date filter, the timestamp generated for the date would have time midday. fix 🧑⚕️🧑⚕️ changing the date timestamp to have time of 00:00:00 (which is either midnight at the start of day or midnight at the end, idk) no more weird offset
Configuration menu - View commit details
-
Copy full SHA for 6ad7ae5 - Browse repository at this point
Copy the full SHA 6ad7ae5View commit details -
simplify the two seperate y-axes into one
using the stack property to stack the bars only not the lines. this is great because we don't have to manually set the max and min for each axis. and when setting suggested min and max because if there is pollen values are all at 0, it should be obvious that the chart can go higher than 0 but the value was low. SORRY soooper confusing explanation, definitely easier to show.
Configuration menu - View commit details
-
Copy full SHA for 16aa0d4 - Browse repository at this point
Copy the full SHA 16aa0d4View commit details -
bug🐛🐛: for each line in the line graph, there was an additional horiz…
…ontal line it looked really weird and was especially noticeable for the dailyTotal because the horizontal line was around 40 on the y-axis fix 🛠️: chart.js connects the points based on the order they appear in the array, not based on their x-axis value (in this case the date of the pollen measurement) so sorting the parsed pollen data based on the date fixed this issue 👌👌👌😃😃😃
Configuration menu - View commit details
-
Copy full SHA for 1727e80 - Browse repository at this point
Copy the full SHA 1727e80View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf762d - Browse repository at this point
Copy the full SHA cbf762dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c912193 - Browse repository at this point
Copy the full SHA c912193View commit details -
adding e2e visual test for tooltip on pollen calendar
it should look as it does right now (50% difference is tolerated). but if it is not there, the test will let us know 😃🧪👌
Configuration menu - View commit details
-
Copy full SHA for 7849e98 - Browse repository at this point
Copy the full SHA 7849e98View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea257b8 - Browse repository at this point
Copy the full SHA ea257b8View commit details
Commits on May 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1c20dc1 - Browse repository at this point
Copy the full SHA 1c20dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for be6a5f5 - Browse repository at this point
Copy the full SHA be6a5f5View commit details
Commits on May 2, 2024
-
even if errors, show any preview of any parsed data update the types
Configuration menu - View commit details
-
Copy full SHA for 6a0b6ce - Browse repository at this point
Copy the full SHA 6a0b6ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ee91ca6 - Browse repository at this point
Copy the full SHA ee91ca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for be0cdcf - Browse repository at this point
Copy the full SHA be0cdcfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 850163e - Browse repository at this point
Copy the full SHA 850163eView commit details
Commits on May 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b3f61cf - Browse repository at this point
Copy the full SHA b3f61cfView commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f30eef7 - Browse repository at this point
Copy the full SHA f30eef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f34ab61 - Browse repository at this point
Copy the full SHA f34ab61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49147a4 - Browse repository at this point
Copy the full SHA 49147a4View commit details