Open danyill opened 1 year ago
@ca-d I have done some refactoring as we discussed and I'm hoping you're available to do some initial review and discussion about this plugin. Hopefully the above thoughts are helpful.
Also:
Here is an example file which is not terribly performant with this plugin:
Regarding https://github.com/openscd/open-scd/issues/1088, I am now quite happy with https://github.com/danyill/oscd-subscriber-lb-siemens except that I think further abstraction of the class method for subscribeand unsubscribe is necessarily for the oscd-subscriber-later-binding
plugin to be readily mocked for tests. I'm hoping to do that in scl-lib
.
removeSubscriptionSupervision
is this PRA great deal of the core functionality has been moved into scl-lib which will have improved the basic test coverage no end.
Quite a lot of further abstraction would be possible on the UI side. Some of which has been done by @JakobVogelsang at least to a prototype stage (to allow improved search/cascading hierarchies without very verbose use of mwc-list
and mwc-list-item
).
The test approach is becoming unwieldy at the same time as the plugin is "good enough" for immediate needs.
I'm fairly confident no review is on the way so I'll de-milestone this for now.
I'm sorry this got so lost in the mists of other ongoing development. After our development work on other plugins last year, I currently view work on open-scd-core performance (regarding memory use) and features as more valuable than review on any existing plugins. Do you agree?
Yes, for sure 👍
On Tue, 2 Apr 2024, 22:10 cad, @.***> wrote:
I'm sorry this got so lost in the mists of other ongoing development. After our development work on other plugins last year, I currently view work on open-scd-core performance (regarding memory use) and features as more valuable than review on any existing plugins. Do you agree?
— Reply to this email directly, view it on GitHub https://github.com/danyill/oscd-subscriber-later-binding/issues/27#issuecomment-2031469719, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFEXX3OI75LKF6MYLIMDFDY3JYWXAVCNFSM6AAAAAAZ27FUIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZRGQ3DSNZRHE . You are receiving this because you authored the thread.Message ID: @.***>
This plugin is now ready for initial review.
It was initially started to resolve https://github.com/openscd/open-scd/issues/1025 but ended up being a (the first non-trivial) plugin to be refactored as an OpenSCD core plugin and the first plugin to depend on scl-lib
I don't have enough distance from this code to know where to make improvements and what to do next.
I think the subscriber view is visually cluttered (and would like to improve it but perhaps not for the first release?) and that putting the basic type and CDC on a tooltip wasn't a good design choice (better would have been mock up in https://github.com/openscd/open-scd/issues/1059).
I would like to transition this to the
open-scd
organisation and would be happy to maintain it there. As I see it a few things need to happen before this can occur:vX.Y
tag) or just on request?I would also like to:
oscd-tree-grid
)This review should not be rushed from my point of view and I will be pleased to make changes on request, here are some factors to think about in terms of what this plugin provides and timeframes:
Ideally we'd decide after review which changes should be issues for later digestion and which should be done immediately.
After this is incorporated in open-scd, I'm keen to prototype https://github.com/openscd/open-scd/issues/1088 and I hope this plugin has been designed to allow that to happen smoothly.