From 9a33809f700fdc9c3127891cd5ec60a6436a31ad Mon Sep 17 00:00:00 2001 From: ahasani194 Date: Sun, 10 May 2026 14:54:53 +0330 Subject: [PATCH] update dockerfile --- AGENT.md | 10 ++++++++++ .../pos/modules/landing/components/goods.component.ts | 2 ++ 2 files changed, 12 insertions(+) diff --git a/AGENT.md b/AGENT.md index 37e9918..be795b8 100644 --- a/AGENT.md +++ b/AGENT.md @@ -18,8 +18,18 @@ - `default` tenant currently builds via `ng build` and outputs to `dist/production`. - `tis` tenant builds via `ng build --configuration tis` and outputs to `dist/tis`. +- `prebuild:tis` is tenant-scoped and should keep using scripts under `scripts/tis/*`. - Keep Docker `DIST_DIR` aligned with actual Angular output path. - Do not assume `default` Angular configuration is usable unless verified (it may reference missing replacements). +- Do not use Angular `fileReplacements` for static assets (`.png`, `.jpg`, etc.); use tenant public assets or prebuild copy scripts. + +## Tenant PWA Rules + +- Keep tenant manifest files under tenant public assets (e.g. `public-tis/favicon/site.webmanifest`). +- Ensure `manifest` `id`, `start_url`, and `scope` match actual deployment path: + - root deploy: `/` + - subpath deploy example: `/tis/` +- Keep `` path and branding config `manifestPath` aligned. ## Input Component Rules diff --git a/src/app/domains/pos/modules/landing/components/goods.component.ts b/src/app/domains/pos/modules/landing/components/goods.component.ts index 5371b39..bce90b4 100644 --- a/src/app/domains/pos/modules/landing/components/goods.component.ts +++ b/src/app/domains/pos/modules/landing/components/goods.component.ts @@ -69,6 +69,8 @@ export class PosGoodsComponent { addGood(good: IGoodResponse) { this.showPayloadForm.set(true); + console.log('good', good); + this.selectedGoodToAdd.set(good); }