01zhas opened a new pull request, #41485:
URL: https://github.com/apache/superset/pull/41485

   ### SUMMARY
   The `useTables` hook already computes a `hasMore` flag (`json.count > 
json.result.length`), but it was never consumed by `TableSelector`. When a 
database schema has more tables than the API page limit, users saw a truncated 
list with no indication that tables were missing.
   
   ### BEFORE
   No indication when the table list is truncated.
   
   ### AFTER
   A helper message appears below the table selector when `hasMore` is true:
   > "Some tables are not shown. Refine your search."
   
   ### CHANGES
   - `superset-frontend/src/components/TableSelector/index.tsx` — Added 
`TruncationNotice` styled component and conditional rendering of the message 
when `data?.hasMore` is true.
   
   ### TESTING INSTRUCTIONS
   1. Connect a database schema with 100+ tables
   2. Open SQL Lab, select that database and schema
   3. Observe the helper message below the table selector informing users that 
the list is truncated
   
   ### ADDITIONAL INFORMATION
   Closes #40407


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to