Skip to content

Commit

Permalink
release: 0.12.0 (#99)
Browse files Browse the repository at this point in the history
### Description

This release introduces a new UI component - `PagerDutySmallCard` -
which allows users to still have visibility on the status of their
PagerDuty services in Backstage without using so much screen space. This
new UI component removes information on *incidents* and *recent
changes*, and moves *insights* and *on call* information to collapsable
panels that can optionally be removed.


![image](https://github.com/PagerDuty/backstage-plugin/assets/2689939/0f6b9e55-786a-4fcb-959f-78ff94c06c39)


This feature was initially contributed by @milenkotomic and slightly
modify after feedback from other community members.

## Acknowledgement

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

**Disclaimer:** We value your time and bandwidth. As such, any pull
requests created on non-triaged issues might not be successful.
  • Loading branch information
t1agob authored May 1, 2024
2 parents b9a79b3 + 287ba71 commit 39647df
Show file tree
Hide file tree
Showing 18 changed files with 1,376 additions and 99 deletions.
14 changes: 13 additions & 1 deletion dev/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
import React from 'react';
import { EntityProvider } from '@backstage/plugin-catalog-react';
import { createDevApp } from '@backstage/dev-utils';
import { pagerDutyPlugin, EntityPagerDutyCard } from '../src/plugin';
import {pagerDutyPlugin, EntityPagerDutyCard, EntityPagerDutySmallCard} from '../src/plugin';
import { pagerDutyApiRef } from '../src/api';
import { mockPagerDutyApi } from './mockPagerDutyApi';
import { mockEntity } from './mockEntity';
import {Grid} from '@material-ui/core';

createDevApp()
.registerApi({
Expand All @@ -39,4 +40,15 @@ createDevApp()
</EntityProvider>
),
})
.addPage({
path: '/pagerduty-small',
title: 'PagerDuty Small Card',
element: (
<EntityProvider entity={mockEntity}>
<Grid md={4}>
<EntityPagerDutySmallCard/>
</Grid>
</EntityProvider>
),
})
.render();
Loading

0 comments on commit 39647df

Please sign in to comment.