Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

THREESCALE-1789: Add "Managed by operator" banner (UI) #3865

Conversation

jlledom
Copy link
Contributor

@jlledom jlledom commented Aug 13, 2024

What this PR does / why we need it:

The operator can manage porta resources through API. When a resource is managed by operator, we must inform the user about that.

#3857 implements the backend support (annotations). This PR implements the frontend, for now, just a banner in the relevant screens:

  • http://provider-admin.3scale.localhost:3000/buyers/accounts/4
  • http://provider-admin.3scale.localhost:3000/buyers/accounts/4/edit
  • http://provider-admin.3scale.localhost:3000/apiconfig/services/2
  • http://provider-admin.3scale.localhost:3000/apiconfig/services/2/edit
  • http://provider-admin.3scale.localhost:3000/p/admin/backend_apis/2
  • http://provider-admin.3scale.localhost:3000/p/admin/backend_apis/2/edit

Examples:

image

image

Which issue(s) this PR fixes

https://issues.redhat.com/browse/THREESCALE-1786

Verification steps

  1. Marks a resource as managed by operator. Check THREESCALE-1786: Managed by operator #3857 to know how
  2. Visit the resource #show or #edit screens
  3. You should see the banner

jlledom and others added 29 commits July 30, 2024 14:25
Representers and controllers
Representers and controllers
Representers and controllers
Co-authored-by: Aleksandar N. Kostadinov <[email protected]>
After making `:annotated` mandatory for `Annotation`
Co-authored-by: Aleksandar N. Kostadinov <[email protected]>
@jlledom jlledom self-assigned this Aug 13, 2024
@jlledom jlledom marked this pull request as ready for review August 21, 2024 16:11
@jlledom jlledom force-pushed the THREESCALE-1789-annotations branch from 0cf3094 to edf0378 Compare August 30, 2024 11:54
@jlledom jlledom deleted the branch 3scale:THREESCALE-1789-annotations August 30, 2024 12:09
@jlledom jlledom closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant