Cleaned up changeset based on feedback

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2022-10-18 20:18:43 -05:00
parent fb3733e446
commit 127fcad26d
4 changed files with 33 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/core-app-api': minor
---
# test
Deprecated the `homepage` config as the component that used it - `HomepageTimer` - has been removed and replaced by the `HeaderWorldClock` in the home plugin
+2 -4
View File
@@ -1,7 +1,5 @@
---
'@backstage/core-app-api': patch
'@backstage/core-components': patch
'@backstage/plugin-config-schema': patch
'@backstage/core-components': minor
---
Removed the `HomepageTimer` and its related config as it has been replaced by the `HeaderWorldClock` in the Home plugin and was deprecated over a year ago
**BREAKING**: Removed the `HomepageTimer` as it has been replaced by the `HeaderWorldClock` in the Home plugin and was deprecated over a year ago.
+10
View File
@@ -420,6 +420,16 @@ costInsights:
kind: 'PINTS_OF_ICE_CREAM'
unit: 'ice cream pint'
rate: 5.5
homepage:
clocks:
- label: UTC
timezone: UTC
- label: NYC
timezone: 'America/New_York'
- label: STO
timezone: 'Europe/Stockholm'
- label: TYO
timezone: 'Asia/Tokyo'
pagerduty:
eventsBaseUrl: 'https://events.pagerduty.com/v2'
jenkins:
+14
View File
@@ -89,6 +89,20 @@ export interface Config {
name?: string;
};
/**
* This config was used by the HomepageTimer but has been replaced by the HeaderWorldClock in the home plugin
*
* @deprecated in favor of the HeaderWorldClock which is found in the home plugin
*/
homepage?: {
clocks?: Array<{
/** @visibility frontend */
label: string;
/** @visibility frontend */
timezone: string;
}>;
};
/**
* Configuration that provides information on available configured authentication providers.
*/