-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(developer): New Project - Description field and tweaks 🦕 #9950
feat(developer): New Project - Description field and tweaks 🦕 #9950
Conversation
Fixes #9869. Adds a 'Description' field, tweaks Copyright strings, and tweaks default content for documentation to the New Project wizards and kmconvert.
User Test ResultsTest specification and instructions
|
@@ -353,7 +361,8 @@ procedure TfrmNewProjectParameters.EnableControls; | |||
e := (Trim(editKeyboardName.Text) <> '') and | |||
(Trim(editPath.Text) <> '') and | |||
TKeyboardUtils.IsValidKeyboardID(Trim(editKeyboardID.Text), True) and | |||
(GetTargets <> []); | |||
(GetTargets <> []) and | |||
(Trim(memoDescription.Text) <> ''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking
(Trim(memoDescription.Text) <> ''); | |
(GetDescription <> ''); |
would be more DRY. But then it would involve changing the other ones, and then
I saw GetKeyboardID returns a Trim(LowerCase(editKeyboardID.Text)), so maybe nvm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Changes in this pull request will be available for download in Keyman version 17.0.211-alpha |
Fixes #9869.
Adds a 'Description' field, tweaks Copyright strings, and tweaks default content for documentation to the New Project wizards and kmconvert.
User Testing
TEST_NEW_KEYBOARD_PROJECT: Create a new keyboard project, and verify that the Description field is visible in the resulting README.md, readme.htm, welcome.htm, and in the Description field of the package. Check also that the Copyright string starts with the word 'Copyright'.
TEST_NEW_MODEL_PROJECT: Create a new lexical model project, and verify that the Description field is visible in the resulting README.md, readme.htm, welcome.htm, and in the Description field of the package. Check also that the Copyright string starts with the word 'Copyright'.