mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-20 03:40:05 +00:00
feat(ui): add infinite scroll pagination to chat completions/responses logs table
## Summary: This commit adds infinite scroll pagination to the chat completions and responses tables. ## Test Plan: 1. Run unit tests: npm run test 2. Manual testing: Navigate to chat completions/responses pages 3. Verify infinite scroll triggers when approaching bottom 4. Added playwright tests: npm run test:e2e
This commit is contained in:
parent
15f630e5da
commit
66e217fea7
20 changed files with 1145 additions and 388 deletions
|
@ -100,6 +100,7 @@ const config: Config = {
|
|||
// However, for mocks, sometimes explicit mapping is needed.
|
||||
"^@/lib/(.*)$": "<rootDir>/lib/$1",
|
||||
"^@/components/(.*)$": "<rootDir>/components/$1",
|
||||
"^@/hooks/(.*)$": "<rootDir>/hooks/$1",
|
||||
// Add other aliases here if needed
|
||||
},
|
||||
|
||||
|
@ -148,7 +149,7 @@ const config: Config = {
|
|||
// setupFiles: [],
|
||||
|
||||
// A list of paths to modules that run some code to configure or set up the testing framework before each test
|
||||
// setupFilesAfterEnv: [],
|
||||
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
|
||||
|
||||
// The number of seconds after which a test is considered as slow and reported as such in the results.
|
||||
// slowTestThreshold: 5,
|
||||
|
@ -172,9 +173,7 @@ const config: Config = {
|
|||
// ],
|
||||
|
||||
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
|
||||
// testPathIgnorePatterns: [
|
||||
// "/node_modules/"
|
||||
// ],
|
||||
testPathIgnorePatterns: ["/e2e/"],
|
||||
|
||||
// The regexp pattern or array of patterns that Jest uses to detect test files
|
||||
// testRegex: [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue