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

Webui: Fix for adding report for JS bugs #5264

Merged

Conversation

adamkankovsky
Copy link
Contributor

@adamkankovsky adamkankovsky commented Oct 18, 2023

To display error reporting for JS bugs, the content that creates the error must be hidden, so the page cannot be displayed in the background.

Fix for PR: #5225 (comment)

</WithDialogs>
</AddressContext.Provider>
</Page>)
: (<Page>{null}</Page>)}
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks pretty weird. Please put the Page wrapper to have child the 'Critical Error' component. Then put this condition to the rest of the children.

Copy link
Contributor

@KKoukiou KKoukiou left a comment

Choose a reason for hiding this comment

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

Nice. Please a note for next time; prefix should be 'webui: ' (See all lowercase). I documented it today for starting to be consistent among contributors.

Copy link
Contributor

@KKoukiou KKoukiou left a comment

Choose a reason for hiding this comment

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

Also next time please explain what the fix is. THe commit message should be more descriptive.

@KKoukiou
Copy link
Contributor

/kickstart-test --waive webui only

@KKoukiou KKoukiou merged commit cc92679 into rhinstaller:master Oct 19, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants