TemaDeveloper / TemaDeveloper/personal_planner

feat(sections): Regenerate / re-adapt a section from the current profile

Open
#54 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.