-
This is expected behavior. When you input '-', one suggestion entry suggests exclude the branch, and another suggests to match the branch with '-' (note bold '-' in this entry).
-
And If we then select the first my-docs, the '-' character disappears. However, if we select the second my-docs, the '-' character remains.
Does this behavior is expected too?
-
Previous Value Current Value Open
Closed
-
Yes. The first suggestion interpretes
-as trying to matchmy-docs, while the second interpretes-as excudingmy-docs. -
This explanation also makes sense, but this behavior will inevitably confuse users. Why does it still match when I clearly selected the exclude operator?
-
After all, users don’t understand the deeper principles behind this; they only find the final result quite confusing.
-
I think the priority of operators should be higher than matching.
-
Filed an improvement request OD-2236
-
Thank you for this
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
11.6.8
|
| Labels |
No labels
|
Scenario: 4 branches: main, my-docs, your-docs, and him-docs. When clicking Add Rule , click the Branch field, I can see that
When selecting '-' under the Branch field, I can see that my-docs appears twice, your-docs appears twice, and him-docs appears twice.
And If we then select the first my-docs, the '-' character disappears. However, if we select the second my-docs, the '-' character remains.