-
Notifications
You must be signed in to change notification settings - Fork 0
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
OK-508: Hakujen sivutus selaimessa #11
Conversation
…sivutuksen resetointi muutettaessa hakuparametreja
…iin ja lisätty sivun koon asettaminen
6a85836
to
1edee12
Compare
…aikana, eikä käännösaikana.
…-parametreille ja sorttaukselle
…aan ja menetetä kursorin sijaintia
…yyppitarkistuksen
4427f2a
to
81a3d6d
Compare
src/app/hooks/useHakuSearch.tsx
Outdated
DEFAULT_NUQS_OPTIONS, | ||
); | ||
|
||
const setSearchDebounce = useDebounce(setSearchPhrase, 500); |
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.
Pitäisköhän tuo 500 olla jokin constant? voitais varmaan tehdä se constants.ts filu
src/app/lib/common.ts
Outdated
}; | ||
}; | ||
|
||
export const PAGE_SIZES = [10, 20, 30, 50, 100]; |
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.
Olisko näille sopivampi paikka constants.ts?
src/app/lib/common.ts
Outdated
); | ||
} | ||
|
||
export const byProp = < |
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.
Mietin onko tämä turhan specifiä commoniin? Table-utils?
- Ladataan hakutavat vasta HakutapaSelect-komponentin rendauksen yhteydessä ja näytetään spinneri kun hakutapoja ladataan
8b95650
to
7e21e2e
Compare
Oletko lisännyt tarvittavat yksikkö- tai ui-testit toiminnallisuudelle? Kyllä
Oletko tarkistanut ja päivittänyt riippuvuudet? En
Oletko kokeillut toimiiko käyttöliittymä mobiilissa landscape moodissa? En