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

[Hims] Add SPP connection [BrailleEdge] #16033

Merged
merged 12 commits into from
Jan 29, 2024
Merged

Conversation

EdKweon
Copy link
Contributor

@EdKweon EdKweon commented Jan 12, 2024

Link to issue number:

Summary of the issue:

Support for spp connection with a Braille Edge device.

Description of user facing changes

Support for all BrailleEdge devices NVDA's usb connection.

Description of development approach

Support for Braille Edge device SPP connection in the Hims display. Only BrailleEdge devices with changed hardware chips can connect to SPP(Not use Hims Driver). Original BrailleEdge should use Hims driver to connect.

Testing strategy:

How have you tested to ensure that your change works as intended?
yes.
Have you ensured testing coverage across all supported operating systems?
yes.
Have you considered possible regressions (related features or behaviours that may break)?
yes.

Known issues with pull request:

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@EdKweon EdKweon requested a review from a team as a code owner January 12, 2024 06:48
@EdKweon EdKweon requested a review from seanbudd January 12, 2024 06:48
Copy link
Collaborator

@LeonarddeR LeonarddeR left a comment

Choose a reason for hiding this comment

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

Could you please elaborate on how you tested this? I think this pr is not complete yet. You might need to add an extra model class and add it to the modelMap.

source/brailleDisplayDrivers/hims.py Outdated Show resolved Hide resolved
source/brailleDisplayDrivers/hims.py Outdated Show resolved Hide resolved
@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 12, 2024

Could you please elaborate on how you tested this? I think this pr is not complete yet. You might need to add an extra model class and add it to the modelMap.

First of all I'm sorry for not checking the code more accurately.
I tested that new device can get NVDA braille data in connectivity app. And check unit test using rununittests.bat.

I agree with you that new model class and that should be added in the modelMap. I'll add your feedback code. Any other things I should check?

@LeonarddeR
Copy link
Collaborator

Apart from the model map, I guess this is ok now.

@EdKweon EdKweon marked this pull request as ready for review January 16, 2024 03:37
@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 16, 2024

I added device to model map. Thank you for your review.

@AppVeyorBot
Copy link

See test results for failed build of commit cf7fc13e36

@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 16, 2024

I added blank line because of Lint error. I don't know why this happend. Please review my code.

@seanbudd
Copy link
Member

Hi @EdKweon,

It appears this code is just for internal testing for your organisation, rather than for wider NVDA users.
As such, I don't think we can merge this until it is a complete feature targeted at wider NVDA users.

If you need signed builds to test with, we are happy to create them - I've created a signed build from this PR - download.

You can also create your own self signed builds for testing if you don't want to wait on us.

Feel free to push further changes to this PR and ask us to create another signed build if you need to make any further changes for testing.
When this PR is ready for the public, feel free to mark it as ready for review to convert it from a draft.

Thanks,
Sean

@seanbudd seanbudd marked this pull request as draft January 17, 2024 02:17
@michaelDCurran
Copy link
Member

@EdKweon I think there is some confusion here. Could you please clarify if the BrailleEmotion is a real-world Braille display on the market, or it is just an emulated test device? If it is a real Braille display on the market, of course we will accept this PR.
If it is a device / emulator purely for testing, then we cannot take this code.
Apologies if we have miss-understood the intention of this PR.

@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 17, 2024

@michaelDCurran
This is a device that will actually be sold on the market. Of course, the code for that device may be PR with additional requirements and testing. It is not simply a device for testing.

@michaelDCurran michaelDCurran marked this pull request as ready for review January 17, 2024 05:47
@seanbudd seanbudd added the blocked/needs-product-decision A product decision needs to be made. Decisions about NVDA UX or supported use-cases. label Jan 22, 2024
@seanbudd seanbudd marked this pull request as draft January 22, 2024 23:05
@seanbudd seanbudd removed the blocked/needs-product-decision A product decision needs to be made. Decisions about NVDA UX or supported use-cases. label Jan 22, 2024
@seanbudd seanbudd changed the title [Hims] Add new device id for Testers [Hims] Add new device [device name?] Jan 22, 2024
@seanbudd
Copy link
Member

Thanks for more information, please let us know when testing is complete and the pull request is complete

@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 22, 2024

@seanbudd
I think first PR and test is complete.

@EdKweon EdKweon marked this pull request as ready for review January 22, 2024 23:28
@josephsl
Copy link
Collaborator

안녕하세요,

알겠습니다. 만약 시간이 있으시면 NVDA 한국 사용자들과 NVDA 개발 및 이 PR에 대해서 이야기를 나누어 보시면 좋겠다고 생각합니다(참고로 저는 미국에 있고 현재 대학원생이라 자세한 코드 리뷰는 해드릴 수 없지만). 도움이 되셨으면 합니다.

English: Got it. If you have time, I think it would be great to talk to Korean NVDA users about the screen reader devleopment process and this PR (I'm a graduate student in United States so can't review the PR in detail at the moment). Hope this helps.

Tanks.

@EdKweon EdKweon changed the title [Hims] Add new device [Braille eMotion] [Hims] Add SPP connection [BrailleEdge] Jan 24, 2024
@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 26, 2024

This may be misleading from what I said before. I will summarize the current situation in the article below. Currently, the device I am trying to add is almost same as the BrailleEdge product. However, hardware was little bit changed. So the product is connected to nvda via serial (not use Hims Driver). Therefore, there is no key to add or modify separately in the user_docs document.

Thanks for members.

@EdKweon EdKweon marked this pull request as ready for review January 26, 2024 12:31
Copy link
Member

@seanbudd seanbudd left a comment

Choose a reason for hiding this comment

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

Can you please also document this device in the user guide?

source/brailleDisplayDrivers/hims.py Outdated Show resolved Hide resolved
source/brailleDisplayDrivers/hims.py Outdated Show resolved Hide resolved
user_docs/en/changes.t2t Show resolved Hide resolved
user_docs/en/changes.t2t Outdated Show resolved Hide resolved
@seanbudd seanbudd marked this pull request as draft January 29, 2024 04:36
EdKweon and others added 4 commits January 29, 2024 13:44
okay.

Co-authored-by: Sean Budd <seanbudd123@gmail.com>
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
Co-authored-by: Sean Budd <seanbudd123@gmail.com>
add new line below new Features
@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 29, 2024

@seanbudd
There are no other keys to add or modify in user_guide. Because this is completely same with BrailleEdge except not using Hims driver(hardware chip replacement).

@seanbudd
Copy link
Member

seanbudd commented Jan 29, 2024

This adds support for a new braille device right - eMotion? We like to include all of the supported braille devices in the user guide.

@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 29, 2024

@seanbudd
What I said before was incorrect information. It's just a BrailleEdge not a new device Braille eMotion.

Copy link
Member

@seanbudd seanbudd left a comment

Choose a reason for hiding this comment

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

Thanks for explaining

@seanbudd seanbudd marked this pull request as ready for review January 29, 2024 05:50
@seanbudd
Copy link
Member

can you please update the PR description to be more accurate? thanks

@EdKweon
Copy link
Contributor Author

EdKweon commented Jan 29, 2024

@seanbudd
Thanks. I updated PR description.

@seanbudd
Copy link
Member

Great - when this is merged it will become available in NVDA alpha releases. As long as no major issues are found it will be in NVDA 2024.2

@AppVeyorBot
Copy link

See test results for failed build of commit 5527eaa9cf

@seanbudd seanbudd merged commit 61d99da into nvaccess:master Jan 29, 2024
1 check passed
@nvaccessAuto nvaccessAuto added this to the 2024.2 milestone Jan 29, 2024
@EdKweon EdKweon deleted the addNewDeviceId branch January 30, 2024 00:28
Nael-Sayegh pushed a commit to Nael-Sayegh/nvda that referenced this pull request Feb 15, 2024
Support for spp connection with a Braille Edge device.

Description of user facing changes
Support for all BrailleEdge devices NVDA's usb connection.

Description of development approach
Support for Braille Edge device SPP connection in the Hims display. Only BrailleEdge devices with changed hardware chips can connect to SPP(Not use Hims Driver). Original BrailleEdge should use Hims driver to connect.
SaschaCowley pushed a commit to SaschaCowley/nvda that referenced this pull request Feb 27, 2024
Support for spp connection with a Braille Edge device.

Description of user facing changes
Support for all BrailleEdge devices NVDA's usb connection.

Description of development approach
Support for Braille Edge device SPP connection in the Hims display. Only BrailleEdge devices with changed hardware chips can connect to SPP(Not use Hims Driver). Original BrailleEdge should use Hims driver to connect.
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
Support for spp connection with a Braille Edge device.

Description of user facing changes
Support for all BrailleEdge devices NVDA's usb connection.

Description of development approach
Support for Braille Edge device SPP connection in the Hims display. Only BrailleEdge devices with changed hardware chips can connect to SPP(Not use Hims Driver). Original BrailleEdge should use Hims driver to connect.
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.

None yet

7 participants