- Use React beautiful dnd library for servers list section

- The dnded servers list order can be sent for persistence now
- Removed the previous React DND and Html5 Backend libraries as it
is more lower level and hard to enable the drag indicator within AutoComplete
This commit is contained in:
Shemy Gan committed 2025-01-14 16:10:34 -05:00
1 parent b5409f0c0f
commit e8a9c0da36
10 files changed
+309 -285

No files matched your search

@@ -67,10 +67,12 @@ PasswordEndAdornment.propTypes = {
setFieldType: PropTypes.func,
};
export const ServerStartAdornment = () => {
export const ServerStartAdornment = (props) => {
return (
<InputAdornment position="start">
<ReorderRoundedIcon />
<Stack {...props.dragHandleProps}>
<ReorderRoundedIcon />
</Stack>
</InputAdornment>
);
};