Project

General

Profile

Actions

Task #439

closed

Eav order - change order from table (drag and drop)

Added by Filip Měšťánek over 7 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Low
Assignee:
Radek Tomiška
Category:
Eav
Target version:
Start date:
05/22/2017
Due date:
% Done:

100%

Estimated time:
Owner:

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

Related to IdStory Identity Manager - Task #344: Form attribute definition - OrderClosedRadek Tomiška03/24/2017

Actions
Actions #1

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.

Actions #2

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

Actions #3

Updated by Vít Švanda about 7 years ago

  • Target version deleted (Diamond (7.4.0))
Actions #4

Updated by Radek Tomiška over 6 years ago

  • Related to Task #344: Form attribute definition - Order added
Actions #5

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.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/1a748e1a80536b176a0f5f28181f385adf34269f#diff-1f1bb9af22bdc0d03df3e257450e62911225fa85236a6dc39c47d1903125f3c0

Could you provide me a feedback please?

Actions #6

Updated by Radek Tomiška about 4 years ago

  • Status changed from Needs feedback to In Progress
Actions #7

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.

Actions #8

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?

Actions #9

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).

Actions #10

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?

Actions #11

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.

Actions #12

Updated by Radek Tomiška about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF