You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds TanStack Table to use in the /search/ page. I've used this library before and find it has a lot of helpful features. It worked with pagination out of the box, and integrates with bootstrap styles easily.
Styles the search input and checkboxes on the /search/ and /explore/ pages
Adds types for the filter categories to use in place of string
Executes a search request on the /explore/ page when clicking "go", and on the /search/ page when submitting the input or toggling a checkbox
Adds a paginated search-results interface to the React client and connects search submission and category filtering across the explore and search pages.
Changes:
Introduces a TanStack Table for displaying search results with pagination.
Adds typed search categories and results, with immediate searches when result-page filters change.
Updates search inputs, checkboxes, arrows, and welcome-page styling.
File
Description
client/package.json
Adds the TanStack Table dependency.
client/package-lock.json
Locks table dependencies and supporting packages.
client/app/utils/constants.ts
Removes the former category constant.
client/app/types.ts
Defines categories, result types, and mappings.
client/app/routes/welcome.tsx
Adds a welcome-specific class and stylesheet import.
client/app/routes/welcome.css
Receives paragraph styling from shared stylesheets.
client/app/routes/search.tsx
Adds the results table, pagination, and filter interactions.
client/app/routes/search.css
Styles search controls and result highlights.
client/app/routes/explore.tsx
Updates search submission and category layout.
client/app/index.css
Removes shared paragraph styling.
client/app/context/searchContext.tsx
Tracks executed queries and coordinates filter-triggered searches.
client/app/context/action.ts
Types search-request categories.
client/app/components/checkbox.tsx
Updates checkbox markup and accessible naming.
client/app/components/checkbox.css
Adds checkbox appearance and keyboard-focus styling.
client/app/App.css
Adds arrow styles and adjusts welcome-page layout rules.
ExploreSearch.get() truncates matches to the configured maximum and returns too_many_results, but the provider discards that flag and this count presents the truncated array as the complete result set. Broad searches can therefore silently omit matching records, and client-side pagination cannot reach them. Propagate the truncation flag and show a refine-search warning, as the existing Django results page does, rather than implying all matches are available.
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
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.
asana task
Changes
/search/page. I've used this library before and find it has a lot of helpful features. It worked with pagination out of the box, and integrates with bootstrap styles easily./search/and/explore/pagesstring/explore/page when clicking "go", and on the/search/page when submitting the input or toggling a checkbox