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

AEM Bundle Info Widget - add docs, fix QA issues and spacing #198

Merged
merged 6 commits into from
Jan 9, 2020

Conversation

tMaxx
Copy link
Contributor

@tMaxx tMaxx commented Jan 7, 2020

  • Added option to filter by bundle's display name
  • Fixed popover title attribute
  • Changed styling to make widget fit in default grid when exclusions are set
  • Added docs for configuration options

@@ -98,7 +100,7 @@ class AemBundleInfoWidget(vertx: Vertx, config: JsonObject) : AsyncWidget(vertx,

override fun updateState() {
if (url.isNotBlank()) {
httpGet("$url/system/console/bundles.json")
httpGet("${url.trimEnd('/')}/system/console/bundles.json")
Copy link
Contributor

Choose a reason for hiding this comment

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

I thing better solution for this would be to replace any double slash // to single slash / but inside httpGet() method - something like prepareURL method. What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This turns out to be a bit trickier, so I'll roll it back. Parsing URLs is problematic, ideally we'd have to have some more helper functions to handle cases like this.

docs/widget-aem-bundle-info.md Outdated Show resolved Hide resolved
@tMaxx tMaxx merged commit f211214 into master Jan 9, 2020
@szymon-owczarzak szymon-owczarzak deleted the bugfix/bundle-info-fixes branch January 17, 2020 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants