Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISCT-97: Add UI style v4 #251

Merged
merged 42 commits into from
Nov 16, 2023
Merged

Conversation

AndyKIron
Copy link
Member

No description provided.

@AndyKIron AndyKIron requested a review from a team as a code owner November 5, 2023 10:55
@AndyKIron AndyKIron changed the base branch from master to release/6.x.x November 5, 2023 10:56
AndyKIron and others added 27 commits November 5, 2023 13:43
…book-foundation

 folder by version v3 and v4 as sub-folders
Remove section of icons from V4 root folder - they are from phosphor icons lib
@@ -37,6 +37,7 @@ export class IconDocsV2Component implements OnInit {

private getIcons$(): Observable<string[]> {
const iconNames$ = of(ICON_NAMES); // possible from API service
// const iconNames$ = of( Array(1000).fill('analytics') /*ICON_NAMES.filter(icon=>icon==='analytics')*/); // possible from API service
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@@ -56,35 +59,49 @@ export class SvgComponent implements AfterViewInit, OnDestroy {
}

ngAfterViewInit() {
this.loadSvg();
if (!this.requestedToLoad) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need this requestedToLoad ?

Copy link
Member Author

@AndyKIron AndyKIron Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because has 2 call for this.loadSvg();
One from ngAfterViewInit() - after element will be rendered, and also has in onPathChanged method.
But now we don't need it (http request now shared)

@AndyKIron AndyKIron merged commit ab13e0d into release/6.x.x Nov 16, 2023
4 checks passed
@AndyKIron AndyKIron deleted the feature/isct-97-ui-style-v4 branch November 16, 2023 13:53
@AndyKIron AndyKIron restored the feature/isct-97-ui-style-v4 branch December 6, 2023 13:26
@AndyKIron AndyKIron deleted the feature/isct-97-ui-style-v4 branch December 6, 2023 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants