Skip to content

Conversation

charliepark
Copy link
Contributor

Per oxidecomputer/omicron#8842, this updates the expected data shape for OxQL data in the web console.

Closes #2889

Copy link

vercel bot commented Aug 19, 2025

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

Project Deployment Preview Updated (UTC)
console Ready Ready Preview Aug 19, 2025 9:11pm

@david-crespo
Copy link
Collaborator

I expected there to be type errors in the application code. Could you see why there aren't any?

@david-crespo
Copy link
Collaborator

Ah, I think it's because we're using Object.values in those places, which is just the identity function on an array. I'd take out the Object.values for clarity.

image

const timeseriesData = Object.values(data.tables[0].timeseries)

for (const ts of Object.values(table.timeseries)) {

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.

Update OxQL calls for API change
2 participants