Skip to content

Refactored zoom threshold logic and improve compact label rendering in nodes#591

Merged
stijnpotters1 merged 3 commits into
masterfrom
fix/auto-scaling-labels
Jul 7, 2026
Merged

Refactored zoom threshold logic and improve compact label rendering in nodes#591
stijnpotters1 merged 3 commits into
masterfrom
fix/auto-scaling-labels

Conversation

@stijnpotters1

Copy link
Copy Markdown
Contributor
image

@stijnpotters1 stijnpotters1 self-assigned this Jun 30, 2026
@stijnpotters1

Copy link
Copy Markdown
Contributor Author

@philipsens What do you think of this? Now the labels auto scale with zooming

@stijnpotters1 stijnpotters1 linked an issue Jun 30, 2026 that may be closed by this pull request
@philipsens

Copy link
Copy Markdown
Member

I'll check it out and test it :)

@philipsens philipsens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The stationary text feels nice and readable. But it could be less bold (medium instead of semibold). Also, I think the forwards should also scale with the zooming, so it is possible to see what is happening here:

Image

Comment thread src/main/frontend/app/routes/studio/canvas/nodetypes/zoomed-out-node.tsx Outdated
@stijnpotters1 stijnpotters1 requested a review from philipsens July 6, 2026 13:29

@philipsens philipsens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice! Feels natural. Most people won't even know it is helping them haha

Signed-off-by: Stijn Potters <stijn.potters1@gmail.com>
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@stijnpotters1 stijnpotters1 merged commit 596585c into master Jul 7, 2026
5 checks passed
@stijnpotters1 stijnpotters1 deleted the fix/auto-scaling-labels branch July 7, 2026 13:15
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.

Extra readability in zoomed-out mode

3 participants