TemaDeveloper / TemaDeveloper/personal_planner
feat(sections): Regenerate / re-adapt a section from the current profile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Size: M.
AI Studio (src/components/ai/ai-studio.tsx, /api/ai/update) lets users update a section by free-text prompt, but there's no "re-adapt this section to my profile as it is now" action that re-runs the facet→generation path for a single section.
Scope
Add a per-section "Regenerate from profile" action (with confirmation for sections that hold data). Bridges generation and reconciliation at the section level.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/components/ai/ai-studio.tsx and trace the existing section update flow through /api/ai/update. Then locate the current facet-to-generation path and determine how sections containing data are identified. Done means each section exposes a profile-regeneration action, data-bearing sections request confirmation, and the selected section is regenerated from the current profile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, react, typescript
- Domain
- ai, api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100