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

feat: [LW-12136] enable setting logging level in the application #1681

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

greatertomi
Copy link
Contributor

@greatertomi greatertomi commented Jan 29, 2025

Checklist

  • JIRA - LW-12136
  • Proper tests implemented
  • Screenshots added.

Proposed solution

Explain how does this PR solves the problem stated in JIRA ticket.
You can also enumerate different alternatives considered while approaching this task.

Testing

Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met

Screenshots

Screenshot 2025-01-31 at 15 26 03

@greatertomi greatertomi force-pushed the feat/lw-12136-log-level-selection branch 2 times, most recently from ced48b3 to 002e672 Compare January 30, 2025 12:18
@greatertomi greatertomi changed the title feat: select log level within app feat: [LW-12136] enable setting logging level in the application Jan 30, 2025
@greatertomi greatertomi force-pushed the feat/lw-12136-log-level-selection branch from 002e672 to 5cb9603 Compare January 30, 2025 12:53
@pczeglik-iohk
Copy link
Contributor

pczeglik-iohk commented Jan 30, 2025

Allure Report

allure-report-publisher generated test report!

processReports: ✅ test report for ed97bfc9

passed failed skipped flaky total result
Total 33 0 4 0 37

@greatertomi greatertomi force-pushed the feat/lw-12136-log-level-selection branch 4 times, most recently from 3a9fd12 to cade8b8 Compare January 31, 2025 11:16
@greatertomi greatertomi marked this pull request as ready for review January 31, 2025 11:16
@greatertomi greatertomi requested a review from a team as a code owner January 31, 2025 11:16
@greatertomi greatertomi force-pushed the feat/lw-12136-log-level-selection branch from cade8b8 to 7854011 Compare January 31, 2025 11:37
Copy link

return (
<SettingsCard>
<Title level={5} className={styles.heading5} data-testid={'debugger-heading'}>
{t('browserView.settings.debugging.title')}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rhyslbw. The section title for the "Debugging" text

}
data-testid="settings-logging-level-section"
>
{t('browserView.settings.debugging.title')}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rhyslbw The settings title for the "Debugging" text. They use the same translation key as they are the same text.

@rhyslbw rhyslbw self-requested a review January 31, 2025 12:40
Copy link
Member

@rhyslbw rhyslbw left a comment

Choose a reason for hiding this comment

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

We don't need a whole section for debugging, just drop the toggle under Preferences and call it Debug logging, without a description.

@greatertomi greatertomi force-pushed the feat/lw-12136-log-level-selection branch from ed97bfc to 40a625d Compare January 31, 2025 14:28
@@ -279,6 +279,8 @@
"browserView.settings.preferences.title": "Preferences",
"browserView.settings.preferences.betaProgram.description": "Test out new features and help us improve the product experience",
"browserView.settings.preferences.betaProgram.title": "Beta Program",
"browserView.settings.preferences.debugging.title": "Debugging",
"browserView.settings.preferences.debugging.description": "Enable debugging logs in the console",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"browserView.settings.preferences.debugging.description": "Enable debugging logs in the console",
"browserView.settings.preferences.debugging.description": "Enable verbose console logging",

@greatertomi greatertomi requested a review from rhyslbw January 31, 2025 15:39
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.

4 participants