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

Feature/lazy-loading #31

Merged
merged 18 commits into from
May 19, 2023
Merged

Feature/lazy-loading #31

merged 18 commits into from
May 19, 2023

Conversation

petrKavulok
Copy link
Contributor

@petrKavulok petrKavulok commented Apr 27, 2023

### in this PR

  • lazy loading of all containers in SC-Admin-UI enabled
  • removed obsolete code for retrieving usernames in detail screen. This functionality was substituted with<Credentials />component

TODO:

  • ASAB UI submodule update after merge

@petrKavulok petrKavulok self-assigned this Apr 27, 2023
@petrKavulok petrKavulok requested review from Pe5h4 and removed request for Pe5h4 May 3, 2023 10:45
@petrKavulok petrKavulok marked this pull request as ready for review May 3, 2023 13:33
@petrKavulok petrKavulok requested a review from Pe5h4 May 5, 2023 07:50
Copy link
Collaborator

@Pe5h4 Pe5h4 left a comment

Choose a reason for hiding this comment

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

@petrKavulok Has it been tested properly? I have a feeling, that some containers was not working properly with lazy loading (not sure if it was resources or roles or some other...)

@@ -38,8 +38,6 @@ function TenantDetailContainer(props) {
const [page, setPage] = useState(1);
const [filter, setFilter] = useState("");
const limit = 10;
const [username, setUsername] = useState();
Copy link
Collaborator

Choose a reason for hiding this comment

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

@petrKavulok Ok, why were those items removed and why it is not in changelog or at least in the description of this PR then? Its very hard to distinguish from reviewers point of view, why this change has been made without any context .

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed it because I noticed that this functionality was already taken care of by the <Credentials /> component. I should have made a separate PR for that. Sorry, next time I'll separate it to two PRs

@petrKavulok
Copy link
Contributor Author

jj, it was. I also remember some of the containers not working, but I have not encountered any funny behaviour while testing

@petrKavulok petrKavulok requested a review from Pe5h4 May 12, 2023 07:45
@@ -38,8 +38,6 @@ function TenantDetailContainer(props) {
const [page, setPage] = useState(1);
const [filter, setFilter] = useState("");
const limit = 10;
const [username, setUsername] = useState();
Copy link
Collaborator

Choose a reason for hiding this comment

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

@petrKavulok PLease add the information about what has been removed and why to the changelog please :)

@petrKavulok petrKavulok requested a review from Pe5h4 May 18, 2023 13:01
Copy link
Collaborator

@Pe5h4 Pe5h4 left a comment

Choose a reason for hiding this comment

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

Looks good

@petrKavulok petrKavulok merged commit 1cd89e0 into main May 19, 2023
@petrKavulok petrKavulok deleted the feature/lazy-loading branch May 19, 2023 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants