Skip to content

Commit ade6bf8

Browse files
authored
Merge pull request #19 from netgrif/dev
Release 6.0.2
2 parents 9702485 + 5caac8a commit ade6bf8

File tree

47 files changed

+346
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+346
-101
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,16 @@ You can now safely **delete all between two horizontal lines**, so the instructi
6363

6464
### Test Configuration
6565

66-
<Please describe configuration for tests to run if applicable, like program parameters, host OS, VM configuration etc.>
66+
<Please describe configuration for tests to run if applicable, like program parameters, host OS, VM configuration etc. You can use >
67+
68+
| Name | Tested on |
69+
|---------------------| --------- |
70+
| OS | |
71+
| Runtime | |
72+
| Dependency Manager | |
73+
| Framework version | |
74+
| Run parameters | |
75+
| Other configuration | |
6776

6877
# Checklist:
6978

.github/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
PR_TITLE_REGEX: /(?:\[[A-Z]+-[0-9]+\] .+)|(?:Release [0-9]\.[0-9]\.[0-9](?:-[A-Za-z]+\.[0-9]+)?)/gi
2-
COMMIT_MESSAGE_REGEX: /\[[A-Z]+-[0-9]+\] .+(?:\n\r? - .*)*/gim
2+
COMMIT_MESSAGE_REGEX: /((^| )(\[[A-Z]+-[0-9]+\] .+(?:\n\r? - .*)*|(Merge branch .*. into*.*))|((Release .*)+(:?\n\r? .*)*)|(CI - Update documentation))/gim
33
INVALID_COMMIT_MESSAGE: Commit messages are invalid. Valid format is -> [JIRA-ISSUE-KEY] Main change in the commit \n - other change in the commit
4-
INVALID_PULL_REQUEST_MESSAGE: Pull request title is invalid -> [JIRA-ISSUE-KEY] Jira issue summary / title
4+
INVALID_PULL_REQUEST_MESSAGE: Pull request title is invalid -> [JIRA-ISSUE-KEY] Jira issue summary / title

.github/workflows/master-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
default_author: github_actions
3838
committer_name: Netgrif DevOps
3939
committer_email: devops@netgrif.com
40-
message: 'Update documentation'
40+
message: 'CI - Update documentation'
4141

4242

4343

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,28 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88
Full
99
Changelog: [https://github.com/netgrif/components/commits/v6.0.0](https://github.com/netgrif/components/commits/v6.0.0)
1010

11-
## [6.0.1](https://github.com/netgrif/components/releases/tag/v6.0.0) (2022-02-15)
11+
## [6.0.2](https://github.com/netgrif/components/releases/tag/v6.0.2) (2022-03-04)
12+
13+
### Fixed
14+
15+
- [NAE-1389] Immediate map data fields display their keys
16+
- [NAE-1455] Navigation menu closes on small screens and cannot be reopened
17+
- [NAE-1472] MaterialAppearance property on AbstractDataField
18+
- [NAE-1524] Header search by author is not working
19+
- [NAE-1529] Finish auto does not work
20+
- [NAE-1557] Cannot clear optional enumeration
21+
- [NAE-1574] Net role permission checking
22+
- [NAE-1575] User select component trying open non-existing side menu component
23+
- [NAE-1577] Task reffed change behavior does not propagate
24+
- [NAE-1580] Grammar check
25+
- [NAE-1583] Broken FileField/FileListField placeholder
26+
- [NAE-1586] Virtual scroll is broken everywhere on page
27+
28+
### Changed
29+
30+
- [NAE-1459] Loading indicator on login and registration related components
31+
32+
## [6.0.1](https://github.com/netgrif/components/releases/tag/v6.0.1) (2022-02-15)
1233

1334
- Fixing mistake with npm registry
1435

@@ -508,7 +529,6 @@ None
508529

509530
- [NAE-984] Destroy subscription on changedFields
510531

511-
512532
## [4.1.1](https://github.com/netgrif/components/releases/tag/4.1.1) (2020-08-20)
513533

514534
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=netgrif_components&metric=coverage)](https://sonarcloud.io/dashboard?id=netgrif_components)
1212
[![Known Vulnerabilities](https://snyk.io/test/github/netgrif/components/badge.svg)](https://snyk.io/test/github/netgrif/components)
1313

14-
Netgrif Components is an Angular library for creating SPA (Single-page application) compatible with Netgrif Application Engine.
14+
Netgrif Components is an Angular library for creating SPA (Single-page application) compatible with [Netgrif Application Engine](https://github.com/netgrif/application-engine).
1515
The library provides all necessary tools for creating refined frontend application into NAE environment,
1616
and to create own library of Angular web components to incorporate your own personal design to the platform.
1717

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netgrif/components-project",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"description": "Netgrif Application Engine Frontend project. Project includes angular libraries as base for NAE applications.",
55
"homepage": "https://components.netgrif.com",
66
"license": "SEE LICENSE IN LICENSE",
@@ -33,6 +33,7 @@
3333
"lint": "ng lint",
3434
"e2e": "ng e2e",
3535
"ncc:build": "ng build netgrif-components-core --prod && npm run ncc:build-schematics",
36+
"ncc:local-build": "npm run ncc:build && npm i ./dist/netgrif-components-core --save-optional",
3637
"ncc:build-schematics": "node projects/netgrif-components-core/src/scripts/build-schematics.js",
3738
"ncc:lint": "ng lint netgrif-components-core",
3839
"ncc:spell": "cspell \"{projects/netgrif-components-core/**/*.md,projects/netgrif-components-core/src/**/*.ts}\"",
@@ -55,7 +56,7 @@
5556
"nc:typedoc": "typedoc --tsconfig projects/netgrif-components/tsconfig.lib.json projects/netgrif-components/src/public-api.ts",
5657
"nc:compodoc": "compodoc -c projects/netgrif-components/.compodocrc.json",
5758
"nc:doc": "npm run nc:compodoc && npm run nc:typedoc",
58-
"project:local-build": "cd projects/netgrif-components-core && npm run ncc:build && cd ../netgrif-components && npm run nc:local-build",
59+
"project:local-build": "npm run ncc:local-build && npm run nc:local-build",
5960
"project:full-test": "npm run ncc:full-test && npm run ncc:build && npm run nc:full-test",
6061
"project:start": "npm run project:local-build && ng serve",
6162
"project:sonar": "node scripts/sonar-scanner-analysis.js",

projects/nae-example-app/src/app/doc/forms/email-form/password-form.component.ts

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
import {Component, OnInit} from '@angular/core';
1+
import {Component, OnDestroy, OnInit} from '@angular/core';
22
import {FormControl} from '@angular/forms';
3-
import {FormSubmitEvent, LoggerService, MessageResource, SignUpService, SnackBarService} from '@netgrif/components-core';
3+
import {
4+
FormSubmitEvent,
5+
LoadingEmitter,
6+
LoggerService,
7+
MessageResource,
8+
SignUpService,
9+
SnackBarService
10+
} from '@netgrif/components-core';
411
import {Observable} from 'rxjs';
512

613
interface EndpointOption {
@@ -13,26 +20,34 @@ interface EndpointOption {
1320
templateUrl: './password-form.component.html',
1421
styleUrls: ['./password-form.component.scss']
1522
})
16-
export class PasswordFormComponent implements OnInit {
23+
export class PasswordFormComponent implements OnInit, OnDestroy {
1724

1825
readonly TITLE = 'Email submission form';
1926
readonly DESCRIPTION = 'Ukážka email submission form...';
2027

2128
public endpointFormControl: FormControl;
2229

30+
public loading: LoadingEmitter;
31+
2332
public endpointOptions: Array<EndpointOption> = [
2433
{value: 'signup', viewValue: 'Sign up'},
2534
{value: 'forgotten', viewValue: 'Forgotten password'}
2635
];
2736

2837
constructor(protected _signUpService: SignUpService, protected _snackBarService: SnackBarService, protected _log: LoggerService) {
2938
this.endpointFormControl = new FormControl(this.endpointOptions[0].value);
39+
this.loading = new LoadingEmitter();
3040
}
3141

3242
ngOnInit(): void {
3343
}
3444

45+
ngOnDestroy(): void {
46+
this.loading.complete();
47+
}
48+
3549
callEndpoint(event: FormSubmitEvent): void {
50+
event.loading.on();
3651
let endpoint: Observable<MessageResource>;
3752
if (this.endpointFormControl.value === 'signup') {
3853
endpoint = this._signUpService.invite({email: event.email, groups: [], processRoles: []});
@@ -47,6 +62,7 @@ export class PasswordFormComponent implements OnInit {
4762
} else {
4863
this._snackBarService.openSuccessSnackBar('Request success');
4964
}
65+
event.loading.off();
5066
});
5167
}
5268
}

projects/netgrif-components-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netgrif/components-core",
3-
"version": "6.0.1",
3+
"version": "6.0.2",
44
"description": "Netgrif Application engine frontend core Angular library",
55
"homepage": "https://components.netgrif.com",
66
"license": "SEE LICENSE IN LICENSE",

projects/netgrif-components-core/src/assets/i18n/de.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@
242242
},
243243
"dynamicEnum": {
244244
"noData": "Keine Einträge entsprechen Ihrer Suchanfrage"
245+
},
246+
"enum": {
247+
"reset": "Rücksetzen"
245248
}
246249
},
247250
"dialog": {

projects/netgrif-components-core/src/assets/i18n/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@
242242
},
243243
"dynamicEnum": {
244244
"noData": "No items match your search"
245+
},
246+
"enum": {
247+
"reset": "Reset"
245248
}
246249
},
247250
"dialog": {

0 commit comments

Comments
 (0)