-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-3316] Feature addition - Toggle Hardware Acceleration [Desktop] #5968
Conversation
Needs to be tested before creating a PR...
Thank you for your contribution! We've added this to our internal Community PR board for review. |
No New Or Fixed Issues Found |
Requesting @djsmith85 and @Hinton for PR review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed
What does "EnforceLabel : Expected -- Waiting for status to be reported" even mean? It's been waiting since I've opened the PR... Is there something I need to do to get through it? |
@prithvi2k2: This is just job of the build-pipeline (checking for specific labels). Everything required by you has been checked and your contribution has been passed on to review by the product team. |
Thank you for the confirmation @djsmith85 |
Hello @djsmith85 , it's been a long wait for review... I don't mind if it takes even longer as I know how busy the team can get involved in other priority tasks, but is there any chance this PR can be considered for hacktoberfest by adding a |
@prithvi2k2 I have passed the feedback onto the product team, which is reviewing your contribution. |
Hello @prithvi2k2! We are interested in pursuing adding this feature to our desktop application. Is this something you would still be willing to work with us at this time to include? |
Hello @trmartin4 , Please suggest any necessary changes if needed... I'm still willing to work on it and get it merged to be a part of Bitwarden Developer Community |
It's been several months since this pull request was submitted, and I've updated my forked branch with the latest changes from the Bitwarden main branch. I would highly appreciate it if you could take a moment to review my updates |
Thank you! We're going to have a review from our design team to make sure there are no adjustments to the UI necessary, and then we'll progress the change through our internal PR review and QA. |
# Conflicts: # apps/desktop/src/main.ts
Hi @prithvi2k2, I refactored the state to use the new state provider framework since we've deprecated the old state services and don't want to write migrations for new code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these review comments are part of the changes @Hinton made.
This was handed off to QA yesterday and is currently scheduled to be tested in the near future. |
# Conflicts: # apps/desktop/src/app/accounts/settings.component.ts
Type of change
Objective
Added a toggle for disabling/enabling hardware acceleration (enabled by default) on Desktop client - Addresses Issue #2615
Code changes
apps/desktop/src/
app/accounts/settings.component.html
: Added checkbox-type form group for toggling featureapp/accounts/settings.component.ts
: Updates state of checkbox for the feature on changelocales/en/messages.json
: Added title and description for the feature settingmain.ts
: On (re)start of application, disables hardware acceleration if turned offlibs/common/src/platform/
services/state.service.ts
: Getter/setter of booleanenableHardwareAcceleration
abstractions/state.service.ts
: Getter/setter declarationsmodels/domain/global-state.ts
: Global state boolean variable declarationDiscussion at PR #2896 by @evelez7 and @Hinton helped me immensely in quickly understanding the requirements.
Screenshots