Project

General

Profile

Actions

Task #2472

closed

Create the wizard component

Added by Vít Švanda over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Systems
Target version:
Start date:
09/01/2020
Due date:
% Done:

100%

Estimated time:
Owner:
Actions #1

Updated by Vít Švanda over 3 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Vít Švanda over 3 years ago

  • % Done changed from 0 to 20

I working on POC for universal system wizard. I try to using existing components from react-router.

I think this way is possible, but I found some new obstacles. For example I cannot get wrapped instance from redux component.

Actions #3

Updated by Vít Švanda over 3 years ago

  • % Done changed from 20 to 60
Actions #4

Updated by Vít Švanda over 3 years ago

  • % Done changed from 60 to 70
  • Buttons form the step component can be added to wizard footer now.
  • Some steps were redesigned - new step only for one mapping was added and extra new one step for attributes.
Actions #5

Updated by Vít Švanda over 3 years ago

  • Implemented steps validation.
  • Help for every step can be added
  • Created dynamic localization for system wizard.
Actions #6

Updated by Vít Švanda over 3 years ago

  • Solved problem with bulk actions in wizard.
  • Extracted system wizard to new component.
  • Localization completed.
  • Improved schema steps (extracted buttons from subcomponent)
Actions #7

Updated by Vít Švanda over 3 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 70 to 90
  • Added readme and example for Basic.Wizard component.
  • Wizard's button showLoading is controlled by showLoading on steps component now.

Wizard component and wizard for system creation is in the develop now.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/7531a4b9190a67257e6fa0f64ebb0723f3ed9199

Actions #8

Updated by Radek Tomiška over 3 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Radek Tomiška to Vít Švanda

I did test and code review, it works, thx! I like it, its awesome feature with minimum copied code. I like steps validation with auto focus.

I found some minor notes:
- "onEnter" event doesn't work on forms (maybe hidden submit button will fix it, but lookout for filters - "onEnter" works properly there now)
- padding for tabs is missing below info alert bloc in synchronization step
- linter warnings are in code - SchemaObjectClasses, SystemMappings, SystemMappingDetail etc.
- the last step with success alert with large icon - we can redesign it together somehow, if you want (padding, margin, icon and button placement).

Actions #9

Updated by Vít Švanda over 3 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
Actions #10

Updated by Radek Tomiška over 3 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I did test and code review, it's nice, thx!

Actions #11

Updated by Radek Tomiška over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF