Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nephio network editor. Configurable editor fixes and performance enhancement. #75

Merged
merged 19 commits into from
Dec 3, 2024

Conversation

kamilmadejek
Copy link
Collaborator

@kamilmadejek kamilmadejek commented Nov 29, 2024

This PR introduces multiple improvements to the configurable editor component which make it feasible for implementation of editors for complex, multi-level Kubernetes resources.

  • State management has been reworked with UI performance in mind. Unneeded re-renders of components are no longer making complex UIs slow.
  • Better support for multiple nested rosters by improving handling of roster items which are objects or lists themselves.

Also, several suites of integration tests have been created for the configurable editor.


The aforementioned improvements to the configurable editor have been utilized in the creation of editor for Nephio Network resource, which is a example of a complex object with several levels of nested data.

The implementation of Network editor also showcases limitation of the current editor UI. Its ineffective use of available space and handling of nested data provides poor legibility and user experience, especially when complex resources are concerned. Next PRs will be focused on the redesign effort.

Testing (on uitests environment, credentials available per request):


image

Copy link

nephio-prow bot commented Nov 29, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kamilmadejek kamilmadejek self-assigned this Nov 29, 2024
@kamilmadejek kamilmadejek marked this pull request as ready for review December 3, 2024 09:40
@nephio-prow nephio-prow bot requested a review from s3wong December 3, 2024 09:40
Copy link
Member

@liamfallon liamfallon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

Copy link

nephio-prow bot commented Dec 3, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kamilmadejek, liamfallon

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@nephio-prow nephio-prow bot added the approved label Dec 3, 2024
@nephio-prow nephio-prow bot merged commit 5651b39 into nephio-project:main Dec 3, 2024
9 checks passed
@kamilmadejek kamilmadejek deleted the nephio-network-editor branch December 3, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants