Conversation
Add method to RuleFormulaControl to check if NC is user defined. Update OnDisplayContextSetFeatures in RuleFormulaSlice to display the set phonological features option only if the NC uses features and is not user-defined. Change-Id: Ifc34b73348ef37b49f064f8840d6ad6502dabfb9
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1051 +/- ##
=======================================
Coverage 36.43% 36.44%
=======================================
Files 1354 1354
Lines 295676 295692 +16
Branches 40223 40228 +5
=======================================
+ Hits 107742 107753 +11
+ Misses 158661 158660 -1
- Partials 29273 29279 +6
🚀 New features to boost your workflow:
|
- Handle case when NC has no name in default WS - Add check for if NC is FeatureBased Change-Id: Ie673bf1e936a3aee499e871fe73b27f4d57c2de8
|
I've had Devin review and have addressed all comments except the following:
The request in LT-22576 was specifically about the "Set Phonological Features" option, not about set variables. I don't know whether users would want set variables gated similarly as well. I wouldn't make this additional change unless users request it, or unless a human reviewer thinks it is needed. |
Change-Id: I92fd4373ed02bcdd66895acb149e01c5cd60190a
|
Unit tests to be added in a separate PR. Danny is kick-starting that for me using Claude (since I don't have a subscription yet), to get all the test set-up out of the way. |
thejambi
left a comment
There was a problem hiding this comment.
@thejambi reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on aror92).
Change-Id: I136b89652ff24e69310ba9189b8dea6594a68af6
thejambi
left a comment
There was a problem hiding this comment.
@thejambi reviewed 1 file and all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on aror92).
Add method to RuleFormulaControl to check if NC is user-defined.
Update OnDisplayContextSetFeatures in RuleFormulaSlice to display the set phonological features option only if the NC uses features and is not user-defined.
Note: currently there is no way to distinguish user-defined NCs from auto-generated NCs other than the class's name. When we make model changes, we plan to add a flag to track whether a NC is auto-generated, and then the check here can be modified.
This change is