refactor: follow latest component naming

This commit is contained in:
kushal-saha 2026-04-24 11:52:45 +00:00
parent fa144db010
commit 9c070e0f5c
6 changed files with 17 additions and 4 deletions

11
.idea/laravel-idea.xml generated
View File

@ -6,7 +6,18 @@
</option>
</component>
<component name="LaravelIdeaMainSettings">
<option name="codeGeneration">
<LaravelCodeGeneration>
<option name="generationStringSettings">
<map>
<entry key="createEloquentScope:namespace" value="Models\Scopes" />
<entry key="createModel:namespace" value="Models" />
</map>
</option>
</LaravelCodeGeneration>
</option>
<option name="frameworkFound" value="true" />
<option name="laravelBasePath" value="backend" />
<option name="userClassName" value="\App\Models\User" />
</component>
</project>

2
.idea/neoban.iml generated
View File

@ -137,6 +137,8 @@
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/vlucas/phpdotenv" />
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/voku/portable-ascii" />
<excludeFolder url="file://$MODULE_DIR$/backend/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/backend/storage/app" />
<excludeFolder url="file://$MODULE_DIR$/backend/storage/framework" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />

View File

@ -3,6 +3,6 @@ import { Routes } from '@angular/router';
export const routes: Routes = [
{
path: '',
loadComponent: () => import('./chat/chat.component').then(m => m.ChatComponent)
loadComponent: () => import('./chat/chat').then(m => m.Chat)
}
];

View File

@ -7,10 +7,10 @@ import { ChatStore } from './chat.store';
selector: 'app-chat',
standalone: true,
imports: [CommonModule, ReactiveFormsModule],
templateUrl: './chat.component.html',
styleUrl: './chat.component.css'
templateUrl: './chat.html',
styleUrl: './chat.css'
})
export class ChatComponent {
export class Chat {
readonly chatStore = inject(ChatStore);
@ViewChild('scrollContainer') private scrollContainer!: ElementRef;