handreyrc commented on PR #2164:
URL: 
https://github.com/apache/incubator-kie-tools/pull/2164#issuecomment-1992664267

   > Hi @handreyrc, I tested the changes I have these 4 comments:
   > 
   > 1. After creating of a new SW file, the content is not set and the diagram 
is always in the light mode
   >    ![Screenshot from 2024-02-27 
08-49-25](https://private-user-images.githubusercontent.com/4498639/308097717-94fc3c79-c067-4dd8-a4e4-d78fa02efd81.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAyNzkwMzAsIm5iZiI6MTcxMDI3ODczMCwicGF0aCI6Ii80NDk4NjM5LzMwODA5NzcxNy05NGZjM2M3OS1jMDY3LTRkZDgtYTRlNC1kNzhmYTAyZWZkODEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMTJUMjEyNTMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDM2NDkyM2UxNjVkMDMwNmZkZDc2ZTg3Y2ZmMWY3NWUyYjcxNzkyOGY1ZDZkZTIxNzVkMjliODZhZDYyY2Q5NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.z3cS1Y01QKEdloeGFyIcNQQipUmZTt0f8bnxXqoxdmU)
   > 2. The zoom percentages are always in the light mode
   >    ![Screenshot from 2024-02-27 
08-49-40](https://private-user-images.githubusercontent.com/4498639/308098029-f98178f6-a662-4498-872b-071ea07631fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAyNzkwMzAsIm5iZiI6MTcxMDI3ODczMCwicGF0aCI6Ii80NDk4NjM5LzMwODA5ODAyOS1mOTgxNzhmNi1hNjYyLTQ0OTgtODcyYi0wNzFlYTA3NjMxZmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMTJUMjEyNTMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTlhODYxNzg4OTdhMDFiNzA4YzZmZjI1NjBkNDgwNDY2ZmU1YTYxOGRhYTk0Zjk1YTQ4ODA2OTc2OTQ3ZDJkNSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.tfh_aeSkGnteVn_wpFBSsL9MOzcOfupVBTW7DtMjU58)
   > 3. Keyboards shortcuts are always in the light mode
   >    ![Screenshot from 2024-02-27 
08-53-35](https://private-user-images.githubusercontent.com/4498639/308098239-2f2e7211-a1f9-40a6-8c4f-0fd30b74b9e8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAyNzkwMzAsIm5iZiI6MTcxMDI3ODczMCwicGF0aCI6Ii80NDk4NjM5LzMwODA5ODIzOS0yZjJlNzIxMS1hMWY5LTQwYTYtOGM0Zi0wZmQzMGI3NGI5ZTgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMTJUMjEyNTMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODJiNDJjMDg5MzYyMjYyZWIxMzFlY2E4NDg2NDA5OGQzMWUyZTdiMDhiZGZlZmQ2YjY0OThmNTM5Y2U3NTlhMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.mtAQjHJ7tdz9YEBz0yB-aj2ZtaUaQ2WBqIVEajKDdnw)
   > 4. When the SW file is changed to some incorrect form and the mode is 
switched, the diagram remains in the previous mode. (This is probably caused by 
the fact that the diagram is not reloaded when there is an error in the editor)
   >    ![Screenshot from 2024-02-27 
08-59-21](https://private-user-images.githubusercontent.com/4498639/308098936-4fb4bafc-2683-4d40-84c8-0b449aa78eed.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTAyNzkwMzAsIm5iZiI6MTcxMDI3ODczMCwicGF0aCI6Ii80NDk4NjM5LzMwODA5ODkzNi00ZmI0YmFmYy0yNjgzLTRkNDAtODRjOC0wYjQ0OWFhNzhlZWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDMxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAzMTJUMjEyNTMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTBhMDM0NzFkOGQzMTNlNjg2ZTI5ZTVkYmJlYzE4NTU2MzViZmI3OTc3OGYxMzc4NWRmOWMzZmZmMmE4ZWRhZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Z_PD_8JtPlhHOEKOYOJwCtxAYtASjRpjVccE1dsUO8Q)
   
   Hey @tomasdavidorg,
   
   I worked on the items you pointed above.
   
   1- Dark theme was added to the Error Page.  The canvas was implemented in a 
way that if there are errors, the Error page is presented and no further 
rendering happens until we have a valid diagram. So if the Error Page is 
presented with dark theme set and then the theme is changed to light, the error 
page will remain dark and vice-versa. Changing this behavior may have 
implications because it is liked to wokflow loading as well, so if we really 
need to change the theme in this scenario we could consider doing it in a 
separate PR.
   
   2- Dark Theme was added to the zoombar combobox.
   
   3- Grey background was added to the Keyboard shortcuts modal on dark mode. 
   
   4- Theme change in workflows with errors. I didn't consider the behavior of 
not be possible to reload a broken workflow in my previous implementation, good 
catch.  It was looking alful because the diagram is not reloaded but the 
background and  state selection color pattern changes. In fact the non 
reloading behavior is on purpose, so if the worflow is broken it remains 
visible and functional on the canvas. Following this behavior, no theme at all 
is applied to the broken workflows, however, when it gets valid again the theme 
applied.
   
   Please, could take a look again at these items and share your thoughts?
   
   Thanks!!!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to