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

Selection panel #9771

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Selection panel #9771

merged 2 commits into from
Apr 24, 2024

Conversation

farmaazon
Copy link
Contributor

Pull Request Description

Fixes #9519

Screencast.from.2024-04-23.12-57-01.webm

Important Notes

I decided to go against our refinement notes, as in the action the blinking does not look bad, and seeing "live" how many nodes are selected may be useful.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@farmaazon farmaazon added CI: No changelog needed Do not require a changelog entry for this PR. x-new-feature Type: new feature request -gui labels Apr 23, 2024
@farmaazon farmaazon self-assigned this Apr 23, 2024
@@ -581,6 +591,7 @@ const groupColors = computed(() => {
:allowNavigationLeft="stackNavigator.allowNavigationLeft.value"
:allowNavigationRight="stackNavigator.allowNavigationRight.value"
:zoomLevel="100.0 * graphNavigator.targetScale"
:componentsSelected="nodeSelection.selected.size"
Copy link
Contributor

Choose a reason for hiding this comment

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

At this point it would probably make sense to make TopBar actually use the context variables directly, instead of passing so much data through props and events. Doesn't have to be done in this PR, but it is worth to clean it up at some point to cut down on GraphEditor rerenders.

@farmaazon farmaazon added the CI: Ready to merge This PR is eligible for automatic merge label Apr 23, 2024
@mergify mergify bot merged commit 7098593 into develop Apr 24, 2024
37 checks passed
@mergify mergify bot deleted the wip/farmaazon/selection-panel branch April 24, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-gui CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge x-new-feature Type: new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Visual way to group components
2 participants