Closed tiagofml closed 7 years ago
@Guelmisp The window is not translated to Portuguese.
@Guelmisp The translation problem must be addressed in issue #13.
@Guelmisp
1) The window size must be fixed with proper dimensions, without allowing resize. (630 x 290)
2) Update the visual feedback of the focus when user type a valid name. For example, if I type a valid name and press "Enter", the action of "OK" button will be performed (fine), but the visual feedback is wrong (it seems that the "Cancel" button has the focus)
3) Check the tab order
The rename window has a small problem in its interface, the buttons should be self containned in the layout, so it moves all together
The required changes were addressed by #20 pull request.
@Guelmisp Please check the following problems:
3) press "OK" - the model has the focus, but the Rename feature is disabled. Actually, it seems that the file does not have the focus, despite the visual feedback. The same problem happens when the window is opened and closed using "Cancel' (1) select a model, 2) press F2, 3) click "Cancel").
A suggestion to solve this is to not enable the "OK" button if the name remains the same. And remember and mantain the selection in the Project Explorer view.
Redesign the feature "Rename Model" (main interface)
Specification
User Storie
AS user, I WANT to rename a model SO THAT I can better organize the project. See other templates https://en.wikipedia.org/wiki/User_story.
General behavior
Preconditions: a model is selected (Project Explorer View) or opened (Editor) and it has a valid name. Postconditions: 1) the model (XML file) is updated with a valid new name, 2) the model script folder is updated with a valid new name. Rules / restrictions:
Basic Flow
Alternative Flow: user cancel the operation
N.1. User clicks on "Cancel" or "X" N.2. The "Rename Model" window is closed and the user returns to the main interface
Alternative Flow: name is invalid
3.1. User types an invalid name for the model. 3.2. A warning message is presented.
Alternative Flow: name already exists
3.1. User types a name of a model that already exists in the same project. 3.2. A warning message is presented.
GUI
Prototype
Guildelines
Messages and labels (english | portuguese)