-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Show app version in Dashboard #1948
Comments
Hey there! I'm super new to github but I'd like to try to take on this issue. At the moment I'm just trying to get my bearings in the code and figure out where the dashboard is being generated and how it's getting its data. I'm happy to keep looking around myself but I'd also take any pointers. Cheers! |
There is a |
Hey has anyone taken this? I'd be happy to. |
@aguscha333 Sure. That would be great. Let me know if you need any help. |
I was able to install the repo but not get it up and running apparently. I've been a long time at it already, don't think it's still worth It to keep trying for such a small contribution |
Hi @ALL |
@yellowbrickc Let's make sure your mongo started. |
I started looking into this issue. My thought was to add it to the bottom of the sidebar as a universal reference from the admin, kind of how Magento has in their footer... Maybe something like This would involved adding appVersion to the graphql schema i believe so it's accessible to GraphQL. @aldeed what do you think of that? |
@chrispotter Thanks for diving in! I have a few random thoughts related to this.
Given the above, I'd vote for a more generic query that can have all this information (even if you only implement parts of it now). Maybe something like: {
systemInfo {
apiVersion
dataVersion
mongoDBVersion
pluginVersions {
name
version
}
}
} Where Then I'd also vote for a full page or a side bar or popup where all of this info can be shown. Brent put plugin versions in the shop settings panel, but I think that was just because we needed a quick place to put them. But I will defer to @rymorgan for how best to display system info in the operator UI. He may have some designs already. |
Regarding where to put the related server code, the |
@aldeed @chrispotter We'll work on a quick mock. I think it should be a link from the bottom of the page on shop settings. It should not be part of the navigation. The navigation is screen real estate we need for more prominent UI elements. The version information only needs to be displayed for select set of users and only when they need to find it. |
@aldeed @chrispotter here are mocks for the solution above - a link on the Shop settings page that launches a modal with the versions information: I removed the Plugin versions expanding card, since that info would display in the modal. |
@cassytaylor OK for this modal to scroll? Also does it makes sense to list out explicitly the core (27 currently) and included (22 currently) plugins? I believe these will typically all not have separate versions, they're just the same as the main reaction, and given there are so many, best to leave them out. We should probably only list out the custom set of plugins with their individual versions. |
@focusaurus Yes, agreed only the custom plugins. Don't need the rest. |
The UI should simply show all plugins that HAVE a version, which is what Brent's UI does now. Core and included plugins don't have their own versions right now, so they won't show. Designs LGTM |
Done |
Once the Avalara PR is merged we will have the Reaction version in the Shops collection. Seems like it would be handy to have this display somewhere in the Dashboard for both us and customers.
The text was updated successfully, but these errors were encountered: