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

feat: transition matrices for model diagram #3306

Merged
merged 17 commits into from
Apr 16, 2024
Merged

Conversation

shawnyama
Copy link
Contributor

@shawnyama shawnyama commented Apr 11, 2024

Description

  • created tera-tooltip component
  • tooltip can appear within a specified position relative to the div it is wrapped around
  • Stratified transition matrices appear when you click on them in the model diagram
  • tera-stratified-matrix-preview.vue houses a preview of what the transition matrix looks like, this is what's put inside the tera-tooltip slot

UX thoughts

  • I have to click the unlock to adjust button for the transition hovering to work. That pointer-events: none rule for when the diagram is locked might be too much. I think just disabling the zoom may be good enough.
  • When I click on a node all the other ones turn a little transparent, I don't think there is a need for this since model editing isn't done in the diagram anymore.
Screen.Recording.2024-04-16.at.11.16.52.AM.mov

To do later

The design has these colourful borders based on which strata the cells belong to, thought I'd save that for later.
image

@shawnyama shawnyama changed the title feat: transition matrices feat: transition matrices for model diagram Apr 11, 2024
@shawnyama shawnyama marked this pull request as ready for review April 16, 2024 14:39
@shawnyama shawnyama linked an issue Apr 16, 2024 that may be closed by this pull request
Copy link
Member

@YohannParis YohannParis left a comment

Choose a reason for hiding this comment

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

Well done!

@shawnyama shawnyama merged commit 57a2d48 into main Apr 16, 2024
5 checks passed
@shawnyama shawnyama deleted the transition-matrices branch April 16, 2024 17:56
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.

[TASK]: create matrix blocks
2 participants