Page MenuHomePhabricator

Add app version number to footer
Closed, ResolvedPublic1 Estimated Story Points

Description

We should add the current version number to the footer so that it's obvious to users what version is in use, for easier testing and reporting.

This can be done easily with the Twig function provided by the ToolforgeBundle.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Thanks for doing this, @Samwilson! How many points should we mark this as?

Samwilson set the point value for this task to 1.Jan 14 2021, 12:17 AM
Samwilson added a subscriber: dmaza.

Just a single point, I think. And the above patch has been merged, but @dmaza and I were talking about how it doesn't make the correct link on the test site (where we're not running a released version, but rather the latest code, which is only identified by a Git hash). This is not a huge problem, it's what's already being done on e.g. SVG Translate Tool, but we should improve the ToolforgeBundle's handling of this and perhaps introduce a new {{version_link()}} method that is clever enough to link to the correct place all the time. That should probably be a separate ticket I guess.

dom_walden subscribed.

The WSExport version is now included in the footer of the wsexport tool, just below the submit button.

This has now been deployed to production, so I'm marking it as Done. I have created a separate ticket for the test site: T273824.