Add agent instructions and form-porting guide#72
Open
nllong wants to merge 1 commit into
Open
Conversation
Add a starting point for agents porting legacy AngularJS screens into this app, to keep output consistent and reduce churn: - .github/copilot-instructions.md: auto-loaded router pointing to DEVELOPER.md and the porting guide, listing canonical examples and non-negotiables (standalone + MaterialImports, reactive forms, @seed service pattern, SnackBar/Error services, Transloco, routing/nav, and the pnpm lint + build gate). - docs/porting-forms.md: step-by-step recipe (legacy fetch, canonical examples, reusable integration points, component/modal skeletons, validation + save flow, routing/nav, Transloco + Lokalise workflow, definition of done, and a PR checklist). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a consistent starting point for the many agents porting legacy AngularJS screens/forms into this Angular app, to reduce churn and rediscovery.
.github/copilot-instructions.md— auto-loaded by Copilot CLI / coding agents. A short router that points toDEVELOPER.mdand the porting guide, names canonical example components, and lists the non-negotiables: standalone components +MaterialImports, reactive forms, the@seed/apiservice pattern,SnackBarService/ErrorService, Transloco, routing/nav wiring, and thepnpm lint+pnpm buildgate.docs/porting-forms.md— the detailed recipe: fetching the legacy source, a canonical-examples table, the reusable integration points (which service exposes cycles/columns/access levels/profiles), full-page and modal component skeletons, the validation + save flow, routing/navigation, the Transloco + Lokalise workflow (Lokalise is the source of truth;update-translationsonly pulls), a definition of done with the common lint gotchas, and a copy-into-PR checklist.Docs-only; no code or build impact. Split out from the Create Inventory form PR (#71), which serves as the golden full-page-form example referenced by the guide.