Skip to content

Conversation

@MatiasArriola
Copy link
Contributor

📌 References

📝 Implementation

  • Rename titles in the MultiSelectors, and align them to the Selector boxes. Since the components don't support titles, a workaround was used styling from outside.
  • Add toggles
    • "Configure user dependencies" -> Include owner and sharing settings, Include users
    • "Configure organisation units dependencies" -> Include organisation units
  • The toggles will be disabled if default options are used (now defaults are include objects and references)
  • Disabling the toggles sets the options to the defaults.
  • Remove toggle for "Remove lastUpdated, lastUpdatedBy, created and createdBys".

TODO: confirm the removal of "Remove lastUpdated, lastUpdatedBy, created and createdBys". Also confirm if needed the remove the feature entirely and not just the UI.

📹 Screenshots/Screen capture

mdsync-selector-title
mdsync-dependencies-options.webm

…ector title

- Add toggles before showing the dependencies dropdowns, based on defaults
- Extract SynchronizationRule syncParamsDefaults for this purpose, and a useConfigureDependencies hook to handle toggles state and logic.
- Change titles for MultiSelectors, and align titles to each Select box
refactor was needed to include a single changeObjectsAndReferences callback instead of multiple separate calls, to avoid race conditions when updating one prop after another.
@bundlemon
Copy link

bundlemon bot commented Jul 31, 2025

BundleMon

No change in files bundle size

Groups updated (1)
Status Path Size Limits
Build Folder
./**/*
1.93MB (+256B +0.01%) +20%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

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.

2 participants