[jboss-jira] [JBoss JIRA] (DROOLS-3439) Prevent selection of specific cells in Scenario Simulation

Klara Kufova (Jira) issues at jboss.org
Tue Apr 16 08:31:00 EDT 2019


    [ https://issues.jboss.org/browse/DROOLS-3439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723000#comment-13723000 ] 

Klara Kufova commented on DROOLS-3439:
--------------------------------------

[~gabriolo], this task is not really a blocker or something we *must* have. This is only a suggestion for improvement. If you disagree with the proposal, we don't have to implement this; everything will work just fine even without these changes. Here are my answers to your questions:

# Yes, exactly; if the user clicks on an unselectable cell when nothing was selected before, nothing should be selected. If a different cell was selected before, the originally selected cell should stay selected.
# Yes, if you use arrow keys to move to an unselectable cell, nothing should change (the previously selected cell should stay selected). This means that the table will have "borders" (cells that can be selected) and you cannot move outside the borders. Currently, the border is the whole table.
# It shouldn't be possible to "lose" your cursor; either a selectable cell is selected, or nothing is selected (just like it works now).
# No, I think we should change the default behavior; a first selectable cell should be selected by default: this would either be the scenario description of the first row or the INSTANCE 1 (based on what we decide).

Basically, this shouldn't introduce any major changes. Currently, the "selection borders" are at the same time the table borders. What I'm proposing is to only change the selection borders a little bit _inside_ the table.

> Prevent selection of specific cells in Scenario Simulation
> ----------------------------------------------------------
>
>                 Key: DROOLS-3439
>                 URL: https://issues.jboss.org/browse/DROOLS-3439
>             Project: Drools
>          Issue Type: Enhancement
>          Components: Scenario Simulation and Testing
>    Affects Versions: 7.16.0.Final
>            Reporter: Jozef Marko
>            Assignee: Gabriele Cardosi
>            Priority: Major
>              Labels: drools-tools
>         Attachments: table.png
>
>
> It would improve the user experience if some of the cells could not be selected at all; specifically cells #, Scenario description, GIVEN, EXPECT, and row numbers, as it should not be possible to change them anyway.
> This follows up keyboard shortcuts implemented as part of DROOLS-2932.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list