Skip to content

Fix: group id missing in new resource dropdown

What does this MR do and why?

Fix #416456 (closed), the current version of the code computes the same local storage key to all groups, while clicking the create new issue in [project] will be redirect to any project we last selected.

Amend the code with a group path injection, when no group id were passed in to the component, we should use the group path.

CleanShot_2023-06-28_at_16.50.33_2x

CleanShot_2023-06-28_at_16.51.00_2x

/cc @prajnamas @qk44077907 @orozot @fenyuluoshang

cc @pgascouvaillancourt

Fix: group id missing in new resource dropdown

  • Convert groupId to inject.
  • Update Specs against it.

Changelog: fixed

Screencast

After fix

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Wu Jeremy

Merge request reports

Loading