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

#475 About tab inside top toolbar. #506

Merged
merged 5 commits into from
Jul 8, 2019

Conversation

hotowy
Copy link

@hotowy hotowy commented Apr 23, 2019

Description

Possibility to show simple "About" informations.

Motivation and Context

Mainly it allows users to check installed version of AET application.
Additionally it shows "Contact and Commercial Support" section and footer.
Issue: #475

Screenshots (if appropriate)

Toolbar element:
image
Popup:
image

Upgrade notes (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • I have reviewed (and updated if needed) the documentation regarding this change

I hereby agree to the terms of the AET Contributor License Agreement.

@@ -74,6 +79,7 @@ protected void process(DBKey dbKey, HttpServletRequest req, HttpServletResponse
String suiteName = req.getParameter(Helper.SUITE_PARAM);
String suiteVersion = req.getParameter(Helper.VERSION_PARAM);
String formatted = req.getParameter(FORMATTED_PARAM);
resp.setHeader(APP_VERSION_HEADER, bundleVersionProvider.getBundleVersion());
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Other metadata are send as JSON properties. Has anyone any ideas/thoughts about this being sent as header?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine because this is some kind of "meta" information. But maybe we should prefix the custom header name with X- (X-Application-Version), WDYT?
CC @Skejven

Copy link
Contributor

Choose a reason for hiding this comment

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

X- prefix is a good idea. Sending it in the header is fine.

@tkaik tkaik added the QA Required Requires manual tests, possible regression or impact on existing features. label Jul 3, 2019
@tkaik tkaik merged commit 80bdc0f into wttech:master Jul 8, 2019
@tkaik tkaik mentioned this pull request Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA Required Requires manual tests, possible regression or impact on existing features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants