backstage-plugin-announcements icon indicating copy to clipboard operation
backstage-plugin-announcements copied to clipboard

feat: admin portal for managing announcements from a single location

Open kurtaking opened this issue 1 year ago • 1 comments

Checklist

  • [ ] I have updated the necessary documentation
  • [ ] I have signed off all my commits as required by DCO
  • [ ] My build is green

Summary:

New announcement portal to create, edit, and delete announcements from a single view.

Details:

The current implementation displays announcements as cards on a single page. "Admins," or those with permissions to crud announcements, will see additional buttons to manage the announcements.

When a user clicks to create a new announcement, they are taken to a new page to create the announcement and then are redirected back on creation. The behavior is similar for editing announcements.

image

This PR introduces a new /admin route with a component to create, edit, and delete announcements from a single portal. You can leverage the permissions that are included with the plugins to lock down this route however you choose.

image

Consuming and managing announcements are two different concerns, and separating them from a single component will allow us to focus on them as two separate features.

wip

There is a flickering effect due to the way components are being rendered. This is something that must be fixed.

https://github.com/procore-oss/backstage-plugin-announcements/assets/14222009/41386708-1be3-4fad-b76e-5ca3ed514d1e

kurtaking avatar Nov 23 '23 19:11 kurtaking

⚠️ No Changeset found

Latest commit: a0ccebec9b2985a27018870f2475e88bbbb109f5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Nov 23 '23 19:11 changeset-bot[bot]