Skip to content

Refresh report row after embedded_block modal edit closes #869

@philayres

Description

@philayres

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

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

  1. The report row can be identified by its id attribute: report-item-{id}
  2. May need to re-run the report SQL for just that row, or use the JSON response data
  3. Consider using AJAX to fetch the updated row HTML
  4. May need to handle different show_as column types during refresh

Acceptance Criteria

  • After saving via embedded_block modal, the corresponding report row updates with new values
  • Works for both dynamic models and activity logs
  • Handles all column show_as types (url, embedded_block, choice_label, etc.)
  • No full page reload required

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions