feat: goals navigation + UX improvements
Deploy Development / deploy (push) Successful in 44s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

Analysis Page:
- Add 'Ziele' button next to page title
- Direct navigation to /goals from analysis page
- Thematic link: goals influence AI analysis weighting

Goals Page:
- Fix text-align for text inputs (name, date, description)
- Text fields now left-aligned (numbers remain right-aligned)
- Better UX for non-numeric inputs

Navigation strategy: Goals accessible from Analysis page where
goal_mode directly impacts score calculation and interpretation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 4.6 committed 2026-03-26 16:50:22 +01:00
1 parent 75f0a5dd6e
commit 5be52bcfeb
2 files changed
+16 -5

No files matched your search

+3 -3
View File
@@ -509,7 +509,7 @@ export default function GoalsPage() {
<input
type="text"
className="form-input"
style={{ width: '100%' }}
style={{ width: '100%', textAlign: 'left' }}
value={formData.name}
onChange={e => setFormData(f => ({ ...f, name: e.target.value }))}
placeholder="z.B. Sommerfigur 2026"
@@ -572,7 +572,7 @@ export default function GoalsPage() {
<input
type="date"
className="form-input"
style={{ width: '100%' }}
style={{ width: '100%', textAlign: 'left' }}
value={formData.target_date}
onChange={e => setFormData(f => ({ ...f, target_date: e.target.value }))}
/>
@@ -591,7 +591,7 @@ export default function GoalsPage() {
</label>
<textarea
className="form-input"
style={{ width: '100%', minHeight: 80 }}
style={{ width: '100%', minHeight: 80, textAlign: 'left' }}
value={formData.description}
onChange={e => setFormData(f => ({ ...f, description: e.target.value }))}
rows={3}