sentry icon indicating copy to clipboard operation
sentry copied to clipboard

ref(ui): deprecate useProjects() without slugs

Open dcramer opened this issue 1 month ago • 1 comments

Add a development-time console warning when useProjects() is called without the slugs parameter. This prepares for removing the all_projects=1 bootstrap fetch by encouraging explicit project fetching.

Updates 18 components to pass specific slugs to useProjects(), ensuring they will continue working when projects are no longer pre-loaded.

Refs #104436

dcramer avatar Dec 05 '25 18:12 dcramer

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           master   #104462   +/-   ##
========================================
  Coverage   80.51%    80.51%           
========================================
  Files        9348      9348           
  Lines      399919    399892   -27     
  Branches    25651     25648    -3     
========================================
- Hits       322005    321990   -15     
+ Misses      77466     77454   -12     
  Partials      448       448           

codecov[bot] avatar Dec 05 '25 18:12 codecov[bot]