Skip to content
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

fix(developer): Project upgrade messages now show in Messages panel 🦕 #9969

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Nov 8, 2023

Relates to #9948.

Having the project upgrade messages in the Messages panel means that users can refer to them as they clean up their projects to bring them into the v17 format.

Project.Upgrade.Workflow.mp4

(Note near the end of the video: the lingering messages in the messages window are now cleared.)

User Testing

TEST_UPGRADE: Try to upgrade a project to v17 format -- choose a project that has files from various locations, and observe the messages presented during upgrade. Remove the files that are not in the right folder, and then run the upgrade again. The upgrade should succeed and the Upgrade warning message should disappear.

Relates to #9948.

Having the project upgrade messages in the Messages panel means that
users can refer to them as they clean up their projects to bring them
into the v17 format.
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Nov 8, 2023

User Test Results

Test specification and instructions

  • TEST_UPGRADE (PASSED): Tested with the attached PR build (Keyman Developer 17.0.204-alpha-test-9969) on Windows 10 OS and Windows 11 OS (VM) and here is my observation: 1. Some project does not open, since it is showing some warning message on Windows 10 OS. 2. Some projects opened and I could see the 'Upgrade project' button. 3. Clicking on this would open another 'Confirm' message dialog. 4. Clicking on the 'Yes' button would upgrade the project. 5. Some project does not open since it shows some error message like 'The process cannot access the file...' on the screen. However, the Upgrade Project is normally working fine. I have attached the screenshot for reference. (notes)

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot added the user-test-required User tests have not been completed label Nov 8, 2023
@keymanapp-test-bot keymanapp-test-bot bot added this to the A17S25 milestone Nov 8, 2023
@github-actions github-actions bot added the fix label Nov 8, 2023
Project.Log(plsError, Project.FileName, msg, 0, 0);
end;
MessageDlg('Some issues must be addressed before the current project can '+
'be upgraded to Keyman Developer 17 format. '+
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l.61 calls it "Keyman Developer 17.0 format".
Do we future-proof with Keyman Developer 17.0+ ....?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it but I think it's a Developer 17 file format and 18 may have a new format. I'm okay with keeping it as is 😁

@bharanidharanj
Copy link

Test Results

  • TEST_UPGRADE (PASSED): Tested with the attached PR build (Keyman Developer 17.0.204-alpha-test-9969) on Windows 10 OS and Windows 11 OS (VM) and here is my observation: 1. Some project does not open, since it is showing some warning message on Windows 10 OS. 2. Some projects opened and I could see the 'Upgrade project' button. 3. Clicking on this would open another 'Confirm' message dialog. 4. Clicking on the 'Yes' button would upgrade the project. 5. Some project does not open since it shows some error message like 'The process cannot access the file...' on the screen. However, the Upgrade Project is normally working fine. I have attached the screenshot for reference.

..Upgrade project msg1

..Upgrade project msg2

..Upgrade project msg3

@keymanapp-test-bot keymanapp-test-bot bot removed the user-test-required User tests have not been completed label Nov 8, 2023
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcdurdin mcdurdin changed the title fix(developer): Project upgrade messages now show in Messages panel fix(developer): Project upgrade messages now show in Messages panel 🦕 Nov 12, 2023
@mcdurdin mcdurdin modified the milestones: A17S25, A17S26 Nov 13, 2023
Base automatically changed from fix/developer/kmc-build-ldml-create-outdir to master November 15, 2023 02:47
@mcdurdin mcdurdin merged commit e77472c into master Nov 15, 2023
5 checks passed
@mcdurdin mcdurdin deleted the fix/developer/9948-show-project-upgrade-messages-in-messages-panel branch November 15, 2023 02:47
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.211-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants