-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
When using embedded_block in a report to open and edit a record in a modal dialog, the report table row should be refreshed to show the updated data after the modal closes.
Related Issue
This is a follow-up to #325 (Allow embedded_block in report to use a URL with /edit).
Current Behavior
- User clicks an
embedded_blocklink in a report table to open a record in a modal - User edits and saves the record
- Modal closes (after implementing Allow embedded_block in report to use a URL with /edit #325)
- Report table row still shows the old data
Expected Behavior
- After successful save and modal close, the corresponding row in the report table should be refreshed to display the updated values
Technical Considerations
- The report row can be identified by its
idattribute:report-item-{id} - May need to re-run the report SQL for just that row, or use the JSON response data
- Consider using AJAX to fetch the updated row HTML
- May need to handle different
show_ascolumn types during refresh
Acceptance Criteria
- After saving via
embedded_blockmodal, the corresponding report row updates with new values - Works for both dynamic models and activity logs
- Handles all column
show_astypes (url, embedded_block, choice_label, etc.) - No full page reload required
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request