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

Add new features in config editor #413

Merged
merged 14 commits into from
Nov 5, 2024

Conversation

kanechen66
Copy link
Contributor

@kanechen66 kanechen66 commented Oct 25, 2024

Description

In this PR, we added the below new features in config editor

  1. UI menu to read/write variable from SUT in runtime
  2. UI menu to delete variable listed in platformcfg.xml on SUT in runtime
  3. UI to show, admin mode, manufacturing mode and mfci policy on the lower right side
  4. Status box show log output from config editor so that user can know what vl or xml file is loaded
    image

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

We tested on real SUT and verify each function we added.
<Describe the test(s) that were run to verify the changes.>

Integration Instructions

<Describe how these changes should be integrated. Use N/A if nothing is required.>
N/A

This commit provides ability to read/write variable from SUT
directly. This helps users to read/write variable conveniently.
@github-actions github-actions bot added language:python Pull requests that update Python code impact:non-functional Does not have a functional impact impact:testing Affects testing labels Oct 25, 2024
@kanechen66 kanechen66 force-pushed the add_new_features_config_editor branch 3 times, most recently from 98de4a1 to 3c7275e Compare October 25, 2024 08:06
@kanechen66 kanechen66 marked this pull request as draft October 25, 2024 08:37
@kanechen66 kanechen66 force-pushed the add_new_features_config_editor branch 2 times, most recently from 6dedf4c to f6e8fc2 Compare October 25, 2024 15:16
@kanechen66 kanechen66 force-pushed the add_new_features_config_editor branch 2 times, most recently from 0a1ef0a to 7beb6fe Compare October 28, 2024 06:00
… in status canvas. Added seperators to menu to group items so commands that are linked are more clearly visible.
@kanechen66 kanechen66 force-pushed the add_new_features_config_editor branch from 7beb6fe to 8500345 Compare October 28, 2024 07:09
@kanechen66 kanechen66 marked this pull request as ready for review October 29, 2024 09:27
@kanechen66
Copy link
Contributor Author

@apop5
Hi Aaron
pls help to review.
thank you :)

@kanechen66
Copy link
Contributor Author

hi all,
Do you have any feedback for this PR?
thanks

1. show variable menu only in admin mode
2. show error log in status box if var is not del successfully
@kanechen66 kanechen66 force-pushed the add_new_features_config_editor branch from 7c99ccc to d8aba79 Compare November 5, 2024 02:38
@kanechen66
Copy link
Contributor Author

@kanechen66 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

@kanechen66
Copy link
Contributor Author

hi all
I've addressed the comments. Also do a small tweak in UI when config var is empty in d8aba79
thank you :)

@apop5
Copy link
Contributor

apop5 commented Nov 5, 2024

It looked good in the testing of the latest.

@apop5 apop5 merged commit d4dcb4d into microsoft:main Nov 5, 2024
12 checks passed
apop5 pushed a commit that referenced this pull request Nov 8, 2024
## Description

There is an unnecessary argument -x in the
`WriteConfVarListToUefiVars.py` script in PR #413


- [x] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?

## How This Was Tested
python WriteConfVarListToUefiVars.py -l test.vl and it doesn't require
-x arg

## Integration Instructions
N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact impact:testing Affects testing language:python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants