Skip to content

Fix/tidy up tasks#669

Merged
braddf merged 5 commits intodevelopmentfrom
fix/tidy-up-tasks
Jan 12, 2026
Merged

Fix/tidy up tasks#669
braddf merged 5 commits intodevelopmentfrom
fix/tidy-up-tasks

Conversation

@braddf
Copy link
Contributor

@braddf braddf commented Dec 22, 2025

Pull Request

Description

Selection of small tasks bundled in together:

  • Fix / finish implementing proper dynamic/fixed aggregation in Sites view
  • Add redirect for auth0 callback handler bug
  • Enable Vercel Analytics on Quartz Solar for first-step/simple analytics

Fixes #439
Fixes #649

How Has This Been Tested?

If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?

  • Yes

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

@vercel
Copy link

vercel bot commented Dec 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nowcasting-app Ready Ready Preview, Comment Jan 7, 2026 8:51am
1 Skipped Deployment
Project Deployment Review Updated (UTC)
quartz-app Ignored Ignored Preview Jan 7, 2026 8:51am

<td align="center"><a href="http://openclimatefix.org"><img src="https://avatars.githubusercontent.com/u/38562875?v=4?s=100" width="100px;" alt=""/><br /><sub><b>dantravers</b></sub></a><br /><a href="#ideas-dantravers" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/peterdudfield"><img src="https://avatars.githubusercontent.com/u/34686298?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Peter Dudfield</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting/commits?author=peterdudfield" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/braddf"><img src="https://avatars.githubusercontent.com/u/41056982?v=4?s=100" width="100px;" alt=""/><br /><sub><b>braddf</b></sub></a><br /><a href="https://github.com/openclimatefix/nowcasting/commits?author=braddf" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://tanner.me"><img src="https://avatars.githubusercontent.com/u/227?v=4?s=100" width="100px;" alt="Damien Tanner"/><br /><sub><b>Damien Tanner</b></sub></a><br /><a href="#projectManagement-dctanner" title="Project Management">📆</a></td>
Copy link
Contributor Author

@braddf braddf Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These must have been merged back through from main, not my doing but seems fine

<td align="center" valign="top" width="14.28%"><a href="https://github.com/rachel-labri-tipton"><img src="https://avatars.githubusercontent.com/u/86949265?v=4?s=100" width="100px;" alt="rachel tipton"/><br /><sub><b>rachel tipton</b></sub></a><br /><a href="https://github.com/openclimatefix/quartz-frontend/pulls?q=is%3Apr+reviewed-by%3Arachel-labri-tipton" title="Reviewed Pull Requests">👀</a> <a href="https://github.com/openclimatefix/quartz-frontend/commits?author=rachel-labri-tipton" title="Code">💻</a></td>
</tr>
</tbody>
</table>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you could always merge main into development, so these dont appear in the PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done and Github weirdness sorted now 👍

console.log("setting aggregation to gsp");
setAggregation(AGGREGATION_LEVELS.GSP);
} else {
console.log("setting aggregation to site");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not totally sure, but do you need this console.logs, I understand they are a bit like print statements in python, good for developing, but perhaps not needed for production code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we could be a little more critical of where these are; for more complex behaviours I sometimes keep them in because it's very hard to debug in live otherwise. With the next refactors I'll definitely try to remove some more noise / untidiness like this...

- [ ] 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
- [ ] I have updated the release docs with the contents of this release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, good to get this here, rather than copying it

Copy link
Contributor

@peterdudfield peterdudfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good, ive left one small comment.

I had look on here and tested the site aggrgation level, and it looks good. The lock icon looks good, make it clear. I was slightly confused by the lock on "Auto" but I think it doesnt make sense.

@braddf braddf changed the base branch from development to main January 12, 2026 11:27
@braddf braddf changed the base branch from main to development January 12, 2026 11:27
@braddf braddf merged commit 97d6525 into development Jan 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants