Task #439
closedEav order - change order from table (drag and drop)
100%
Description
Imagine you have 30 eav attributes. Now you want to move the last one to front. You have to manually move all other attributes. Suggestions, which could improve managing the order:
If you set order and it is already taken, move all others by one. Same as java List.add(int index, E element)
Attributes created without specified order get MAX_ORDER + 1
Related issues
Updated by Radek Tomiška over 7 years ago
- Category set to Eav
- Assignee set to Radek Tomiška
- Priority changed from Normal to Low
- Target version set to Diamond (7.4.0)
I prefere to use some drag and drop functionality directly in table.
Updated by Filip Měšťánek over 7 years ago
Radek Tomiška wrote:
I prefere to use some drag and drop functionality directly in table.
Exactly. I wanted to write the same now
Updated by Vít Švanda about 7 years ago
- Target version deleted (
Diamond (7.4.0))
Updated by Radek Tomiška over 6 years ago
- Related to Task #344: Form attribute definition - Order added
Updated by Radek Tomiška about 4 years ago
- Subject changed from Eav order to Eav order - change order from table (drag and drop)
- Status changed from New to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- Target version set to 10.7.0
- % Done changed from 0 to 90
I've added library for support drag and drop feature in our devstack and integrated it with our tables.
New 'draggable' property is available for basic and advanced table and is used for form attributes in form definition.
Current (~ known) limitations:
- initialiaze order of attributes (e.g. when all attributes has order = 0) is not implemented.
- draggable table uses static row height.
- feature is not available in IE11- library uses css transition internally, which is not supported in IE.
Could you provide me a feedback please?
Updated by Radek Tomiška about 4 years ago
- Status changed from Needs feedback to In Progress
Updated by Radek Tomiška about 4 years ago
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 80
I will add order initialization.
Updated by Radek Tomiška about 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 80 to 90
I added initialization of remaining rows in table - order is preserved, even it's not initialized or is partialy initialized.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/bc17ec377a8ae181ee73ffbfcd82b649f77fb1ae
Could you provide me a feedback please?
Updated by Vít Švanda about 4 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Vít Švanda to Radek Tomiška
I did reivew and tested. This is awesome UX feature. Thanks for that.
I found one problem: I am not able drag first element and drop it as the last one (but only as penultimate).
Updated by Radek Tomiška about 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
Issue above occurs in Chrome only, fixed:
https://github.com/bcvsolutions/CzechIdMng/commit/8ab838eb654438d77c330b411742ac0a8ec029b1
Could you provide me a feedback again, please?
Updated by Vít Švanda about 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
Works nice, thanks for that.
Updated by Radek Tomiška about 4 years ago
- Status changed from Resolved to Closed