Skip to content

Commit 86fb47a

Browse files
committed
Merge branch 'main' into fix/logs-pagination
2 parents 0b62a3f + b23d10c commit 86fb47a

189 files changed

Lines changed: 10501 additions & 13666 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ dist/
1818
.astro/
1919
.turbo/
2020
coverage/
21+
.angular/
2122

2223
# environment variables
2324
.env

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,13 @@ Any property preceded by `opt` is optional and can be omitted. For example, to o
294294
dfx canister call backend update_user_profile '(record { user_id = "${userId}"; username = opt "${username}"; })'
295295
```
296296

297+
Or to only upgrade a user to a reviewer:
298+
299+
```bash
300+
301+
dfx canister call backend update_user_profile '(record { user_id = "${userId}"; config = opt variant { reviewer = record {} } })'
302+
```
303+
297304
### Listing open proposals
298305

299306
To list open replica version management proposals:

angular.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@
7474
"builder": "@hadronous/ic-build-angular:dev-server",
7575
"configurations": {
7676
"production": {
77-
"buildTarget": "frontend:build:production"
77+
"buildTarget": "frontend:build:production",
78+
"hmr": false
7879
},
7980
"development": {
80-
"buildTarget": "frontend:build:development"
81+
"buildTarget": "frontend:build:development",
82+
"hmr": false
8183
}
8284
},
8385
"defaultConfiguration": "development"

dfx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"dfx": "0.21.0",
2+
"dfx": "0.24.3",
33
"output_env_file": ".env",
44
"version": 1,
55
"networks": {
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { BadgeComponent } from './badge.component';
4+
5+
describe('BadgeComponent', () => {
6+
let component: BadgeComponent;
7+
let fixture: ComponentFixture<BadgeComponent>;
8+
9+
beforeEach(async () => {
10+
await TestBed.configureTestingModule({
11+
imports: [BadgeComponent],
12+
}).compileComponents();
13+
14+
fixture = TestBed.createComponent(BadgeComponent);
15+
component = fixture.componentInstance;
16+
fixture.detectChanges();
17+
});
18+
19+
it('should create', () => {
20+
expect(component).toBeTruthy();
21+
});
22+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { ChangeDetectionStrategy, Component } from '@angular/core';
2+
3+
import { defineCustomElement } from '@cg/ui/dist/components/cg-badge';
4+
import { DefineCustomElement } from '../../define-custom-element';
5+
6+
@DefineCustomElement(defineCustomElement)
7+
@Component({
8+
selector: 'cg-badge',
9+
changeDetection: ChangeDetectionStrategy.OnPush,
10+
template: `<ng-content></ng-content>`,
11+
})
12+
export class BadgeComponent {}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './badge.component';

lib/angular-ui/src/lib/atoms/card/card.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import { DefineCustomElement } from '../../define-custom-element';
66
@DefineCustomElement(defineCustomElement)
77
@Component({
88
selector: 'cg-card',
9-
standalone: true,
109
changeDetection: ChangeDetectionStrategy.OnPush,
11-
template: `
12-
<ng-content />
13-
`,
10+
template: `<ng-content />`,
1411
})
1512
export class CardComponent {}

lib/angular-ui/src/lib/atoms/icon-btn/icon-btn.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import { DefineCustomElement } from '../../define-custom-element';
66
@DefineCustomElement(defineCustomElement)
77
@Component({
88
selector: 'cg-icon-btn',
9-
standalone: true,
109
changeDetection: ChangeDetectionStrategy.OnPush,
11-
template: `
12-
<ng-content />
13-
`,
10+
template: `<ng-content />`,
1411
})
1512
export class IconBtnComponent {}

lib/angular-ui/src/lib/atoms/icons/check-circle-icon/check-circle-icon.component.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import { DefineCustomElement } from '../../../define-custom-element';
66
@DefineCustomElement(defineCustomElement)
77
@Component({
88
selector: 'cg-check-circle-icon',
9-
standalone: true,
109
changeDetection: ChangeDetectionStrategy.OnPush,
11-
template: `
12-
<ng-content />
13-
`,
10+
template: `<ng-content />`,
1411
})
1512
export class CheckCircleIconComponent {}

0 commit comments

Comments
 (0)