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

R30 Release Announcement #723

Merged
merged 40 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
67b0b7c
Bump @babel/traverse from 7.21.3 to 7.23.2
dependabot[bot] Oct 18, 2023
5456763
Merge pull request #710 from etn-ccis/dependabot/npm_and_yarn/babel/t…
JeffGreiner-eaton Oct 19, 2023
83dd23a
Bump axios from 1.3.4 to 1.6.0
dependabot[bot] Nov 1, 2023
362e278
Merge pull request #711 from etn-ccis/dependabot/npm_and_yarn/dev/axi…
daileytj Nov 1, 2023
06e6ba8
Mention EV Charger HMI
huayunh Nov 17, 2023
20ae33a
Merge pull request #712 from etn-ccis/feature/list-more-projects-buil…
huayunh Nov 20, 2023
1f19d09
Removed colors branding package from developer resources
surajeaton Nov 28, 2023
6899d76
Updated discription of react native themes
surajeaton Nov 29, 2023
3dd1963
Merge pull request #713 from etn-ccis/feature/4953-remove-colors-bran…
huayunh Nov 29, 2023
d28b176
Bump @adobe/css-tools from 4.2.0 to 4.3.2
dependabot[bot] Dec 1, 2023
279ab07
Bump color from 3.2.1 to 4.2.3
dependabot[bot] Dec 1, 2023
1e6a96f
Merge pull request #714 from etn-ccis/dependabot/npm_and_yarn/adobe/c…
surajeaton Dec 4, 2023
3e2cd7b
Merge pull request #715 from etn-ccis/dependabot/npm_and_yarn/dev/col…
surajeaton Dec 4, 2023
a757e97
Update schedule comments
huayunh Dec 27, 2023
bef9438
Update spring-festival.ts
huayunh Dec 27, 2023
dd3f6fc
Update independence-day.ts
huayunh Dec 27, 2023
26bc7d7
Update mid-autumn-festival.ts
huayunh Dec 27, 2023
7ed7f7f
Update halloween.ts
huayunh Dec 27, 2023
a49ea76
Update diwali.ts
huayunh Dec 27, 2023
5b05caf
Update thanksgiving.ts
huayunh Dec 27, 2023
43b3f21
Update christmas.ts
huayunh Dec 27, 2023
da03144
Update hanukkah.ts
huayunh Dec 27, 2023
6b16117
Update kwanzaa.ts
huayunh Dec 27, 2023
8ff36f6
update docker image version
huayunh Dec 27, 2023
d33ac1c
Update firebase-hosting-pull-request.yml
huayunh Dec 27, 2023
d8df2c5
Merge pull request #718 from etn-ccis/test-firbase-hosting
huayunh Dec 27, 2023
af5b461
Merge pull request #716 from etn-ccis/feature/5029-docit-holiday-sche…
huayunh Dec 28, 2023
00bb76f
Added overline, chup, grade, iconswitch and removed typography from c…
surajeaton Dec 29, 2023
efae6d2
Bump web-vitals from 2.1.4 to 3.5.1
dependabot[bot] Jan 1, 2024
84e24e5
Merge pull request #720 from etn-ccis/dependabot/npm_and_yarn/dev/web…
JeffGreiner-eaton Jan 2, 2024
08a0b1a
Merge pull request #719 from etn-ccis/feature/5062-update-doc-it-comp…
surajeaton Jan 3, 2024
7c99b30
Bump follow-redirects from 1.15.2 to 1.15.4
dependabot[bot] Jan 10, 2024
f22168e
Merge pull request #721 from etn-ccis/dependabot/npm_and_yarn/follow-…
JeffGreiner-eaton Jan 10, 2024
1aea2ca
R30 release notes
manojleaton Jan 18, 2024
27f2b94
review comments changes
manojleaton Jan 22, 2024
ef4e0df
updated blui version and links
manojleaton Jan 23, 2024
f460156
Update src/docs/release-notes/R30/FullNotes.mdx
manojleaton Jan 24, 2024
c3d99e7
Merge pull request #722 from etn-ccis/feature/5150-R30-Release-Announ…
manojleaton Jan 24, 2024
75b1755
added r31 roadmap
manojleaton Jan 25, 2024
e5e96e8
Merge pull request #724 from etn-ccis/feature/5150-R31-release-update
huayunh Jan 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2.1
orbs:
browser-tools: circleci/[email protected].2
browser-tools: circleci/[email protected].6
jobs:
build:
docker:
- image: cimg/node:16.19.1-browsers
- image: cimg/node:18.17.1-browsers
working_directory: ~/doc-it-dev
environment:
- MASTER_BRANCH: master
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,10 @@ jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.19.0]
steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3

with:
node-version: ${{ matrix.node-version }}

- run: yarn && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
- uses: emclaug2/action-hosting-deploy@main
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BLUI_DOC_IT }}'
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@mui/material": "^5.6.0",
"@mui/styles": "^5.6.0",
"@types/dompurify": "^3.0.2",
"axios": "^1.0.0",
"color": "^3.1.3",
"axios": "^1.6.0",
"color": "^4.2.3",
"dompurify": "^3.0.2",
"fireworks-canvas": "^2.6.2",
"flexsearch": "~0.6.0",
Expand All @@ -34,7 +34,7 @@
"react-router-dom": "^6.4.3",
"react-scripts": "5.0.1",
"redux": "^4.0.5",
"web-vitals": "^2.1.4"
"web-vitals": "^3.5.1"
},
"scripts": {
"start": "craco start",
Expand Down
12 changes: 12 additions & 0 deletions src/__configuration__/community/BluiProjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import BLI from '../../app/assets/blui-projects/bli.png';
import PredictPulse from '../../app/assets/blui-projects/predict-pulse.png';
import SmartEnergyManager from '../../app/assets/blui-projects/smart-energy-manager.png';
import EVChargerManager from '../../app/assets/blui-projects/ev-charger-manager.png';
import GreenMotionEVCharger from '../../app/assets/blui-projects/green-motion-ev-charger.jpg';

import { BluiProjectTag, BluiProjectStack, BluiProject } from './BluiProjectsType';

Expand Down Expand Up @@ -144,4 +145,15 @@ export const bluiProjects: BluiProject[] = [
BluiProjectTag.SCHEDULES,
],
},
{
name: 'Green Motion Building / Fleet',
description: `Fast, cost-effective and sustainable charging for passenger vehicles, last mile delivery vehicles, light and medium-duty trucks, and school buses.`,
platformURLs: {}, // this is an HMI project; no URL available
website: `https://www.eaton.com/evchargers`,
image: GreenMotionEVCharger,
market: 'Commercial',
devices: 'EV chargers (HMI touch screens)',
stack: 'SGUS, Keil',
tags: [BluiProjectTag.REAL_TIME_MONITORING, BluiProjectTag.TRANSACTIONS],
},
].sort((a, b) => a.name.localeCompare(b.name));
3 changes: 2 additions & 1 deletion src/__configuration__/community/BluiProjectsType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export enum BluiProjectTag {
PREDICTIONS = 'Predictions',
REAL_TIME_MONITORING = 'Real-time Monitoring',
SCHEDULES = 'Schedules & Automation',
TRANSACTIONS = 'Transactions',
}

export enum BluiProjectStack {
Expand All @@ -24,7 +25,7 @@ export type BluiProject = {
description: string;
market?: string;
devices?: string;
stack?: BluiProjectStack[];
stack?: BluiProjectStack[] | string;
platformURLs: {
web?: string;
ios?: string;
Expand Down
42 changes: 33 additions & 9 deletions src/__configuration__/resources/ComponentCatalogLinks.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import AppBar from '../../app/assets/component-catalog/app-bar.png';
import ChannelValue from '../../app/assets/component-catalog/channel-value.png';
import Chip from '../../app/assets/component-catalog/chip.png';
import CollapsibleHeaderLayout from '../../app/assets/component-catalog/collapsible-header-layout.png';
import Drawer from '../../app/assets/component-catalog/drawer.png';
import EmptyState from '../../app/assets/component-catalog/empty-state.png';
import Grade from '../../app/assets/component-catalog/grade.png';
import Hero from '../../app/assets/component-catalog/hero.png';
import Icon from '../../app/assets/component-catalog/icon.png';
import IconSwitch from '../../app/assets/component-catalog/icon-switch.png';
import InfoListItem from '../../app/assets/component-catalog/info-list-item.png';
import ListItemTag from '../../app/assets/component-catalog/list-item-tag.png';
import MobileStepper from '../../app/assets/component-catalog/mobile-stepper.png';
import Overline from '../../app/assets/component-catalog/overline.png';
import Scorecard from '../../app/assets/component-catalog/scorecard.png';
import ThreeLiner from '../../app/assets/component-catalog/three-liner.png';
import ToolbarMenu from '../../app/assets/component-catalog/toolbar-menu.png';
import Typography from '../../app/assets/component-catalog/typography.png';
import UserMenu from '../../app/assets/component-catalog/user-menu.png';

const branchSuffix = window.location.hostname === 'brightlayer-ui.github.io' ? '' : '-dev';
Expand Down Expand Up @@ -48,6 +51,13 @@ export const componentCatalogLinks: ComponentCatalogType[] = [
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--channel-value`,
image: ChannelValue,
},
{
title: 'Chip',
angular: `Offered by Angular Material`,
react: `Offered by MUI`,
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--chip`,
image: Chip,
},
{
title: 'Collapsible Header Layout',
angular: `Included as part of Brightlayer UI's App Bar Component`,
Expand All @@ -69,6 +79,13 @@ export const componentCatalogLinks: ComponentCatalogType[] = [
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--empty-state`,
image: EmptyState,
},
{
title: 'Grade',
angular: `Not Available`,
react: `Not Available`,
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--grade`,
image: Grade,
},
{
title: 'Hero',
angular: `https://brightlayer-ui-components.github.io/angular${branchSuffix}/components/hero/examples`,
Expand All @@ -77,12 +94,19 @@ export const componentCatalogLinks: ComponentCatalogType[] = [
image: Hero,
},
{
title: 'Icon (wrapper for Brightlayer UI icons)',
title: 'Icon',
angular: `Offered by Angular Material's icon fonts and icon SVGs`,
react: `Offered by MUI's icon fonts and icon components`,
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--icons`,
image: Icon,
},
{
title: 'Icon Switch',
angular: `Offered by Angular Material's slide toggle`,
react: `Offered by MUI's switch component`,
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--icon-switch`,
image: IconSwitch,
},
{
title: 'Info List Item',
angular: `https://brightlayer-ui-components.github.io/angular${branchSuffix}/components/info-list-item/examples`,
Expand All @@ -104,6 +128,13 @@ export const componentCatalogLinks: ComponentCatalogType[] = [
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--mobile-stepper`,
image: MobileStepper,
},
{
title: 'Overline',
angular: `Not Available`,
react: `Offered by MUI's Typography component`,
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--overline`,
image: Overline,
},
{
title: 'Scorecard',
angular: `https://brightlayer-ui-components.github.io/angular${branchSuffix}/components/score-card/examples`,
Expand All @@ -125,13 +156,6 @@ export const componentCatalogLinks: ComponentCatalogType[] = [
reactNative: `Not Available`,
image: ToolbarMenu,
},
{
title: 'Typography',
angular: `Offered by Angular Material`,
react: `Offered by MUI`,
reactNative: `https://brightlayer-ui-components.github.io/react-native/?path=/info/components-documentation--typography`,
image: Typography,
},
{
title: 'User Menu',
angular: `https://brightlayer-ui-components.github.io/angular${branchSuffix}/components/user-menu/examples`,
Expand Down
12 changes: 1 addition & 11 deletions src/__configuration__/resources/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,6 @@ export const resources: ResourceBucket[] = [
description: 'Brightlayer UI color palette definitions',
package: '@brightlayer-ui/colors',
repository: 'colors',
bugLabels: ['ui'],
workSpace: 'ui',
},
{
name: '@brightlayer-ui/colors-branding',
description: 'Eaton branding color palette definitions',
package: '@brightlayer-ui/colors-branding',
repository: 'colors',
bugLabels: ['branding'],
workSpace: 'branding',
},
{
name: '@brightlayer-ui/angular-themes',
Expand All @@ -165,7 +155,7 @@ export const resources: ResourceBucket[] = [
},
{
name: '@brightlayer-ui/react-native-themes',
description: 'Brightlayer UI themes for @brightlayer-ui/react-native-components',
description: 'Brightlayer UI themes for React Native Paper',
package: '@brightlayer-ui/react-native-themes',
repository: 'react-native-themes',
applies: ['react-native'],
Expand Down
7 changes: 6 additions & 1 deletion src/__configuration__/roadmap/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { Quarter, Release } from '../../__types__';

export const CURRENT_RELEASE: Release = 'R30';
export const CURRENT_RELEASE: Release = 'R31';

export const AVAILABLE_RELEASES: Array<{
name: Release;
year: number;
quarter: Quarter;
}> = [
{
name: 'R31',
year: 2024,
quarter: 'Q1',
},
{
name: 'R30',
year: 2023,
Expand Down
18 changes: 9 additions & 9 deletions src/__configuration__/themes/_schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,21 @@ import { ValentineSchedule } from './valentine-s-day';
* Add more holiday themes here.
*
* Current schedules:
* * Feb 9 - Feb 13 2023: Spring Festival (changes each year) ** Feb 9 - Feb 15 2024 **
* * Feb 6 - Feb 12: Spring Festival (changes each year)
* * Feb 13 - Feb 15: Valentine's Day
* * Mar 7 - Mar 9: Women's Day
* * Mar 16 - Mar 18: St. Patrick's Day
* * Apr 1: April Fool's Day
* * Apr 20 - Apr 24: Earth Day
* * May 3 - May 5: May the Fourth Day
* * July 2 - July 7: Independence Day
* * Sept 29 - Oct 6 2023: Mid Autumn Festival (changes each year)
* * Oct 25 - Nov 1: Halloween
* * Nov 12 - Nov 16 2023: Diwali (changes each year)
* * Nov 21 - Nov 27: Thanksgiving (changes each year)
* * Dec 7 - Dec 15: Hanukkah (changes each year)
* * Dec 23 - Dec 26: Christmas
* * Dec 26 - Dec 30: Kwanzaa (Kwanzaa runs until Jan 1. Cutting this short to account for New Years.)
* * July 1 - July 7: Independence Day
* * Sept 12 - Sept 18: Mid Autumn Festival (changes each year)
* * Oct 24 - Oct 30: Halloween
* * Nov 1 - Nov 7: Diwali (changes each year)
* * Nov 22 - Nov 29: Thanksgiving (changes each year)
* * Dec 19 - Dec 25: Christmas
* * Dec 26 - Dec 28: Hanukkah (changes each year)
* * Dec 29 - Dec 30: Kwanzaa (Kwanzaa runs until Jan 1. Cutting this short to account for New Years.)
* * Dec 31 - Jan 6: New Years
*/
export const schedule: Schedule[] = [
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/christmas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import AppBarTile from '../../app/assets/themes/christmas/christmas-appbar-tile.
import { Schedule } from './_types';

export const ChristmasSchedule: Schedule = {
start: new Date(0, 11, 23), // Dec 23
end: new Date(0, 11, 26), // Dec 26
start: new Date(0, 11, 19), // Dec 19
end: new Date(0, 11, 26), // Dec 25
config: {
theme: {
...BLUIThemes.blue,
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/diwali.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AppBarTile from '../../app/assets/themes/diwali/diwali-appbar-tile.png';
import { Schedule } from './_types';

export const DiwaliSchedule: Schedule = {
start: new Date(0, 10, 12), // Nov 12
end: new Date(0, 10, 17), // Nov 16
start: new Date(0, 10, 1), // Nov 1
end: new Date(0, 10, 8), // Nov 7
config: {
theme: {
...BLUIThemes.blue,
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/halloween.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ const HalloweenTheme: ThemeOptions = {
};

export const HalloweenSchedule: Schedule = {
start: new Date(0, 9, 25), // Oct 25
end: new Date(0, 10, 2), // Nov 1
start: new Date(0, 9, 24), // Oct 24
end: new Date(0, 10, 1), // Oct 30
config: {
theme: HalloweenTheme,
landingPageBanner: {
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/hanukkah.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AppBarTile from '../../app/assets/themes/hanukkah/hanukkah-appbar-tile.pn
import { Schedule } from './_types';

export const HanukkahSchedule: Schedule = {
start: new Date(0, 11, 7), // Dec 7
end: new Date(0, 11, 16), // Dec 15
start: new Date(0, 11, 26), // Dec 26
end: new Date(0, 11, 29), // Dec 28
config: {
theme: {
...BLUIThemes.blue,
Expand Down
2 changes: 1 addition & 1 deletion src/__configuration__/themes/independence-day.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import AppBarTile from '../../app/assets/themes/independence-day/independence-da
import { Schedule } from './_types';

export const IndependenceDaySchedule: Schedule = {
start: new Date(0, 6, 2), // July 2
start: new Date(0, 6, 1), // July 1
end: new Date(0, 6, 8), // July 7
config: {
theme: {
Expand Down
2 changes: 1 addition & 1 deletion src/__configuration__/themes/kwanzaa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import AppBarTile from '../../app/assets/themes/kwanzaa/kwanzaa-appbar-tile.png'
import { Schedule } from './_types';

export const KwanzaaSchedule: Schedule = {
start: new Date(0, 11, 26), // Dec 26
start: new Date(0, 11, 29), // Dec 29
end: new Date(0, 11, 31), // Dec 30 - festival should run until Jan 1, but we cut this off on early to account for New Years theme
config: {
theme: {
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/mid-autumn-festival.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import AppBarTile from '../../app/assets/themes/mid-autumn-festival/app-bar.png'
import { Schedule } from './_types';

export const MidAutumnSchedule: Schedule = {
start: new Date(0, 8, 29), // Sept 29
end: new Date(0, 9, 7), // Oct 6
start: new Date(0, 8, 12), // Sept 12
end: new Date(0, 8, 19), // Sept 18
config: {
theme: {
...BLUIThemes.blueDark,
Expand Down
2 changes: 1 addition & 1 deletion src/__configuration__/themes/spring-festival.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import AppBarTile from '../../app/assets/themes/spring-festival/tile.svg';
import { Schedule } from './_types';

export const SpringFestivalSchedule: Schedule = {
start: new Date(0, 1, 9), // Feb 9
start: new Date(0, 1, 6), // Feb 6
end: new Date(0, 1, 13), // Feb 12
config: {
theme: {
Expand Down
4 changes: 2 additions & 2 deletions src/__configuration__/themes/thanksgiving.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import AppBarTile from '../../app/assets/themes/thanksgiving/thanksgiving-appbar
import { Schedule } from './_types';

export const ThanksgivingSchedule: Schedule = {
start: new Date(0, 10, 21), // Nov 21
end: new Date(0, 10, 28), // Nov 27
start: new Date(0, 10, 22), // Nov 22
end: new Date(0, 10, 30), // Nov 29
config: {
theme: {
...BLUIThemes.blue,
Expand Down
3 changes: 2 additions & 1 deletion src/__types__/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export type Release =
| 'R27'
| 'R28'
| 'R29'
| 'R30';
| 'R30'
| 'R31';

export type RoadmapItem = {
name: string;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/assets/component-catalog/chip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/assets/component-catalog/grade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/app/assets/component-catalog/overline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/app/assets/component-catalog/typography.png
Binary file not shown.
Loading
Loading