Skip to content
Snippets Groups Projects
Commit ee4a9002 authored by Ryan Senior's avatar Ryan Senior
Browse files

Add collection position reconcilliation to cards/dashboards/pulses

Anytime a new card/dashboard/pulse is created with a collection
position, or a card/dashboard/pulses has it's collection or collection
position updated, it's possible that other items in the collection
will need to have their collection position adjusted. This commit adds
a check to the PUT and POST routes of cards/dashboards/pulses to check
to see if the change impacts the position of other
cards/dashboards/pulses in the collection.

This also uses the same logic for the bulk card collection updates and
will adjust impacted cards as needed.
parent c96f0cca
Branches
Tags v0.12.0
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment