Update frontend documentation to clarify development commands and add lifecycle management details#3225
Conversation
… lifecycle management details
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughFrontend documentation now uses ChangesFrontend documentation updates
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/frontend/development.md`:
- Around line 113-118: The frontend development docs mention changing the served
port via yarn dev:serve -p, but they do not say that Home Assistant’s
cors_allowed_origins must also include the matching origin when using a custom
port. Update the development.md guidance near the port example to tell readers
to add the frontend origin with the chosen port to cors_allowed_origins, and
reference the yarn dev:serve -p example so it’s clear the CORS setting must
match that port.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: ccf97311-c26d-48fb-aaf2-8f2f1da76054
📒 Files selected for processing (2)
docs/frontend/design.mddocs/frontend/development.md
Proposed change
Updates to the new development lifecycle scripts and workflows. Added a e2e testing section. Also cleans up some duplicated terminology
Related frontend PRs:
Type of change
Checklist
Additional information
Summary by CodeRabbit