You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Users can see what's new via in-app release notes #2774
We talked about this a little at our mini summit but I forgot to record it.
We'd like to do a better job of telling users about what changes between updates. One part of that would be displaying the release notes in app.
Reacted by Shakil Shahadat, Tiernan L, Agisilaos Tsarampoulidis, jm3, Adrian Ziemkowski, Isaiah Odhner, Vincent Klaiber, IhateTrains, Sergey Alekseev, Sasha Mansurov and 1 more
Design idea: add had a ⬇️ arrow on banner telling you that an update is available that toggles the changelog between the app’s current version and the latest version when clicked. Additionally, the banner could be shown after updating, saying “GitHub Desktop has been updated from 0.8.2 to 1.0.0. View Changelog”
That might be too in-your-face? I dunno. I like it. Maybe only for big releases like 1.0 -> 1.1, not for patch updates?
I concur, I think we should reserve this for bigger features and separate this out from the displaying of release notes completely. I imagine we'll have custom UI for this where we can display images (GIFS!!!) and perhaps even have a multi-step process to introduce a big new feature to users.
Here's what we're thinking for displaying release notes in-app. For these mocks I've used actual data from previous releases to illustrate how it will actually look in the app.
Some high-level specs
You get to this by clicking on the what's new link in the update banner just like you do today
We'll only show the release notes for the version you're upgrading to, not any potential intermediate releases.
We'll do a custom dialog header to spruce things up a little.
We'll group individual release note items into three categories (more on this later) which are positioned in one or two columns.
Categorization
Right now our parsing code on desktop.github.com supports these categories new, fixed, improved, removed, and added. With this we'll group new, added, and improved under Enhancements, fixed under Bug Fixes and removed plus any items we're unable to parse or which lacks a category under Other.
If, after grouping, we only end up with a single group we'll render that group full width while decreasing the max width of the update dialog by 50px.
If there's more than one group the Enhancements group will always be positioned first, in the first column, followed by Bug fixes in the second column. If there's three groups the third, Other, will be positioned in the first column underneath Enhancements.
Illustrated here by a non-balanced version
If there'd been any 'Other' items here they'd appear 10px below the last item in the Enhancements category.
Pretext
For some versions it'd be really nice if we could add some text (and possibly graphics but let's not get ahead of ourselves) before the items themselves. Illustrated here by how I think our 1.0 dialog should have looked.
My thinking here is that if we don't want to change the changelog json format we could add a special tag in our changelog so it'd be something like "[pretext] Collaborating on...". Ideally we'll support markdown here and we'll make sure desktop.github.com doesn't render these special items until we get to designing that view again.
Specs
Dialog max height 450px
Custom dialog header height 100px
Column width 250px with a one spacer (10px) gutter
Dialog header, version text, 14px semibold
Dialog header, date, 11px regular, secondary text color
Standard margins in dialog content (20px)
Category headers, 12px semibold
Release note item text 11px
One spacer margin between category headers and items
One spacer margin between items
Reacted by Jed Fox, Florian Taut and Maximilian Haru Raditya
We might wanna give some thought to how this is implemented.
Auto-linking issues is currently done client-side on desktop.github.com, but I've also been planning to add auto-linking user mentions. We'd need to duplicate this code in the app. That code duplication might be acceptable, but we should also consider making Central do more of the heavy lifting.
Activity
joshaber commentedon Sep 19, 2017
VS Code does this pretty well, I think, in that they automatically show you the changelog when you launch the new version.
That might be too in-your-face? I dunno. I like it. Maybe only for big releases like 1.0 -> 1.1, not for patch updates?
j-f1 commentedon Sep 19, 2017
Design idea: add had a ⬇️ arrow on banner telling you that an update is available that toggles the changelog between the app’s current version and the latest version when clicked. Additionally, the banner could be shown after updating, saying “GitHub Desktop has been updated from
0.8.2to1.0.0. View Changelog”niik commentedon Sep 27, 2017
I concur, I think we should reserve this for bigger features and separate this out from the displaying of release notes completely. I imagine we'll have custom UI for this where we can display images (GIFS!!!) and perhaps even have a multi-step process to introduce a big new feature to users.
Here's what we're thinking for displaying release notes in-app. For these mocks I've used actual data from previous releases to illustrate how it will actually look in the app.
Some high-level specs
what's newlink in the update banner just like you do todayCategorization
Right now our parsing code on
desktop.github.comsupports these categoriesnew,fixed,improved,removed, andadded. With this we'll groupnew,added, andimprovedunder Enhancements,fixedunder Bug Fixes andremovedplus any items we're unable to parse or which lacks a category under Other.If, after grouping, we only end up with a single group we'll render that group full width while decreasing the max width of the update dialog by 50px.
If there's more than one group the Enhancements group will always be positioned first, in the first column, followed by Bug fixes in the second column. If there's three groups the third, Other, will be positioned in the first column underneath Enhancements.
Illustrated here by a non-balanced version
If there'd been any 'Other' items here they'd appear 10px below the last item in the
Enhancementscategory.Pretext
For some versions it'd be really nice if we could add some text (and possibly graphics but let's not get ahead of ourselves) before the items themselves. Illustrated here by how I think our 1.0 dialog should have looked.
My thinking here is that if we don't want to change the changelog json format we could add a special tag in our changelog so it'd be something like
"[pretext] Collaborating on...". Ideally we'll support markdown here and we'll make sure desktop.github.com doesn't render these special items until we get to designing that view again.Specs
j-f1 commentedon Sep 27, 2017
That looks awesome @niik! 🎉
2️⃣ ideas:
joshaber commentedon Sep 28, 2017
We might wanna give some thought to how this is implemented.
Auto-linking issues is currently done client-side on desktop.github.com, but I've also been planning to add auto-linking user mentions. We'd need to duplicate this code in the app. That code duplication might be acceptable, but we should also consider making Central do more of the heavy lifting.
joshaber commentedon Oct 23, 2017
I'm gonna leave this as a stretch goal for 1.1. Feel free to speak up if you don't agree!
shiftkey commentedon Dec 8, 2017
The 1.1 task list seems to be mostly assigned, so I'm going to start hacking on this a bit until something higher-priority appears.
shiftkey commentedon Jan 23, 2018
Moving this to
1.1.xto focus on QA and helping get the PR integration out sooner.tierninho commentedon Jan 23, 2018
I have my dev env up and running now, so can help test feature, too.
[-]In-app release notes[/-][+]Users can see what's new via in-app release notes[/+]