Skip to content

Commit

Permalink
Merge pull request #1098 from Aam-Digital/master
Browse files Browse the repository at this point in the history
release: version 3.0.0
  • Loading branch information
sleidig authored Feb 4, 2022
2 parents fd357cb + d70f248 commit d2376e4
Show file tree
Hide file tree
Showing 264 changed files with 7,337 additions and 9,025 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
create-and-deploy-compodoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install @compodoc/compodoc
- name: Run compodoc
Expand All @@ -23,7 +23,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
check-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
continue-on-error: true # To make sure that SARIF upload gets called
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
Expand All @@ -29,7 +29,7 @@ jobs:
deploy-prod-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagged-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
publish-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand Down
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"i18nMissingTranslation": "warning",
"localize": ["en-US"],
"assets": [
"src/assets",
"src/favicon.ico",
Expand Down
7 changes: 5 additions & 2 deletions doc/compodoc_sources/how-to-guides/dialogs-notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,17 @@ dialogRef.afterClosed().subscribe(confirmed => {
```

You can also display dialogs with only one "OK" button rather than the yes/no option
by setting the optional third parameter (`yesNoButtons`) to false:
by setting the optional 'buttons' parameter:
```
this.confirmationDialog
.openDialog('Info', 'No options here, just some text.', false);
.openDialog('Info', 'No options here, just some text.', OkButton);
```
In this case also consider whether you really want to use a "blocking" dialog box
or if a simple "alert" notification may be the better choice.

Check the definitions of those button presets in `confirmation-dialog.component.ts` to see
how you can also create fully custom choices of buttons.


## Display a notification
You can display a short notification text to the user in an non-disrupting way using the [AlertService](../../injectables/AlertService.html).
Expand Down
Loading

0 comments on commit d2376e4

Please sign in to comment.