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

Feat: Feature toggle admin page frontend write UI and InteractiveTable sorting #73533

Merged
merged 13 commits into from
Aug 30, 2023

Conversation

IbrahimCSAE
Copy link
Contributor

What is this feature?

  • Utilize write endpoints in the feature toggle admin page to allow users to post updates about the modified toggles.
  • Use sorting features of the InteractiveTable component

Why do we need this feature?

We are creating a Feature Toggle Management page within Grafana, where the user can see and update the current feature toggles state.

Who is this feature for?

Grafana Administrators

Which issue(s) does this PR fix?:

Fixes #73056 [Use more Interactive Table features in feature toggle admin page]
Fixes #73060 [Feature toggle admin page should support toggle updates]

search fitlers

@IbrahimCSAE IbrahimCSAE requested review from a team as code owners August 21, 2023 05:56
@IbrahimCSAE IbrahimCSAE requested review from mgyongyosi, Jguer, papagian, zserge and mildwonkey and removed request for a team August 21, 2023 05:56
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.2.x milestone Aug 21, 2023
@IbrahimCSAE IbrahimCSAE added add to changelog pr/external This PR is from external contributor no-backport Skip backport of PR labels Aug 21, 2023
@jcalisto
Copy link
Contributor

/deploy-to-hg

@ephemeral-instances-bot
Copy link

  • Preparing your instance. A comment containing your instance's url will be added to this PR when the instance is ready.
  • Your instance will be ready in ~10 minutes.
  • Check the GitHub actions tab to follow the workflow progress
  • Slack channel: #proj-ephemeral-hg-instances
  • Building instance with feat/feature-toggle-admin-page-write-ui oss branch and main enterprise branch. How to choose a branch

@grafana grafana deleted a comment from ephemeral-instances-bot bot Aug 24, 2023
@jcalisto
Copy link
Contributor

/deploy-to-hg

@ephemeral-instances-bot
Copy link

  • Preparing your instance. A comment containing your instance's url will be added to this PR when the instance is ready.
  • Your instance will be ready in ~10 minutes.
  • Check the GitHub actions tab to follow the workflow progress
  • Slack channel: #proj-ephemeral-hg-instances
  • Building instance with feat/feature-toggle-admin-page-write-ui oss branch and main enterprise branch. How to choose a branch

@ephemeral-instances-bot
Copy link

@mmandrus
Copy link
Contributor

/deploy-to-hg

@ephemeral-instances-bot
Copy link

  • Preparing your instance. A comment containing your instance's url will be added to this PR when the instance is ready.
  • Your instance will be ready in ~10 minutes.
  • Check the GitHub actions tab to follow the workflow progress
  • Slack channel: #proj-ephemeral-hg-instances
  • Building instance with feat/feature-toggle-admin-page-write-ui oss branch and main enterprise branch. How to choose a branch

@mmandrus
Copy link
Contributor

/deploy-to-hg

@grafana grafana deleted a comment from ephemeral-instances-bot bot Aug 29, 2023
@grafana grafana deleted a comment from ephemeral-instances-bot bot Aug 29, 2023
@grafana grafana deleted a comment from ephemeral-instances-bot bot Aug 29, 2023
@mmandrus
Copy link
Contributor

/deploy-to-hg

@ephemeral-instances-bot
Copy link

  • Preparing your instance. A comment containing your instance's url will be added to this PR when the instance is ready.
  • Your instance will be ready in ~10 minutes.
  • Check the GitHub actions tab to follow the workflow progress
  • Slack channel: #proj-ephemeral-hg-instances
  • Building instance with feat/feature-toggle-admin-page-write-ui oss branch and main enterprise branch. How to choose a branch

@ephemeral-instances-bot
Copy link

@jcalisto
Copy link
Contributor

/deploy-to-hg

@jcalisto
Copy link
Contributor

/deploy-to-hg

@grafana grafana deleted a comment from ephemeral-instances-bot bot Aug 30, 2023
@grafana grafana deleted a comment from ephemeral-instances-bot bot Aug 30, 2023
@ephemeral-instances-bot
Copy link

  • Preparing your instance. A comment containing your instance's url will be added to this PR when the instance is ready.
  • Your instance will be ready in ~10 minutes.
  • Check the GitHub actions tab to follow the workflow progress
  • Slack channel: #proj-ephemeral-hg-instances
  • Building instance with feat/feature-toggle-admin-page-write-ui oss branch and main enterprise branch. How to choose a branch

@ephemeral-instances-bot
Copy link

Copy link
Contributor

@mmandrus mmandrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmandrus mmandrus merged commit 2794b86 into main Aug 30, 2023
14 checks passed
@mmandrus mmandrus deleted the feat/feature-toggle-admin-page-write-ui branch August 30, 2023 16:02
chauchausoup pushed a commit to chauchausoup/grafana that referenced this pull request Sep 15, 2023
…e sorting (grafana#73533)

* updates

* make save button always visible but disabled

* only reset toggles if there isn't an error response

* make linters happy

* update post body to match backend

* fix linter again

* be smarter about sorting of empty descriptions

* run prettier

* fix payload

* Re-add disabled to switch

---------

Co-authored-by: Joao Calisto <joao.santana.calisto@gmail.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
rwwiv pushed a commit that referenced this pull request Oct 2, 2023
…e sorting (#73533)

* updates

* make save button always visible but disabled

* only reset toggles if there isn't an error response

* make linters happy

* update post body to match backend

* fix linter again

* be smarter about sorting of empty descriptions

* run prettier

* fix payload

* Re-add disabled to switch

---------

Co-authored-by: Joao Calisto <joao.santana.calisto@gmail.com>
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
@zerok zerok modified the milestones: 10.2.x, 10.2.0 Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/backend area/frontend no-backport Skip backport of PR pr/external This PR is from external contributor
Projects
None yet
4 participants