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(fe): Convert <IntegrationListDirectory /> to an FC #88680

Merged
merged 3 commits into from
Apr 3, 2025

Conversation

leeandher
Copy link
Member

@leeandher leeandher commented Apr 3, 2025

Converts this component to three different components and one hook. Mostly done to isolate concerns, these aren't reused anywhere but it made it easier to read in my opinion. Also moved some functions to utils since this component did a lot.

ref: https://github.com/getsentry/frontend-tsc/issues/2

@leeandher leeandher changed the title chore(fe): Convert <IntegrationListDirectory /> to an FC chore(fe): Convert <IntegrationListDirectory /> to an FC Apr 3, 2025
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 3, 2025
@leeandher leeandher changed the title chore(fe): Convert <IntegrationListDirectory /> to an FC chore(fe): Convert <IntegrationListDirectory /> to an FC Apr 3, 2025
TEXT_SEARCH_ANALYTICS_DEBOUNCE_IN_MS
);

function useIntegrationList() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Made this hook since this component makes 7-8 API calls in parallel and coerces them into one list. It's not reused anywhere but it made looking at the component hard to navigate.

@leeandher leeandher merged commit feeddfb into master Apr 3, 2025
44 checks passed
@leeandher leeandher deleted the leander/fc-integrationListDirectory branch April 3, 2025 20:42
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
Converts this component to three different components and one hook.
Mostly done to isolate concerns, these aren't reused anywhere but it
made it easier to read in my opinion. Also moved some functions to utils
since this component did a lot.

ref: getsentry/frontend-tsc#2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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