Skip to content

feat: add duplicate dashboard with all cards - #103

Merged
aalvaropc merged 1 commit into
mainfrom
feat/duplicate-dashboard
Apr 11, 2026
Merged

feat: add duplicate dashboard with all cards#103
aalvaropc merged 1 commit into
mainfrom
feat/duplicate-dashboard

Conversation

@aalvaropc

@aalvaropc aalvaropc commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • "Duplicate" button on dashboard show page toolbar
  • New duplicate_dashboard/2 in Dashboards context that clones dashboard + all cards in a transaction
  • Cloned dashboard gets title with " (copy)" suffix
  • Cards preserve type, config (span, filter_field, prefix/suffix), position, and saved_query_id
  • Navigates to the new dashboard after duplication

Test plan

  • mix precommit — 638 tests, 0 failures
  • Manual: click Duplicate on a dashboard with cards, verify new dashboard has all cards with same config

@aalvaropc
aalvaropc merged commit 330c83b into main Apr 11, 2026
2 checks passed
@aalvaropc
aalvaropc deleted the feat/duplicate-dashboard branch April 11, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant