Skip to content

fix(ui): Fix select build() being called repeatedly#2217

Merged
ideoma merged 1 commit intomasterfrom
ui/fix-build-version
Jun 13, 2022
Merged

fix(ui): Fix select build() being called repeatedly#2217
ideoma merged 1 commit intomasterfrom
ui/fix-build-version

Conversation

@insmac
Copy link
Copy Markdown
Contributor

@insmac insmac commented Jun 13, 2022

The fix

The main purpose of this PR is to fix an issue wherein select build() is fired repeatedly upon resizing panels (caused by the side effect hook being called on each re-render).

Side changes

Instead of copying to clipboard, the button now links to either release notes (when using a ready-made version) or commit hash (i.e. on a custom local build).

Release info:
CleanShot 2022-06-13 at 17 00 26@2x

Custom build info:
CleanShot 2022-06-13 at 17 06 55@2x

@insmac insmac added Bug Incorrect or unexpected behavior UI Issues or changes relating to the Web Console labels Jun 13, 2022
@insmac insmac requested review from argshook and bluestreak01 June 13, 2022 15:17
@ideoma ideoma merged commit cfe9894 into master Jun 13, 2022
argshook pushed a commit to questdb/ui that referenced this pull request Jun 14, 2022
@bluestreak01 bluestreak01 deleted the ui/fix-build-version branch June 20, 2022 17:19
Vaibhav91one pushed a commit to Vaibhav91one/ui that referenced this pull request Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Incorrect or unexpected behavior UI Issues or changes relating to the Web Console

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants