-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
refactor: enable infinite scrolling for all #16463
Conversation
const { data, status, error } = trpc.viewer.eventTypes.getByViewer.useQuery(filters && { filters }, { | ||
refetchOnWindowFocus: false, | ||
gcTime: 1 * 60 * 60 * 1000, | ||
staleTime: 1 * 60 * 60 * 1000, | ||
enabled: !isInfiniteScrollEnabled, | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need getByViewer
now
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
); | ||
}; | ||
|
||
const InfiniteMobileTeamsTab: FC<InfiniteMobileTeamsTabProps> = (props) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just renamed it
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (09/02/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add foundation team as reviewer" took an action on this PR • (09/02/24)1 reviewer was added to this PR based on Keith Williams's automation. |
E2E results are ready! |
bc2f5e9
to
de0b7b3
Compare
One E2E Test Failing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are clear, tested and works. Code looks good too 🚀
Great work @Udit-takkar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very happy with this, no comments as it's mostly removed code - let's get this merged.
What does this PR do?
TODO:-
update tests
Fixes #XXXX (GitHub issue number)
Fixes CAL-XXXX (Linear issue number - should be visible at the bottom of the GitHub issue description)
Now enabling #15949 for everyone.
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?