-
Notifications
You must be signed in to change notification settings - Fork 23
[FOSSOVERFLOW-25] Fixed an issue where the search bar kept re-rendering on each input. #56
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
Open
alSN0W
wants to merge
36
commits into
OpenLake:main
Choose a base branch
from
alSN0W:searchbar
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
8d13a9c
Added api endpoints for voting on reviews.
alSN0W 268dca8
fixed the faulty api endpoints, verified with postman
alSN0W 004f15d
Merge pull request #1 from alSN0W/review-engagement
alSN0W e66517d
added vote button
alSN0W 3966142
Merge pull request #2 from alSN0W/review-engagement
alSN0W 888a1b9
fixed displaying the user votes incorrectly issue
alSN0W 74dd74a
Merge pull request #3 from alSN0W/review-engagement
alSN0W e2659ed
Styled Voting buttons and updated migration files
alSN0W 4348aba
Merge pull request #4 from alSN0W/review-engagement
alSN0W b37d929
removed useVote as it's useless for now
alSN0W 4b35ddf
Merge pull request #5 from alSN0W/review-engagement
alSN0W f2ac58d
added pagination type and utils
alSN0W 22fb266
Merge pull request #6 from alSN0W/review-engagement
alSN0W 9f6ce6c
Revert "added pagination type and utils"
alSN0W c218637
Merge pull request #7 from alSN0W/review-engagement
alSN0W 3c77c72
made changes recommended by code-rabbit
alSN0W 2adff6a
Merge pull request #8 from alSN0W/review-engagement
alSN0W d461b81
Update src/lib/withPagination.ts
alSN0W 4cf96ac
Update src/components/common/VoteButton.tsx
alSN0W 46cb5e1
Update src/lib/pagination.ts
alSN0W 0dfd0fb
Update src/components/common/VoteButton.tsx
alSN0W f8da0eb
some code-rabbit changes
alSN0W 40361b9
Implemented pagination UI for reviews
alSN0W e477d5e
Merge pull request #9 from alSN0W/review-engagement
alSN0W 6e6e38a
documentation changes
alSN0W 0210f87
Merge pull request #10 from alSN0W/review-engagement
alSN0W cf07378
removed all the useless routes and functions
alSN0W 51ef5a2
Merge branch 'main' into review-engagement
alSN0W 23665f3
Merge pull request #11 from alSN0W/review-engagement
alSN0W d5cf99f
Revert "removed all the useless routes and functions"
alSN0W 8d2552e
Merge pull request #12 from alSN0W/revert-11-review-engagement
alSN0W ff3dd90
Revert "Revert "removed all the useless routes and functions""
alSN0W b7da68d
Merge pull request #13 from alSN0W/revert-12-revert-11-review-engagement
alSN0W 3889f33
final checks
alSN0W f58f3a6
updated migration with rls for votes table
alSN0W 3deea90
fixed searchbar bug and implemented instant search results
alSN0W File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| /// <reference types="next" /> | ||
| /// <reference types="next/image-types/global" /> | ||
| /// <reference types="next/navigation-types/compat/navigation" /> | ||
| import "./.next/dev/types/routes.d.ts"; | ||
|
|
||
| // NOTE: This file should not be edited | ||
| // see https://nextjs.org/docs/basic-features/typescript for more information. | ||
| // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🌐 Web query:
Next.js 16 typed routes configuration💡 Result:
To enable typed routes (statically typed links) in Next.js 16, turn on the stable
typedRoutesflag in yournext.config.*(don’t useexperimental.typedRoutesanymore). [1]Requirements / what you get:
next dev/next build, Next.js generates route/link type definitions under.next/types, which TypeScript uses to type-checkLinkhref(and related navigation usage). [2]Optionally, you can use the
Routetype fromnext:[2]
Sources: [1] [2]
🏁 Script executed:
Repository: OpenLake/RateMyCourse
Length of output: 745
🏁 Script executed:
# Find and read the next-env.d.ts file fd next-env.d.ts -x cat -n {}Repository: OpenLake/RateMyCourse
Length of output: 430
🏁 Script executed:
Repository: OpenLake/RateMyCourse
Length of output: 47
🏁 Script executed:
Repository: OpenLake/RateMyCourse
Length of output: 47
🏁 Script executed:
Repository: OpenLake/RateMyCourse
Length of output: 573
Remove or enable the typed routes import based on project needs.
This file is auto-generated by Next.js and should not be manually edited. Line 4 imports from
./.next/dev/types/routes.d.ts, which will only be generated if you enable typed routes. Either remove this import if typed routes are not needed, or enable them innext.config.jswithtypedRoutes: true(notexperimental.typedRoutes, which is no longer used in Next.js 16). Once enabled, Next.js will regenerate this file automatically on each build.🤖 Prompt for AI Agents