-
Notifications
You must be signed in to change notification settings - Fork 3
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
Reorganize Mod Data #752
Reorganize Mod Data #752
Conversation
-fetch all maps -refactor `modsWithinfo` to include Publisher and Tech info -modify state variable declarations -modify memoized filtering function
4f2561a
to
8620dbd
Compare
-implement sorting -modify page reset hook
-add publisher and techs columns -move techs column to the end (it's the only column that isn't sortable, so it's missing the a sort icon and feels out of place in the middle)
remove trailing period to match other rating strings
the maps are already fetched in the `Mods` page component, so we simply pass them down
Nearly done. Just need to implement the tooltips. |
@ShouvikGhosh2048 When you have a chance, would you mind taking a look at this branch? I seem to have caused a bug: when the |
Doesn't seem to happen for me. How long does it take for the requests to come? We have set up TRPC to refetch every 5 min. Line 44 in a8c14c5
Are the requests 5 min apart? This happens on the current website, but it doesn't cause the page to freeze. |
Yeah. It seems to be fine for the first refresh, but then if the |
-the Next.js `Link` component works, but logs errors in the console due to the double slashes
-still doesn't work when the `ModsTable` is scrolled down -haven't figured out how to make the `multiline` functionality of the `Tooltip` work yet
7b4ce19
to
e4c0aea
Compare
Follow-up issues:
|
I wound up just fixing one of the "follow-up" issues myself (refactoring is kinda fun), but I'm done with this branch now XD. Ready for review! |
Summary of Changes:
|
-fix bug where campaign map name tooltips were showing text for contest map name tooltips -change text formatting
I noticed that sometimes the |
Done reviewing, left a few comments. |
Closes #740.