Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ jobs:
`${process.env.GITHUB_WORKSPACE}/DonutChart/DonutChart`,
`${process.env.GITHUB_WORKSPACE}/Elevation/Elevation`,
`${process.env.GITHUB_WORKSPACE}/Facepile/Facepile`,
`${process.env.GITHUB_WORKSPACE}/FluentMessageBar/FluentMessageBar`,
`${process.env.GITHUB_WORKSPACE}/GaugeChart/GaugeChart`,
`${process.env.GITHUB_WORKSPACE}/HorizontalBarChart/HorizontalBarChart`,
`${process.env.GITHUB_WORKSPACE}/Icon/Icon`,
Expand Down Expand Up @@ -142,6 +143,12 @@ jobs:
cd ./Facepile
npm install
npm ci

- name: Install Dependencies in FluentMessageBar
run: |
cd ./FluentMessageBar
npm install
npm ci

- name: Install Dependencies in GaugeChart
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr_validate_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- "./DonutChart"
- "./Elevation"
- "./Facepile"
- "./FluentMessageBar"
- "./GaugeChart"
- "./HorizontalBarChart"
- "./Icon"
Expand Down
93 changes: 47 additions & 46 deletions FluentMessageBar/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,53 +1,54 @@
{
"env": {
"browser": true,
"es2020": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:sonarjs/recommended"
],
"globals": {
"ComponentFramework": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"@microsoft/power-apps",
"@typescript-eslint",
"sonarjs"
],
"ignorePatterns": ["**/generated/*.ts"],
"rules": {
"indent": [
"error",
4
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:sonarjs/recommended"
],
"linebreak-style": [
"error",
"windows"
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"react",
"sonarjs"
],
"quotes": [
"error",
"single"
"rules": {
"indent": [
"error",
4
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
},
"overrides": [
{
"files": [
"*.ts"
],
"rules": {
"camelcase": [
2,
{
"properties": "never"
}
]
}
}
],
"semi": [
"error",
"always"
"ignorePatterns": [
"**/generated/**",
"**/.eslint*.json"
]
},
"settings": {
"react": {
"version": "detect"
}
}
}
6 changes: 6 additions & 0 deletions FluentMessageBar/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@

# MSBuild Binary and Structured Log
*.binlog

# Visual Studio cache/options directory
/.vs

# macos
.DS_Store
2 changes: 1 addition & 1 deletion FluentMessageBar/FluentMessageBar.pcfproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<PropertyGroup>
<Name>FluentMessageBar</Name>
<ProjectGuid>83e9e0ca-0753-45c4-893a-ed5ffca3f1f5</ProjectGuid>
<ProjectGuid>ff0d1665-98df-4699-856c-545e3fae1929</ProjectGuid>
<OutputPath>$(MSBuildThisFileDirectory)out\controls</OutputPath>
<PcfBuildMode>production</PcfBuildMode>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FluentMessageBar } from '..';
import { MockContext, MockState } from '../__mocks__/mock-context';
import { MockDataSet, MockEntityRecord } from '../__mocks__/mock-datasets';
import { getMockParameters } from '../__mocks__/mock-parameters';
import { IInputs, IOutputs } from '../generated/ManifestTypes';
import { IInputs } from '../generated/ManifestTypes';
import { ItemColumns } from '../ManifestConstant';

describe('FluentMessageBar', () => {
Expand Down
Loading
Loading