Skip to content

chore(fe): Refactor AbstractIntegrationDetailedView to make FC conversions easier#86656

Merged
leeandher merged 4 commits into
masterfrom
leander/ref-abstractintegrationdetailedview
Mar 10, 2025
Merged

chore(fe): Refactor AbstractIntegrationDetailedView to make FC conversions easier#86656
leeandher merged 4 commits into
masterfrom
leander/ref-abstractintegrationdetailedview

Conversation

@leeandher

Copy link
Copy Markdown
Member

Refactors sentry/views/settings/organizationIntegrations/abstractIntegrationDetailedView.tsx:

  • The render functions now all return single components, meaning any inheriting classes can just use those directly without diverging from the base class as they are converted.
  • Uses hooks in a few places instead of legacy props.

@leeandher leeandher requested a review from a team March 8, 2025 17:44
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 8, 2025
@codecov

This comment was marked as outdated.

@leeandher leeandher force-pushed the leander/ref-abstractintegrationdetailedview branch from f79b43a to 706d826 Compare March 8, 2025 17:53
@leeandher leeandher merged commit e07a2f3 into master Mar 10, 2025
@leeandher leeandher deleted the leander/ref-abstractintegrationdetailedview branch March 10, 2025 17:04
leeandher added a commit that referenced this pull request Mar 10, 2025
Requires #86656

Not making any visual changes even though they would probably be
welcome. For example, we still render tabs even though docs integrations
only have one, so it's not really necessary.
leeandher added a commit that referenced this pull request Mar 12, 2025
Requires #86656

Tests are passing and an inspection of the page doesn't seem to have any
issues. Requires that other PR because I pulled out a lot of the
components that the abstract class renders to make conversions a bit
easier, and to ensure the children still all render the same components
(but without inheritance).
leeandher added a commit that referenced this pull request Mar 13, 2025
Removing since it's no longer used 🎊 

First Refactor  - #86656
DocIntegrationDetailedView -> FC -
#86705
PluginDetailedView -> FC -
#86699
SentryAppDetailedView -> FC -
#86895
IntegrationDetailedView -> FC -
#86954
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants