Skip to content

Commit be9344b

Browse files
committed
refactor(ui): restructure ui/ — split components/shared into primitives/widgets, colocate single-consumer components with their pages, remove 6 unused components, replace cross-layer relative imports with tsconfig aliases
1 parent 2eef3c1 commit be9344b

163 files changed

Lines changed: 33 additions & 1409 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.

projects/social_platform/src/app/ui/widgets/chat-card/chat-card.component.html renamed to projects/social_platform/src/app/ui/pages/chat/chat-card/chat-card.component.html

File renamed without changes.

projects/social_platform/src/app/ui/widgets/chat-card/chat-card.component.scss renamed to projects/social_platform/src/app/ui/pages/chat/chat-card/chat-card.component.scss

File renamed without changes.

projects/social_platform/src/app/ui/widgets/chat-card/chat-card.component.ts renamed to projects/social_platform/src/app/ui/pages/chat/chat-card/chat-card.component.ts

File renamed without changes.

projects/social_platform/src/app/ui/pages/chat/chat.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @format */
22

33
import { ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit } from "@angular/core";
4-
import { ChatCardComponent } from "@ui/widgets/chat-card/chat-card.component";
4+
import { ChatCardComponent } from "./chat-card/chat-card.component";
55
import { AsyncPipe } from "@angular/common";
66
import { BarComponent } from "@ui/primitives";
77
import { BackComponent } from "@uilib";

projects/social_platform/src/app/ui/primitives/circle-progress-bar/circle-progress-bar.component.html renamed to projects/social_platform/src/app/ui/pages/courses/detail/info/course-module-card/circle-progress-bar/circle-progress-bar.component.html

File renamed without changes.

projects/social_platform/src/app/ui/primitives/circle-progress-bar/circle-progress-bar.component.scss renamed to projects/social_platform/src/app/ui/pages/courses/detail/info/course-module-card/circle-progress-bar/circle-progress-bar.component.scss

File renamed without changes.

projects/social_platform/src/app/ui/primitives/circle-progress-bar/circle-progress-bar.component.spec.ts renamed to projects/social_platform/src/app/ui/pages/courses/detail/info/course-module-card/circle-progress-bar/circle-progress-bar.component.spec.ts

File renamed without changes.

projects/social_platform/src/app/ui/primitives/circle-progress-bar/circle-progress-bar.component.ts renamed to projects/social_platform/src/app/ui/pages/courses/detail/info/course-module-card/circle-progress-bar/circle-progress-bar.component.ts

File renamed without changes.

projects/social_platform/src/app/ui/widgets/course-module-card/course-module-card.component.html renamed to projects/social_platform/src/app/ui/pages/courses/detail/info/course-module-card/course-module-card.component.html

File renamed without changes.

projects/social_platform/src/app/ui/widgets/course-module-card/course-module-card.component.scss renamed to projects/social_platform/src/app/ui/pages/courses/detail/info/course-module-card/course-module-card.component.scss

File renamed without changes.

0 commit comments

Comments
 (0)