Notify users about what to do when a default namespace is not available
What does this MR do and why?
Notify users about what to do when a default namespace is not available.
References
Screenshots or screen recordings
Currently the screenshots are weird but frontend will assist to fix it.
Update:
| pro | core |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Login as Duo Pro user, visit http://gdk.test:3000/dashboard/ and http://gdk.test:3000/gitlab-org/gitlab-test/ and see Duo Chat works as expected
- Open ee/app/models/ee/user_preference.rb, modify
get_default_duo_namespaceso it returns nil. - Revisit http://gdk.test:3000/dashboard/ and see message linking to User Preference Page.
- Login as Duo Core user, visit http://gdk.test:3000/dashboard/ and see message hinting the user to visit the project page
- Login as someone without any Duo access, visit http://gdk.test:3000/dashboard/ and see the generic message hinting the user to ask the admin.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #578115
Edited by Anastasia Khomchenko

