Bug #19667

FE - React - All model abstract bean class

Added by chok yee fan 9 months ago. Updated 9 months ago.

Status:ClosedStart date:06 February 2024
Priority:NormalDue date:
Assignee:chok yee fan% Done:

0%

Category:-Spent time:-
Target version:-

Description

issue
-----
Not all model class have to use abstract class.

expected
-----
all model class have to use abstract class, now only Organisation.tsx, Department.tsx not same with other.

rename the file name from
src/shared/model/index.tsx
to
src/shared/model/abstractModel.tsx

History

#1 Updated by Amirul Umar Pandai 9 months ago

  • Status changed from New to Resolved
  • Assignee changed from Amirul Umar Pandai to Hazimi Muhammad

Bug #19667:
- Rename */model/index.tsx to */model/abstractModel.tsx
- Apply abstract bean class to all classes
- Update fields for some types in *.tsx classes
- Update *.api.tsx files with missing types for defining builder.mutation
- Update *Form.tsx pages using new updated classes

https://dev.silverlakemobility.com/gitlab/mleb-solution-domain/smesd100/mleb-iam/-/commit/aab330afedb214f5d1ce9ec6e4cdceb15381d896

#2 Updated by Hazimi Muhammad 9 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Hazimi Muhammad to chok yee fan

1) Check for the file had been rename to */model/abstractModel.tsx
2) Check for all class the abstract bean had been add
3) Check for request payload for all module except for Organisation and Department

#3 Updated by chok yee fan 9 months ago

  • Status changed from Feedback to Closed

checked all using the abstract class

Also available in: Atom PDF