Commit Graph

1 Commits

Author SHA1 Message Date
Giuseppe Leo e10f19e54d
Implement CRD logic for SCC registration online (#14615)
* Create registration composable

* Add logic to create registration CRD schema and fetch resource with WS

* Convert Registration list to single element

* Updating logic with real case data

* Update UX to display also invalid registrations; Add Types; Update displayed values for the registration

* Update registration values given new specifications: expiration, product name

* Map condition errors from registration to banner

* Code cleanup, removed duplications

* Abstract date and time formatting as it's app standard; convert file to TS

* Add unit test for time

* Prevent logic to register without code; Reset values with null

* Corrent async button bug which has default error

* Move tests to isolate composable and ensure quality

* Abstract initialization

* Add tests and correct found issues

* Add loading status

* Separate data fetching and mapping; Pool registration till hash is changed

* Correct async button callback

* Add missing registration value assignment after refactoring

* Fix asyncbutton wordings and colors not matching standards

* Fix tests: import and fake times

* Fix issue with timezone testing in CI

* Catch namespace creation issue
2025-07-03 17:13:21 +02:00