Re: StationPlaylist 20.07 released, sneak preview of 20.09, the next long-term support release #addonrelease
toggle quoted messageShow quoted text
For other add-on authors: essentially, I’m aligning SPL add-on source code with that of NVDA Core when it comes to table navigation commands. This does involve looking at latest NVDA source code, specifically the code responsible for implementing a base class in hopes of reducing duplication and opening up possibilities (in my case, fake row behavior class).
The inspiration behind this exercise is Task Manager and how details view can be navigated via touch. On any table (provided that NVDA recognizes it as one), when you perform one finger flick left or right, NVDA will move inside the table row, letting you explore columns. I then realized that SPL ad-on does not comply with this approach even though NVDA is told to recognize certain StationPlaylist elements as a table. Looking at the add-on code also helped me realize that I need to refactor the entire add-on source code as a whole to make it align better with NVDA and Python best practices.
I don’t expect everyone to go through this exercise with their add-ons all the time – just something to try if you have time and willingness to do so.
A tip for anyone wishing to package parts or the entire add-on as NVDA pull requests: think about features your add-on is implementing, then look at the actual source code behind the function/class your are using in your add-ons. Then create a new branch in whatever version control package you are using (Git, for example), then work on refactoring your add-on based on what NVDA says in source code. Doing so will let you know parts of your add-on that needs to be refactored, and in some cases, opening up more refactoring possibilities. As I mentioned a few days ago, when it comes to NVDA pull requests, you need to follow practices established by NV Access, which is more rigorous than community add-ons (as promised, I’ll start a brand new thread concerning transforming add-ons into NVDA pull requests).
From: email@example.com <firstname.lastname@example.org> On Behalf Of Joseph Lee via groups.io
Sent: Tuesday, June 30, 2020 12:06 PM
Subject: [nvda-addons] StationPlaylist 20.07 released, sneak preview of 20.09, the next long-term support release #AddonRelease
StationPlaylist add-on 20.07 (stable) is now available. This version includes bug fixes and changes that will be utilized fully in future add-on releases. In addition, you can now press Control+F9 from SPL encoder window to connect all encoders. As always, the new add-on update is just an add-on update check away.
IMPORTANT: if you are using SAM or SPL encoders, the command to label encoder labels (F12) is gone as of this release. To label encoders, press Alt+NVDA+number row 0 to open encoder settings, and enter the label from “encoder label” field and click OK.
Speaking of future add-on releases, you’ll see two notable releases in the next few months:
In addition to being the next long-term support release, another job of 20.09 will be showcasing refactored add-on internals. Until now various add-on features such as moving between columns in playlist items in Studio and Track Tool didn’t really move to next or previous columns – the add-on only announced column content. Subsequent tests found that this mechanism didn’t allow the add-on to be used by low vision users, and the internals didn’t quite align with how NVDA manages to navigate tables. There are also parts of the add-on that didn’t quite fit Python coding best practices.
The goal of upcoming 20.09 release is to resolve these issues and more. To give you a preview of what’s being done:
If you want to test preview features, subscribe to development channel (NVDA menu/Preferences/Settings/Add-on Updater/Prefer development releases). Note that development snapshots might be unstable at times.