Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: oxidecomputer/console
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7de4b11a
Choose a base ref
...
head repository: oxidecomputer/console
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dc4e0d4f
Choose a head ref
  • 14 commits
  • 127 files changed
  • 5 contributors

Commits on Feb 13, 2025

  1. minor: Abstract equivalent command modal into CopyCode (#2693)

    abstract equivalent command modal into CopyCode
    david-crespo authored Feb 13, 2025
    Configuration menu
    Copy the full SHA
    c14b4af View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2025

  1. React 19 (#2699)

    * react 19
    
    * upgrade design-system (canary) and other libs to make install work
    
    * upgrade @types libs too
    
    * fix the easier type errors
    
    * bump design-system again
    
    * fix the two failing e2es
    
    * patch the right copy of react-remove-scroll
    
    * fix some more type errors
    
    * elaborate rework of Button and Tooltip ref situation
    
    * upgrade zustand to v5 to fix some last warnings
    
    I went through the v5 migration guide and confirmed there was nothing
    we actually needed to change.
    https://github.com/pmndrs/zustand/blob/c9330941c8bad6add1c95bb69099c39606151abd/docs/migrations/migrating-to-v5.md
    
    * work around headless bug: change fragment to div
    
    * good old design-system 2.2.2
    david-crespo authored Feb 18, 2025
    Configuration menu
    Copy the full SHA
    ba3ab97 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2025

  1. fix(deps): update dependency @oxide/design-system to v2.2.3 (#2701)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 19, 2025
    Configuration menu
    Copy the full SHA
    6ed7d86 View commit details
    Browse the repository at this point in the history
  2. Mock serial console websocket with MSW (#2703)

    mock serial console websocket with msw
    david-crespo authored Feb 19, 2025
    Configuration menu
    Copy the full SHA
    db94dea View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2025

  1. Fix firefox test flake on firewall rule targets (#2705)

    fix firefox test flake on firewall rule targets
    david-crespo authored Feb 20, 2025
    Configuration menu
    Copy the full SHA
    27e0c13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8371db View commit details
    Browse the repository at this point in the history
  3. chore: Start converting to RRv7 framework mode (#2702)

    * get some route modules into framework shape
    
    * move all route props inside route modules
    
    * serial console
    david-crespo authored Feb 20, 2025
    Configuration menu
    Copy the full SHA
    74005f8 View commit details
    Browse the repository at this point in the history
  4. fix(deps): update dependency @oxide/design-system to v2.2.4 (#2706)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 20, 2025
    Configuration menu
    Copy the full SHA
    3b838e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2025

  1. Configuration menu
    Copy the full SHA
    f591c28 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2025

  1. add npm run start:colo

    david-crespo committed Feb 27, 2025
    Configuration menu
    Copy the full SHA
    3dd0629 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a72b460 View commit details
    Browse the repository at this point in the history
  3. Instance Metrics using OxQL (#2654)

    * Add stub of Disk Metrics using OxQL
    
    * Refactoring; getting chart working; needs better default situation
    
    * refacotrs; remove old DiskMetrics; add writes and flushes charts
    
    * initial stub for CPU metrics
    
    * file reorg
    
    * More CPU metrics, though we mgiht need to rethink the long-term plan
    
    * working group_by
    
    * Updates to routes to handle sub-tabs
    
    * Dropdown working on CPU charts
    
    * cleanup
    
    * more work on charts; networking
    
    * Standardize wrapper components
    
    * Reorder charts a bit
    
    * getting side tabs into place
    
    * Update side tab CSS
    
    * Consolidate SideTabs into legacy tabs, using props to control layout
    
    * refactoring; getting rollups working for disks and network interfaces
    
    * Pass pre-formed query string to metric component
    
    * Move date selector up a level, using useContext
    
    * Update routes in path-builder test
    
    * Small refactor to align approach to useState and dropdowns for network and disk metrics tabs
    
    * Add static values for metrics for testing and mock service worker
    
    * Removes TS guard that was a bit onerous; relying on casting now, though, which isn't great
    
    * Updated mock data for disks
    
    * small refactor before integrating Ben's PR
    
    * Refactoring chart logic
    
    * Add tests for OxQL charts
    
    * Better handle cumulative_u64 data with initial sum value
    
    * Instance metrics design tweaks (#2676)
    
    Co-authored-by: David Crespo <david.crespo@oxidecomputer.com>
    Co-authored-by: Charlie Park <charlie@oxidecomputer.com>
    
    * a little code cleanup
    
    * make getOxqlQuery args more generic and structured
    
    * view/copy oxql modal
    
    * inline oxql query modal, remove comment about showing query
    
    * NonEmptyArray whaaaaaaat
    
    * highlight oxql
    
    * Add 'More about OxQL queries' button/link to modal
    
    * test for rendered oxql in modal
    
    * Better link style for OxQL docs
    
    * slightly smaller text
    
    * clean up my weird half-finished metrics props change
    
    * CopyCode footer
    
    * handle no nics case on network metrics
    
    * small aria label fix
    
    * Add restriction to only turn on query reloading once initial data have succcessfully loaded in
    
    * Simplify CPU utilization tab
    
    * Metrics more actions (#2700)
    
    * OxQL metrics more actions
    
    * take CopyCodeModal refactor further, fix motion import
    
    * move oxql schema docs thing into links file
    
    ---------
    
    Co-authored-by: David Crespo <david.crespo@oxidecomputer.com>
    
    * tweak more actions menu copy one more time
    
    * Dynamic chart Y axis width (#2697)
    
    * Dynamic Y axis width
    
    * Remove spacing and make tick size/margin explicit
    
    * Need spacing on old cards
    
    * Updates, and better logic on utilization chart; still accounting for cpus count
    
    * Updates to incorporate nCPUs in utilization calculation
    
    * small refactor
    
    * Updated test for utilization
    
    * Move OxqlMetric files to own component directory
    
    * A few more tests
    
    * update import
    
    * tests are easier to make sense of when you can see all the data at once
    
    * Default to single state on CPU utiization tab; offer 'total' option
    
    * Update metrics schema URL
    
    * Metrics error & loading states (#2698)
    
    * Move some loaders to parent component
    
    * Update dropdown to cap at 24 hours and handle minimum mean_within
    
    * Use seconds when determining durations
    
    * remove intervalPicker until OxQL is faster
    
    * Less twitchy datepicker wrap
    
    * clean up chart loading states
    
    * init MetricsContext with null instead of dummy values
    
    * Update mock numbers so CPU utilization range is normal
    
    * use lazy imports in the routes
    
    * blarg lint
    
    * Clean up CPU charts
    
    * revert CpuStateMetric component
    
    * utils file tweaks, abstract slightly less
    
    * replace getUnit with explicit unit prop
    
    * use date-fns
    
    * use delay function for sleeps
    
    ---------
    
    Co-authored-by: Benjamin Leonard <benji@oxide.computer>
    Co-authored-by: David Crespo <david.crespo@oxidecomputer.com>
    3 people authored Feb 27, 2025
    Configuration menu
    Copy the full SHA
    3263678 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    381f374 View commit details
    Browse the repository at this point in the history
  5. chore: convert more routes to RR v7 format (#2712)

    * convert a bunch more route modules
    
    * convert silo and idp forms
    
    * floating ips routes
    david-crespo authored Feb 27, 2025
    Configuration menu
    Copy the full SHA
    dc4e0d4 View commit details
    Browse the repository at this point in the history
Loading