kaushalmall / aem-hotfix-installer

This utility automates the process of installing hotfixes on an AEM instance in the order specified.
Apache License 2.0
3 stars 0 forks source link

Add a UI fronting it. #7

Open kaushalmall opened 8 years ago

kaushalmall commented 8 years ago

People can use the UI or the CLI. Their choice.

badvision commented 8 years ago

This will be done in the UI feature branch -- I'll post some UI mockups for approval.

badvision commented 8 years ago

image @kaushalmall here's a rough draft -- would this be a sufficient starting point or is it overkill? :)

badvision commented 8 years ago

Issues #1 and #4 are captured in the packages search (middle section) -- as for not installing packages already installed; it might make sense to have a visual indicator but not outright prevent it. It's a known issue that some feature packs overwrite hotfixes so a valid use of this tool is to re-apply hotfixes in a given order.

kaushalmall commented 8 years ago

@badvision I love the UI. But, it is light years ahead of the current functionality :-). It almost seems like a different project. I'd love to add all of these eventually though.

badvision commented 8 years ago

That's why I put it in a feature branch. My goal is to start doing light refactoring of the existing code to support both experiences. Then I can keep merging in the new functionality to this branch until it's actually working. I did something similar in this dual command-line/UI project here: https://github.com/badvision/piface-integrator

badvision commented 8 years ago

Current state, AEM Connection part is wired up and working. UI can now start up, and everything resizes with the window.

image

badvision commented 8 years ago

Oh snap! Now Package Share authentication is working! image

badvision commented 8 years ago

The second panel is 50% done now: You can select product versions and the list of hotfixes per version is getting scraped mostly well.

image

badvision commented 8 years ago

You can now click "Add Selected" and the selected packages are added to the table on the right side. It doesn't look like much but under-the-hood I reorganized a lot of the code to track the application state in a clean and simple way. This also can support the requirements of the console-based functionality. Once I've merged the code with the console-facing code I can roll this to the main branch.