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

chore: migrate AnchorLink component from jsx to tsx #17647

Closed

Conversation

Damans227
Copy link
Contributor

SUMMARY

PR for migrating AnchorLink react component from JSX to TSX

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue: [TRACKER] Migrate JavaScript files to TypeScript #10004
  • Enhancement (new features, refinement)
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@Damans227
Copy link
Contributor Author

@etr2460 Ptal, thx!

@pull-request-size pull-request-size bot added size/L and removed size/M labels Dec 4, 2021
if (inFocus) {
this.scrollToView();
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

if (inFocus) {
scrollToView();
}
}, [inFocus])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Replaces UNSAFE_componentWillReceiveProps method

@Damans227 Damans227 force-pushed the enhancement/migrate-jsx-to-tsx_7 branch from dce84e3 to 97bb8e4 Compare December 5, 2021 02:53
@Damans227 Damans227 marked this pull request as draft December 7, 2021 16:31
Copy link
Member

@etr2460 etr2460 left a comment

Choose a reason for hiding this comment

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

once this is building, let's bring up a testenv so we can validate that this all works as expected

superset-frontend/src/components/AnchorLink/index.tsx Outdated Show resolved Hide resolved
@Damans227 Damans227 marked this pull request as ready for review December 18, 2021 16:34
@Damans227 Damans227 marked this pull request as draft January 1, 2022 20:09
@stale
Copy link

stale bot commented Apr 16, 2022

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 Apr 16, 2022
@stale stale bot closed this Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants