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

IBX-6843: Focus mode #133

Merged
merged 2 commits into from
Nov 17, 2023
Merged

IBX-6843: Focus mode #133

merged 2 commits into from
Nov 17, 2023

Conversation

lucasOsti
Copy link
Contributor

@lucasOsti lucasOsti commented Oct 24, 2023

Question Answer
JIRA issue IBX-6843
Bug/Improvement Improvement
New feature yes
Target version 4.6
BC breaks no
Tests pass yes
Doc needed yes

@lucasOsti lucasOsti force-pushed the IBX-6843-focus-mode branch 9 times, most recently from 326e28f to 53544a0 Compare October 26, 2023 13:29
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

Comment on lines 236 to 239
const toolbarNodeRect = toolbarNode.getBoundingClientRect();
const dataSourceNodeRect = dataSourceNode.getBoundingClientRect();
const { height: toolbarHeight } = toolbarNodeRect;
const { top: dataSourceTop } = dataSourceNodeRect;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think these two extra variables are necessary here

Suggested change
const toolbarNodeRect = toolbarNode.getBoundingClientRect();
const dataSourceNodeRect = dataSourceNode.getBoundingClientRect();
const { height: toolbarHeight } = toolbarNodeRect;
const { top: dataSourceTop } = dataSourceNodeRect;
const { height: toolbarHeight } = toolbarNode.getBoundingClientRect();
const { top: dataSourceTop } = dataSourceNode.getBoundingClientRect();

Copy link

sonarqubecloud bot commented Nov 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@micszo micszo removed their assignment Nov 17, 2023
@dew326 dew326 merged commit f1e8072 into main Nov 17, 2023
22 checks passed
@dew326 dew326 deleted the IBX-6843-focus-mode branch November 17, 2023 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants