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

Broken Connectivity Error Page #820

Merged

Conversation

ralikio
Copy link
Member

@ralikio ralikio commented Aug 19, 2024

Description

The following PR contains changes coauthored with @MarekMichali that contains error page for broken API connectivity case.

Changes proposed in this pull request: details in commits list.

Related issue(s)

#442

If secrets was not loaded correctly use empty string to showcase it and hide Layout components to block any user action.
setLoading was not invoked correctly with false value when props contained incorrect values. Such implementation resulted in infinite loading indicator.
If mentioned IllustratedMessage is put inside of renderData method then ui5.Menu complains about calling `length` on undefined.
@ralikio ralikio added the kind/enhancement Categorizes issue or PR as related to modifying or improving an existing feature label Aug 19, 2024
@ralikio ralikio requested a review from a team as a code owner August 19, 2024 15:59
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 19, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label Aug 20, 2024
@ralikio ralikio merged commit 8c650f0 into kyma-project:sm-integration Aug 20, 2024
11 checks passed
szwedm pushed a commit that referenced this pull request Aug 21, 2024
* Conditional Rendering of Navigation and Router Outlet

If secrets was not loaded correctly use empty string to showcase it and hide Layout components to block any user action.

* Prevent Infinite Loader

setLoading was not invoked correctly with false value when props contained incorrect values. Such implementation resulted in infinite loading indicator.

* Removed Unnecessary Comments

* Move Error Message Outside of the renderData Method

If mentioned IllustratedMessage is put inside of renderData method then ui5.Menu complains about calling `length` on undefined.

* Moved loadSecrets to useEffect Method

* Expand Error Message to Occupy Full Parent Height
kyma-gopher-bot pushed a commit that referenced this pull request Aug 22, 2024
* Conditional Rendering of Navigation and Router Outlet

If secrets was not loaded correctly use empty string to showcase it and hide Layout components to block any user action.

* Prevent Infinite Loader

setLoading was not invoked correctly with false value when props contained incorrect values. Such implementation resulted in infinite loading indicator.

* Removed Unnecessary Comments

* Move Error Message Outside of the renderData Method

If mentioned IllustratedMessage is put inside of renderData method then ui5.Menu complains about calling `length` on undefined.

* Moved loadSecrets to useEffect Method

* Expand Error Message to Occupy Full Parent Height
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates the PR's author has signed the CLA. kind/enhancement Categorizes issue or PR as related to modifying or improving an existing feature lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants