Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
114 stars 70 forks source link

Rename useStudioParams to useStudioEnvironmentParams #12868

Closed ghost closed 4 months ago

ghost commented 4 months ago

Description

As the name useStudioParams does not reflect what the hook actually does, it has been renamed to useStudioEnvironmentParams as it only returns org and app from the params

Related Issue(s)

Verification

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 97.68786% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 90.67%. Comparing base (1cb499f) to head (9f88bf9).

Files Patch % Lines
...lopment/features/appPublish/components/Release.tsx 50.00% 1 Missing :warning:
...c/components/toolbar/ConditionalRenderingModal.tsx 50.00% 1 Missing :warning:
...c/components/toolbar/ConditionalRenderingModal.tsx 50.00% 1 Missing :warning:
...ges/ux-editor/src/components/toolbar/RuleModal.tsx 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12868 +/- ## ======================================= Coverage 90.67% 90.67% ======================================= Files 1369 1369 Lines 19528 19528 Branches 2378 2378 ======================================= Hits 17707 17707 Misses 1558 1558 Partials 263 263 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

JamalAlabdullah commented 4 months ago

Tested ok i dev