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

[SQL Lab] Moved from React.PureComponent to React.Component #7092

Closed
wants to merge 1 commit into from

Conversation

enricoberti
Copy link
Contributor

It also fixes an overlap between the results status label and the progress bar

It could solve/improve #6527

It also fixes an overlap between the results status label and the progress bar
@codecov-io
Copy link

codecov-io commented Mar 22, 2019

Codecov Report

Merging #7092 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7092   +/-   ##
=======================================
  Coverage   64.46%   64.46%           
=======================================
  Files         422      422           
  Lines       20566    20566           
  Branches     2250     2250           
=======================================
  Hits        13257    13257           
  Misses       7182     7182           
  Partials      127      127
Impacted Files Coverage Δ
superset/assets/src/SqlLab/components/Link.jsx 81.81% <ø> (ø) ⬆️
...erset/assets/src/SqlLab/components/QuerySearch.jsx 58.65% <ø> (ø) ⬆️
...rset/assets/src/SqlLab/components/LimitControl.jsx 91.17% <ø> (ø) ⬆️
superset/assets/src/SqlLab/components/App.jsx 80.55% <ø> (ø) ⬆️
...uperset/assets/src/SqlLab/components/ResultSet.jsx 80% <ø> (ø) ⬆️
.../assets/src/SqlLab/components/AceEditorWrapper.jsx 56.92% <ø> (ø) ⬆️
.../assets/src/SqlLab/components/QueryAutoRefresh.jsx 12.82% <ø> (ø) ⬆️
...ets/src/SqlLab/components/ExploreResultsButton.jsx 72% <ø> (ø) ⬆️
...t/assets/src/SqlLab/components/QueryStateLabel.jsx 100% <ø> (ø) ⬆️
...uperset/assets/src/SqlLab/components/SqlEditor.jsx 57.44% <ø> (ø) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4631b7b...c1360c5. Read the comment docs.

@kristw kristw added !deprecated-label:bug Deprecated label - Use #bug instead sqllab Namespace | Anything related to the SQL Lab labels Mar 27, 2019
@kristw
Copy link
Contributor

kristw commented Mar 27, 2019

Could you explain a bit why the PureComponent become an issue here?
Also, this PR changes multiple files. Do they all need to be Component and unable to take advantage of the PureComponent?

@xtinec xtinec added the lyft Related to Lyft label Mar 28, 2019
@enricoberti
Copy link
Contributor Author

@kristw this is actually a WIP to try to fix a flaky behavior at Lyft - we cannot reproduce it constantly and it could be related to something in the redux store that mutates when it shouldn't. I've asked @xtinec to try it out internally and see if the situation improves. Please hold on with merging, thanks!

@stale
Copy link

stale bot commented May 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label May 27, 2019
@stale stale bot closed this Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
!deprecated-label:bug Deprecated label - Use #bug instead inactive Inactive for >= 30 days lyft Related to Lyft sqllab Namespace | Anything related to the SQL Lab
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants