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

v0.5.0: Quartz Energy app release + Quartz Solar improvements & zoom #513

Merged
merged 134 commits into from
May 8, 2024

Conversation

braddf
Copy link
Contributor

@braddf braddf commented May 8, 2024

Pull Request

Description

Release new app for Quartz Energy, our simple, reconfigured UI to accommodate multiple renewable forecasts, Solar and Wind to start.
Also includes zoom for Quartz Solar app charts, and other bug fixes and small style tweaks.

How Has This Been Tested?

  • Vercel preview branches
  • UAT (below)

UAT

Probabilistic Charts

  • Shading appears around the lines.
  • Plevel values in the tooltip are 0.0 or above.
  • Probabilistic range shading and tooltip values appear on the DeltaView charts.

Quartz-specific points

  • Does the logo look like the new Quartz logo?
  • Does the logo link to the new Quartz website?
  • Is the OCF logo present in the logo area?
  • Does the OCF logo link to the OCF website?
  • Does the Documentation link go to the new Quartz docs?

PV Forecast

National

  • Does PV live estimate show on the plot? (black dashed)
  • Does PV live updated show on the plot? (black solid)
  • Does OCF forecast show up on plot? (yellow)
  • For OCF forecast, is the future a dashed line?
  • Can I hover on the plot to show the values on the plot?
  • Does the data look like solar profiles?
  • Clicking on a GSP makes the GSP plot show up?
  • Clicking on a GSP when already selected, makes the GSP plot go away?
  • Can I click on a time in the national plot which then updates the map?
  • Can I click on a past time in the GSP plot which then updates the map?
  • Can I click on a future time in the GSP plot which then updates the map? – [expected; PVnet only runs 8h ahead for GSPs]
  • Are values higher on the map in the middle of the day, compared to early morning?

Time

  • Is time now in Europe London time? It should be to the nearest 30 minute, rounded up.
  • Is the hover time in Europe London time?
  • Are the X axis in Europe London time?
  • Does the data show yesterday as well?
  • Does the data show tomorrow as well?

Header

  • Is this the title clear it is National data?
  • Does the headline current estimated PV figure display?
  • Does it show the current Forecasted value?
  • Does the next forecast figure display?
  • Are the units GW?

GSP

  • Does PV live estimate show on the plot? (dashed black)
  • Does PV live updated show on the plot? (solid black)
  • Does OCF forecast show up on plot? (yellow)
  • For OCF forecast, is the future a dashed line?
  • Can I hover on the plot to show the values on the plot?
  • Does the data look like solar profiles?

Time

  • Is time now in Europe London time?
  • Is the hover time in Europe London time?
  • Are the X axis in Europe London time?

Title

  • Does the GSP name show up?
  • Is the current estimated PV visible?
  • Is the next forecast figure visible?
  • Are the above figures in MW?

Map

  • Does a map of the UK show up?
  • Are the GSP boundaries displayed?
  • Can I click on '%', 'MW' and 'Capacity'
  • on 'Capacity' view, is there very little power in Scotland, and Melksham a shining beacon of renewables?

Four Hour View

National

  • Does the "4hr forecast" toggle show in the Profile Dropdown menu?
  • Toggle on
    • Does the 4hr forecast show up on the plot? (orange)
    • Does the 4hr future forecast show up on the plot? (dashed orange)
    • Does the 4hr forecast not show on the chart or tooltip when switched off?
  • Toggle off
    • Does the 4hr forecast not show on the chart or tooltip when switched off?
    • Does the 4hr future forecast not show on the chart or tooltip when switched off?
  • Does the 4hr forecast toggle persist across refreshes/logouts using cookie?
  • Do the 4hr forecast values show in the hover tooltip?

Delta View

National

  • Does PV live estimate show on the plot? (black dashed)
  • Does PV live updated show on the plot? (black solid)
  • Does OCF forecast show up on plot? (yellow)
  • For OCF forecast, is the future a dashed line?
  • Does the 4-hour forecast not show on the chart or tooltip when switched off?
  • Does the 4-hour future forecast not show on the chart or tooltip when switched off?
  • Does the 4-hour forecast show on the chart and tooltip when switched on?
  • Can I hover on the plot to show the values on the plot?
  • Does the data look like solar profiles?
  • Clicking on a GSP makes the GSP plot show up?
  • Clicking on a GSP when already selected, makes the GSP plot go away?
  • Can I click on a time in the national plot which then updates the map?
  • Can I click on a time in the GSP plot which then updates the map?
  • Are values higher on the map in the middle of the day, compare to early morning?

Time

  • Is time now in Europe London time? It should be 30minute, but rounded up.
  • Is the hover time in Europe London time?
  • Are the X axis in Europe London time?
  • Does the data show yesterday as well?

Header

  • Is this the title clear it is National data?
  • Does the headline current estimated PV figure display?
  • Does it show the current Forecasted value?
  • Does the next forecast figure display?
  • Are the units GW?

GSP

  • Does PV live estimate show on the plot? (dashed black)
  • Does PV live updated show on the plot? (solid black)
  • Does OCF forecast show up on plot? (yellow)
  • For OCF forecast, is the future a dashed line?
  • Can I hover on the plot to show the values on the plot?
  • Does the data look like solar profiles?

Time

  • Is time now in Europe London time?
  • Is the hover time in Europe London time?
  • Are the X axis in Europe London time?

Title

  • Does the GSP name show up?
  • Is the latest forecast figure visible?
  • Is the next forecast figure visible? [not currently shown for space reasons]
  • Is the current GSP delta figure visible?
  • Are the above figures in MW?
  • Is the Delta block background colour correct, i.e. pos/neg delta colour scheme?

Map

  • Does a map of the UK show up?
  • Are the GSP boundaries displayed?
  • Where Deltas are available, do the correct colours for the GSP delta buckets display and match the table?

Combined views

  • Does selectedGSP persist when switching between PV Forecast and Delta Views
  • Does selectedTime persist when switching between PV Forecast and Delta Views
  • Does map location/zoom persist when switching between PV Forecast and Delta Views

Dashboard Mode

  • Does the Dashboard Mode toggle show in the Profile Dropdown menu?
  • Does the Dashboard Mode toggle persist across refreshes/logouts using cookie?

National

  • Do the National title and forecast values show in large font?
  • Are the lines on the chart thicker?

GSP

  • Do the GSP title and forecast values show in large font?
  • Are the lines on the chart thicker?

Legend

  • Is the legend larger?
  • Do the legend items space nicely?

Map

  • Is the map legend larger?
  • Are the MW/%/Capacity buttons larger?
  • Are the date/time larger?

General

  • is the version visible?
  • has the version been bumped?
  • Does the feedback button work?
  • Is the legend visible
  • Is the database stable, check on AWS

Auth

  • Can I log on with Auth?
  • Can i log out?

Refresh

  • After 10 mins, does the forecast update?
  • After 10 mins, does the forecast creation time update? - No, isn't shown anymore

Documentation

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@braddf braddf added the release label May 8, 2024
@braddf braddf requested a review from peterdudfield May 8, 2024 10:42
@braddf braddf self-assigned this May 8, 2024
Copy link

vercel bot commented May 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nowcasting-app ✅ Ready (Inspect) Visit Preview 1 resolved May 8, 2024 10:51am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
quartz-app ⬜️ Ignored (Inspect) Visit Preview May 8, 2024 10:51am

@peterdudfield
Copy link
Contributor

I have done a very quick code review, and UAT is all fine

Whats up with the Node CI/ build?

@braddf braddf merged commit f473a44 into main May 8, 2024
3 of 4 checks passed
@braddf
Copy link
Contributor Author

braddf commented May 8, 2024

Yes FYI just putting this on here too – the Node CI error should just be because the secrets for Auth0 etc. aren't set in Github Actions yet. Will circle back to those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants