mikebridge opened a new pull request, #42117:
URL: https://github.com/apache/superset/pull/42117

   ### SUMMARY
   
   Adds explicit datasource capabilities for Samples and Drill to Detail, with 
SQL-backed datasources enabled by default and semantic views opted out.
   
   The Explore and chart UI now hide or disable unsupported raw-row actions, 
while backend endpoints reject direct unsupported requests with clear 400 
responses. Existing datasource implementations that do not expose the 
capability fields retain their prior behavior.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Not included. The visible change is that Samples and Drill to Detail 
controls are unavailable for semantic views.
   
   ### TESTING INSTRUCTIONS
   
   1. Open a SQL-backed dataset in Explore and confirm Samples remains 
available.
   2. Open a semantic view in Explore and confirm the Samples tab is not shown.
   3. Open a chart backed by a semantic view and confirm Drill to Detail is 
unavailable.
   4. Send direct Samples or Drill to Detail requests for a semantic view and 
confirm they return HTTP 400 with the capability-specific error.
   
   Automated verification:
   - `pre-commit run --all-files`
   - 132 focused backend tests passed.
   - 4 focused frontend suites passed (39 passed, 1 skipped).
   - A broader backend integration selection had 169 passes and 73 skips; 9 
cache-dependent tests could not run because local Redis at localhost:6379 was 
unavailable.
   
   ### ADDITIONAL INFORMATION
   
   - [x] Has associated issue: SC-107949
   - [ ] Required feature flags:
   - [x] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API


-- 
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