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

Initial pass at adding a toggle to show mode changes as a line chart #1025

Merged
merged 13 commits into from
Dec 21, 2023

Conversation

cohansen
Copy link
Contributor

Closes #640.

This is the first pass at showing mode changes as a line chart similar to how Raven works.

There's more work to go on this issue, right now horizontal rules aren't working properly and the correct way to implement this is to generate a new type of Y axes which we're not currently doing.

@cohansen cohansen self-assigned this Nov 28, 2023
@cohansen cohansen requested a review from a team as a code owner November 28, 2023 17:27
@AaronPlave
Copy link
Contributor

Looks like src/utilities/view.test.ts > generateDefaultView will need to be updated to reflect the new view schema?

@cohansen
Copy link
Contributor Author

Looks like src/utilities/view.test.ts > generateDefaultView will need to be updated to reflect the new view schema?

It's calling the correct createTimelineXRangeLayer function which includes the new view property... I'll keep investigating.

@AaronPlave
Copy link
Contributor

AaronPlave commented Nov 28, 2023

One thing that would be really useful here would be to draw the horizontal ticks as is done for line layers. Think that could go in this PR or want to split it into a new ticket?
image

@cohansen
Copy link
Contributor Author

One thing that would be really useful here would be to draw the horizontal ticks as is done for line layers. Think that could go in this PR or want to split it into a new ticket? image

I was looking into this a little yesterday afternoon, I can see if it's viable quickly for this PR otherwise I'll add it to the next ticket.

@cohansen cohansen force-pushed the feature/mode-changes-as-line-chart branch from d8431c1 to 3132520 Compare December 5, 2023 18:46
@cohansen cohansen force-pushed the feature/mode-changes-as-line-chart branch from e2316fc to 2c986d2 Compare December 12, 2023 19:12
@cohansen cohansen force-pushed the feature/mode-changes-as-line-chart branch from 2c986d2 to 1f885d8 Compare December 12, 2023 19:13
@cohansen cohansen force-pushed the feature/mode-changes-as-line-chart branch from d0d5af1 to 473ad27 Compare December 19, 2023 17:20
Copy link
Contributor

@AaronPlave AaronPlave left a comment

Choose a reason for hiding this comment

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

LGTM, nice work!

@cohansen cohansen force-pushed the feature/mode-changes-as-line-chart branch from 5acdefb to e2ffd64 Compare December 20, 2023 17:42
@cohansen cohansen force-pushed the feature/mode-changes-as-line-chart branch from e2ffd64 to 6e3bb02 Compare December 21, 2023 15:57
@cohansen cohansen merged commit 5d47fe7 into develop Dec 21, 2023
4 checks passed
@cohansen cohansen deleted the feature/mode-changes-as-line-chart branch December 21, 2023 16:07
JosephVolosin pushed a commit that referenced this pull request Aug 20, 2024
…1025)

* Initial pass at adding a toggle to show mode changes as a line chart
* Removed unused categorical checker and an older comment
* Moved state mode changes out of LayerXRange and into LayerLine
* Added the new property to the ui-view schema
* Changed view property to show as line plot, fixed an issue with tooltips and showing variants
* Added the separator back and fixed the resizing issue for the axis label
* Added totalWidth sum back and fixed more issues with latest merge
* Fixed an issue where multiple axis were not being shown
* Fixed another issue when drawing multiple xRange layers inside of a single row
* Removed link between xrange layer and axis
* Fixed an issue with only showing the first xrange axis label
JosephVolosin pushed a commit that referenced this pull request Oct 21, 2024
…1025)

* Initial pass at adding a toggle to show mode changes as a line chart
* Removed unused categorical checker and an older comment
* Moved state mode changes out of LayerXRange and into LayerLine
* Added the new property to the ui-view schema
* Changed view property to show as line plot, fixed an issue with tooltips and showing variants
* Added the separator back and fixed the resizing issue for the axis label
* Added totalWidth sum back and fixed more issues with latest merge
* Fixed an issue where multiple axis were not being shown
* Fixed another issue when drawing multiple xRange layers inside of a single row
* Removed link between xrange layer and axis
* Fixed an issue with only showing the first xrange axis label
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.

Make mode changes (i.e. X-Range values) easier to read when zoomed out
2 participants