Skip to content

Commit 14ebf4f

Browse files
AntoineReliefJoselgc1semantic-release-bot
authored
Release 20250906 (#2813)
--------- Co-authored-by: Jose L. Garcia <42015332+Joselgc1@users.noreply.github.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
2 parents b0aec22 + fb3f5fe commit 14ebf4f

File tree

118 files changed

+6122
-1197
lines changed

Some content is hidden

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

118 files changed

+6122
-1197
lines changed

CHANGELOG/CHANGELOG_next.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# [2.21.0-rc.1](https://github.com/ReliefApplications/ems-frontend/compare/v2.20.1...v2.21.0-rc.1) (2025-08-29)
2+
3+
4+
### Bug Fixes
5+
6+
* files in editor widget would download twice on click & uploading multiple files at once could mix the file ids ([#2799](https://github.com/ReliefApplications/ems-frontend/issues/2799)) ([0dbd703](https://github.com/ReliefApplications/ems-frontend/commit/0dbd7034ff3056e4fc87a1c9b7ae24a2755b2d30)), closes [Ab#116765](https://github.com/Ab/issues/116765)
7+
* prevent deletion of files before sending emails from grid as quick action ([b85bfb4](https://github.com/ReliefApplications/ems-frontend/commit/b85bfb466529640ce401acc46e9e6657ce975374)), closes [AB#118682](https://github.com/AB/issues/118682)
8+
9+
10+
### Features
11+
12+
* Allow to duplicate records when seeing form details & user can create new records ([fe411be](https://github.com/ReliefApplications/ems-frontend/commit/fe411bec00f3ffbc55ee34c0fb563f4996b8c45b)), closes [AB#118658](https://github.com/AB/issues/118658)
13+
* file explorer widget ([#2796](https://github.com/ReliefApplications/ems-frontend/issues/2796)) ([3b9dd07](https://github.com/ReliefApplications/ems-frontend/commit/3b9dd07c029d1bda5efff1440813bc7255192790)), closes [AB#113709](https://github.com/AB/issues/113709)
14+
115
## [2.20.1-rc.2](https://github.com/ReliefApplications/ems-frontend/compare/v2.20.1-rc.1...v2.20.1-rc.2) (2025-05-21)
216

317

apps/back-office/src/app/application/pages/add-page/add-page.component.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ import { Dialog } from '@angular/cdk/dialog';
2121
/** Number of items per page */
2222
const ITEMS_PER_PAGE = 10;
2323
/** Widget types that can be used as single widget page */
24-
const SINGLE_WIDGET_PAGE_TYPES = ['grid', 'map', 'summaryCard', 'tabs'];
24+
const SINGLE_WIDGET_PAGE_TYPES = [
25+
'grid',
26+
'map',
27+
'summaryCard',
28+
'tabs',
29+
'file-explorer',
30+
];
2531

2632
/**
2733
* Add page component.

apps/back-office/src/environments/environment.azure.dev.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const environment: Environment = {
5151
'map',
5252
'summaryCard',
5353
'tabs',
54+
'file-explorer',
5455
],
5556
sentry: {
5657
environment: 'development',

apps/back-office/src/environments/environment.azure.prod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const environment: Environment = {
5151
'map',
5252
'summaryCard',
5353
'tabs',
54+
'file-explorer',
5455
],
5556
user: {
5657
attributes: ['country', 'region', 'location', 'department'],

apps/back-office/src/environments/environment.azure.uat.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const environment: Environment = {
5151
'map',
5252
'summaryCard',
5353
'tabs',
54+
'file-explorer',
5455
],
5556
user: {
5657
attributes: ['country', 'region', 'location', 'department'],

apps/back-office/src/environments/environment.local.uat.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AuthConfig } from 'angular-oauth2-oidc';
2-
import { theme } from '../themes/default/default.dev';
2+
import { theme } from '../themes/default/default.uat';
33
import { sharedEnvironment } from './environment.shared';
44
import { Environment } from './environment.type';
55

@@ -35,7 +35,7 @@ export const environment: Environment = {
3535
frontOfficeUri: 'https://hems-test.who.int/apps/',
3636
backOfficeUri: 'http://localhost:4200/',
3737
module: 'backoffice',
38-
availableLanguages: ['en'],
38+
availableLanguages: ['en', 'fr', 'test'],
3939
authConfig,
4040
esriApiKey:
4141
'AAPKf2bae9b3f32943e2a8d58b0b96ffea3fj8Vt8JYDt1omhzN_lONXPRHN8B89umU-pA9t7ze1rfCIiiEVXizYEiFRFiVrl6wg',
@@ -53,6 +53,7 @@ export const environment: Environment = {
5353
'map',
5454
'summaryCard',
5555
'tabs',
56+
'file-explorer',
5657
],
5758
user: {
5859
attributes: ['country', 'region', 'location', 'department'],

apps/web-widgets/src/app/widgets/app-widget/app-widget.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class AppWidgetComponent
140140
private logger: LoggerService,
141141
private csService: CommonServicesService
142142
) {
143-
console.log('DEBUG: 05/12/2025, v1');
143+
console.log('DEBUG: 2025090101');
144144
super(el, injector);
145145
this.shadowDomService.shadowRoot = el.nativeElement.shadowRoot;
146146

assets/file-explorer.svg

Lines changed: 1 addition & 0 deletions
Loading

libs/shared/.storybook/preview.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ import '@angular/localize/init';
22
import { setCompodocJson } from '@storybook/addon-docs/angular';
33
import docJson from '../documentation.json';
44
setCompodocJson(docJson);
5+
6+
// Add font awesome icons
7+
import { library } from '@fortawesome/fontawesome-svg-core';
8+
import { fas } from '@fortawesome/free-solid-svg-icons';
9+
import { fab } from '@fortawesome/free-brands-svg-icons';
10+
library.add(fas, fab);

libs/shared/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
This library was generated with [Nx](https://nx.dev).
44

5+
## Run storybook
6+
7+
`npx nx run shared:storybook`
8+
9+
## Lint
10+
11+
`npx nx run shared:lint`
12+
13+
## Generate new Angular files
14+
15+
Generate a new component:
16+
`npx nx g c components/<name> --project=shared`
17+
18+
Generate a new standalone component:
19+
`npx nx g c components/<name> --standalone true --project=shared`
20+
21+
Generate a service
22+
`npx nx g s services/<name>/<name> --project=shared`
23+
524
## Running unit tests
625

726
Run `nx test shared` to execute the unit tests.

0 commit comments

Comments
 (0)