few fixes for GenericPromptEditor/GenericJsonEditor#1904
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: f68b847 The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
@claude --review and add changeset |
|
No docs changes detected. These are internal UI component layout fixes that don't affect user-facing documentation. |
There was a problem hiding this comment.
PR Review Summary
0 Key Findings | Risk: Low
🔴❗ Critical (0) ❗🔴
None.
🟠⚠️ Major (0) 🟠⚠️
None.
🟡 Minor (0) 🟡
None.
💭 Consider (0) 💭
None.
✅ APPROVE
Summary: Clean layout/styling fixes that align with existing codebase patterns. The changes correctly implement Pattern B (flex wrapper + inline-flex on FormLabel + ml-auto on actions) which is the established convention for form-integrated editor components. The customTemplate default to placeholder is a sensible API simplification. Ship it! 🚀
Discarded (2)
| Location | Issue | Reason Discarded |
|---|---|---|
generic-prompt-editor.tsx:63 |
Commented-out aria-labelledby code |
Pre-existing (not introduced by this PR), LOW confidence, and labeling is handled via FormControl slot pattern |
multi-file |
Layout pattern inconsistency between ExpandableField and Generic*Editor components | The codebase intentionally uses two complementary patterns: Pattern A (ExpandableField - lower-level abstraction with justify-between) and Pattern B (GenericFormEditor - higher-level, react-hook-form integrated with inline-flex + ml-auto). Both are valid and the PR correctly follows Pattern B. |
Reviewers (3)
| Reviewer | Returned | Main Findings | Consider | While You're Here | Inline Comments | Pending Recs | Discarded |
|---|---|---|---|---|---|---|---|
pr-review-standards |
0 | 0 | 0 | 0 | 0 | 0 | 0 |
pr-review-frontend |
1 | 0 | 0 | 0 | 0 | 0 | 1 |
pr-review-consistency |
1 | 0 | 0 | 0 | 0 | 0 | 1 |
| Total | 2 | 0 | 0 | 0 | 0 | 0 | 2 |
Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com>
There was a problem hiding this comment.
PR Review Summary (Delta)
0 Key Findings | Risk: Low
Delta Scope
This is a re-review scoped to changes since the previous review. The delta contains:
.changeset/polish-generic-components.md— Correctly formatted patch changeset for@inkeep/agents-manage-uigeneric-prompt-editor.tsx:35—uriprop made optional (uri?)
Analysis
The uri prop change is safe — the component already has fallback logic at line 39:
const $uri = props.uri ?? `${name}.template`;When uri is not provided, it defaults to using the field name as the template URI, which is the expected behavior for most use cases.
✅ APPROVE
Summary: Delta changes are trivial and safe. The changeset correctly documents the layout fixes, and making uri optional is a sensible API ergonomics improvement with proper fallback handling. 🚀
* few fixes for GenericPromptEditor/GenericJsonEditor * Add changeset for GenericPromptEditor/GenericJsonEditor layout fixes Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> * Update generic-prompt-editor.tsx --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com>
…1974) * updated test * added changeset * added tests * updated * tupecheck * few fixes for GenericPromptEditor/GenericJsonEditor (#1904) * few fixes for GenericPromptEditor/GenericJsonEditor * Add changeset for GenericPromptEditor/GenericJsonEditor layout fixes Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> * Update generic-prompt-editor.tsx --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> * local time for traces, end date only when agent is done running in traces (#1903) * local time for traces, end date when agent is done running * changeset * lint and claude comment * remove unneeded state * updated tests * updated * updated tests * made a single transaction * renamed function * updated * updated tool results to have the tool call id * added changeset * address spicedb comments * reverted bad changes * removed --------- Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> Co-authored-by: shagun-singh-inkeep <shagun.singh@inkeep.com> Co-authored-by: omar-inkeep <omar@inkeep.com>
…1974) * updated test * added changeset * added tests * updated * tupecheck * few fixes for GenericPromptEditor/GenericJsonEditor (#1904) * few fixes for GenericPromptEditor/GenericJsonEditor * Add changeset for GenericPromptEditor/GenericJsonEditor layout fixes Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> * Update generic-prompt-editor.tsx --------- Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> * local time for traces, end date only when agent is done running in traces (#1903) * local time for traces, end date when agent is done running * changeset * lint and claude comment * remove unneeded state * updated tests * updated * updated tests * made a single transaction * renamed function * updated * updated tool results to have the tool call id * added changeset * address spicedb comments * reverted bad changes * removed --------- Co-authored-by: Dimitri POSTOLOV <dmytropostolov@gmail.com> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <undefined@users.noreply.github.com> Co-authored-by: shagun-singh-inkeep <shagun.singh@inkeep.com> Co-authored-by: omar-inkeep <omar@inkeep.com>
No description provided.