Skip to content

[codex] Complete milestone 7 analysis workspace polish#8

Merged
Friss merged 3 commits intomainfrom
codex-milestone-7-ui-polish
Apr 9, 2026
Merged

[codex] Complete milestone 7 analysis workspace polish#8
Friss merged 3 commits intomainfrom
codex-milestone-7-ui-polish

Conversation

@Friss
Copy link
Copy Markdown
Owner

@Friss Friss commented Apr 9, 2026

Summary

  • complete milestone 7 graph workspace work, including combined graph/gauge worksheets, lap and file overlays, grouped tiled traces, and worksheet layouts that better match the i2-style reference tabs
  • add per-channel display unit overrides from graph context menus and persist the new graph, overlay, gauge, histogram, and display settings in workspace state
  • polish the app UI with the updated steering widget, configurable RPM histogram defaults, tighter graph gutters, cleaned-up tiled graph labels, and a resizable cursor readout panel

Why

This wraps up the remaining milestone 7 analysis workspace work and brings the default telemetry views much closer to the intended data-analysis workflow.

Validation

  • cargo test

@Friss Friss marked this pull request as ready for review April 9, 2026 03:20
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9469d95cc2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/i3rs-app/src/panels/graph.rs
Comment thread crates/i3rs-app/src/panels/graph.rs Outdated
@gemini-code-assist
Copy link
Copy Markdown

Warning

Gemini is experiencing higher than usual traffic and was unable to create the review. Please try again in a few hours by commenting /gemini review.

@Friss
Copy link
Copy Markdown
Owner Author

Friss commented Apr 9, 2026

/gemini review

@Friss
Copy link
Copy Markdown
Owner Author

Friss commented Apr 9, 2026

@codex review

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces significant enhancements to the graphing and analysis capabilities of the application. Key changes include the implementation of a lap overlay system for comparing data across sessions, support for distance-based X-axis plotting, and the addition of embedded gauges within graph panels. The update also improves the UI for channel readouts and adds configuration support for these new features in workspace files. I have no feedback to provide as all changes appear to be well-implemented and align with the project's goals.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6a9361aeeb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1999 to +2003
match self.x_axis_mode {
GraphXAxis::Time => Some(OverlayAxisHandle {
axis: ActiveGraphXAxis::Time,
session_duration: session.ld_file.duration_secs(),
}),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use active X-axis when preparing external overlays

When the user selects Distance X-axis but the main session cannot derive distance, resolve_x_axis falls back to time; however this method still branches on self.x_axis_mode for external overlays. In that fallback case external overlays are generated in distance space (or skipped) while the reference viewport is in time space, which makes overlays disappear or render misaligned. This should use the resolved active axis (x_axis) so all series share the same domain.

Useful? React with 👍 / 👎.

.all(|g| g.channel.channel_id != id)
&& let Some(pc) = self.plotted_channels.iter().find(|pc| pc.channel_id == id)
{
let style = default_style_for_name("");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P3 Badge Derive gauge style from the selected channel name

ContextAction::AddGauge always calls default_style_for_name(""), so gauges added from the graph context menu always default to Analog, even for steering channels. Other add paths infer style from the real channel name, so this introduces inconsistent behavior and loses the intended auto-selection for steering widgets.

Useful? React with 👍 / 👎.

@Friss Friss merged commit 4313f20 into main Apr 9, 2026
3 checks passed
@Friss Friss deleted the codex-milestone-7-ui-polish branch April 9, 2026 15:12
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.

1 participant