{"id":753,"date":"2013-09-16T08:00:00","date_gmt":"2013-09-16T08:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/visualstudio\/2013\/09\/16\/notifications-in-visual-studio-2013\/"},"modified":"2019-02-14T15:43:46","modified_gmt":"2019-02-14T23:43:46","slug":"notifications-in-visual-studio-2013","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/notifications-in-visual-studio-2013\/","title":{"rendered":"Notifications in Visual Studio 2013"},"content":{"rendered":"<p>One of the benefits to having a connected IDE is that your environment can be kept up to date easily by presenting you with notifications of updates and relevant account information. Visual Studio will not only keep your environment up to date but also keep you in control of your preferred configurations.<\/p>\n<p>There are two main avenues for presenting you with notifications of an event in your environment that requires your attention.<\/p>\n<p>The first avenue is<strong> C<\/strong><strong>ontextual notification presentation<\/strong>, which requires immediate surfacing to provide developers real-time information based on an action that has been performed or the result of something.<\/p>\n<p>Some examples of this presentation are:<\/p>\n<ul>\n<li>Build Solution\u00a0&#8211; the status bar found along the bottom of the IDE is updated with the text: \u201cBuild started\u2026\u201d<\/li>\n<li>Incorrect code syntax\u00a0&#8211; the red \u201csquiggles\u201d found in the editor identify code that is not syntactically correct.<\/li>\n<\/ul>\n<p>The second avenue is for<strong> E<\/strong><strong>nvironment\/IDE specific notification presentation<\/strong>. Unlike contextual presentation, this type does not need to be surfaced immediately to you. In most cases, you can continue to work in Visual Studio and take action on these messages when it\u2019s convenient for you.<\/p>\n<p>Some examples of environment\/IDE specific presentation are:<\/p>\n<ul>\n<li>Visual Studio Product Update is available<\/li>\n<li>An update to an extension you have installed is available<\/li>\n<li>Your trial of Visual Studio will expire soon<\/li>\n<\/ul>\n<p>In Visual Studio 2012, we enhanced the Extension Updates notification mechanism to also notify you of our product updates (get the latest <a href=\"http:\/\/www.microsoft.com\/visualstudio\/eng\/visual-studio-update\">here<\/a>!). When an update is detected, we surface a message as a Windows Task Tray notification.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8507.image_thumb_79614B28.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222293\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8507.image_thumb_79614B28.png\" alt=\"task tray notification\" width=\"534\" height=\"110\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8507.image_thumb_79614B28.png 534w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8507.image_thumb_79614B28-300x62.png 300w\" sizes=\"(max-width: 534px) 100vw, 534px\" \/><\/a><\/p>\n<p>Because of how tray notifications work, you may miss notifications if you happen to step away from your machine. If you dismissed it thinking you would handle it later, there was no way to see it again. We also heard a request from customers to make the text more descriptive of the kind of update that was detected.<\/p>\n<h2>Notifications<\/h2>\n<p>In Visual Studio 2013, we have centralized the environment\/IDE specific notifications to accommodate the growing number of notifications in the IDE and you\u2019ll find it works similar to the way you work in Visual Studio.<\/p>\n<p>The new notifications experience will:<\/p>\n<ul>\n<li>Surface notifications that are relevant and specific to your environment<\/li>\n<li>Help you easily determine what\u2019s going on in your environment and display priority (based on the importance of the message)<\/li>\n<li>Let you decide what you want to take action on and when<\/li>\n<li>Stay out of your way; won\u2019t block your code or projects<\/li>\n<\/ul>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5775.image_thumb_5FF947EE.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222286\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5775.image_thumb_5FF947EE.png\" alt=\"The new Notifications experience, badge in upper right corner\" width=\"626\" height=\"341\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5775.image_thumb_5FF947EE.png 626w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5775.image_thumb_5FF947EE-300x163.png 300w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/a><\/p>\n<p>There a two components to the new notifications experience:<\/p>\n<p>1. <strong>Notifications Badge<\/strong> \u2013 The badge has four unique states to provide insight into what the Notifications Hub currently contains and to help identify if new notifications have arrived since the last time you viewed the hub.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/6470.image_thumb_5F20E204.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222287\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/6470.image_thumb_5F20E204.png\" alt=\"hubs\" width=\"513\" height=\"72\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/6470.image_thumb_5F20E204.png 513w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/6470.image_thumb_5F20E204-300x42.png 300w\" sizes=\"(max-width: 513px) 100vw, 513px\" \/><\/a><\/p>\n<p>2. <strong>Notifications Hub<\/strong> \u2013 The hub is where you can review all your notifications and take action on them. Notifications in the hub are sorted based on creation date and time. For example purposes, I have included a critical and informational notification below.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5807.image_thumb_709142DC.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222288\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5807.image_thumb_709142DC.png\" alt=\"notification hub\" width=\"302\" height=\"433\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5807.image_thumb_709142DC.png 302w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5807.image_thumb_709142DC-209x300.png 209w\" sizes=\"(max-width: 302px) 100vw, 302px\" \/><\/a><\/p>\n<h2>What You\u2019ll Find in the Hub<\/h2>\n<p>In Visual Studio 2013 Preview and RC, you may notice one or more of the following types of notifications in your hub. Here\u2019s some additional details on why they are there:<\/p>\n<ul>\n<li><strong>Product Updates<\/strong> \u2013 Future updates for Visual Studio or newly available SDKs<\/li>\n<li><strong>Visual Studio Gallery<\/strong> \u2013 Any new update available for extensions you have installed from the gallery<\/li>\n<li><strong>Samples Gallery<\/strong> \u2013 Any new updates available for samples you have installed<\/li>\n<li><strong>Download Offline Help<\/strong> \u2013 First launch experience has been streamlined and the option to install offline help can now be found as a notification<\/li>\n<li><strong>Synchronized Settings Conflicts<\/strong> \u2013 Any conflicts at the time of settings synchronization, will be surfaced via a notification (read an MSDN Article about <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/vstudio\/dn135229(v=vs.120).aspx\">Resolving settings conflicts<\/a> for more info)<\/li>\n<li><strong>Licensing<\/strong> \u2013 Occasionally Visual Studio needs to communicate some information about your license that requires an action; one example is that your trial is expiring<\/li>\n<li><strong>Customer Improvement Experience Program<\/strong> \u2013 Join the Customer Experience Improvement Program; it\u2019s one of the easiest ways for you to give us feedback<\/li>\n<\/ul>\n<p>If you\u2019re using the Preview, you might have already noticed a new notification surface in the hub letting you know that the <a href=\"http:\/\/www.microsoft.com\/visualstudio\/\">Visual Studio 2013 RC release is available for download<\/a>.<\/p>\n<h2>Prioritization<\/h2>\n<p>Notifications are prioritized into 3 levels each with a respective color to easily identify them: Informational (gray), Important (yellow) and Critical (red). You\u2019ll find a majority of notifications in your hub to be informational but sometimes when Visual Studio needs to surface something to you that you should take immediate action on, the notification will be marked with a higher priority.<\/p>\n<h2>Taking Action on a Notification<\/h2>\n<p>You can take action on the notifications in your hub by simply <strong>clicking on the title<\/strong> of the notification. This action will bring you to the place where you can decide if you\u2019d like to take action. We won\u2019t auto-install a product or extension update for you, like in the case of a Product or Extension update.<\/p>\n<p>You\u2019ll see below that after selecting the \u201cWindows Azure SDK for .NET 1.8.1 is available\u201d that the Extensions and Updates manager is opened and focus is in the relevant category of the dialog (Product Updates). Once you have taken the noted action, the notification will automatically be removed from the hub.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/7776.image_thumb_5E487C1A.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222289\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/7776.image_thumb_5E487C1A.png\" alt=\"Taking action on a notification\" width=\"626\" height=\"340\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/7776.image_thumb_5E487C1A.png 626w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/7776.image_thumb_5E487C1A-300x163.png 300w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/a><\/p>\n<p>If you decide you want to ignore a specific notification, you can simply <strong>dismiss<\/strong> it by hovering over the notification and selecting the X in the upper right hand corner or select <strong>Dismiss All<\/strong> to remove and ignore all notifications from your hub.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8865.image_thumb_500A032A.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222290\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8865.image_thumb_500A032A.png\" alt=\"noti\" width=\"302\" height=\"283\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8865.image_thumb_500A032A.png 302w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/8865.image_thumb_500A032A-300x281.png 300w\" sizes=\"(max-width: 302px) 100vw, 302px\" \/><\/a><\/p>\n<p>Visual Studio won\u2019t notify you again about that message unless there has been a change in the details of the notification; maybe you ignored the 1.2 update for an Extension and a week later the 1.3 version is released. You would then see the 1.3 update, but never see the 1.2 update again.<\/p>\n<p>To ensure the hub doesn\u2019t bloat over time, all notifications have an expiration date that is clearly shown under the notification. Once a notification expires, it will no longer be viewable in the hub. Expired notifications behave in the same way that dismissed notification do; they are removed from the list and will no longer be displayed in the hub. New versions or messages that become available will generate a new notification in the hub for example.<\/p>\n<h2>What do you think?<\/h2>\n<p>As with most of the new experiences we\u2019ve introduced in Visual Studio 2013 Preview, we believe these are just the first steps for notifying you about relevant activities going on in the IDE. If there\u2019s functionality you\u2019d love to see in the hub or different messages that you\u2019d like to see surfaced, please let us know by creating a suggestion on <a href=\"http:\/\/visualstudio.uservoice.com\/forums\/121579-visual-studio\">User Voice<\/a> (in the IDE category) for the community to vote on. If you find a bug use the <a href=\"http:\/\/connect.microsoft.com\/visualstudio\">Connect site<\/a> to let us know.<\/p>\n<p>A special thanks to the Notifications feature crew for helping review and edit this post (thanks Filip, Andrew and Alana)!<\/p>\n<table style=\"width: 718px;\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"132\"><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5238.image_thumb_0FD3E9B0.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-222291\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2013\/09\/5238.image_thumb_0FD3E9B0.png\" alt=\"cathy sullivan\" width=\"118\" height=\"116\" \/><\/a><\/td>\n<td valign=\"top\" width=\"584\"><strong>Short Bio<\/strong> \u2013 Cathy Sullivan is a Program Manager on the Visual Studio platform team. Cathy joined Microsoft in 2006 and worked as a developer in Microsoft IT building enterprise applications. She joined the Visual Studio team in 2011 and has worked on a variety of areas including C#\/Visual Basic IDE, Visual Studio Shell and IDE Experiences. When she\u2019s not working on improving user experiences in the IDE, you can find her speaking on what\u2019s new in Visual Studio at conferences like DevConnections, VSLive! and BUILD.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>One of the benefits to having a connected IDE is that your environment can be kept up to date easily by presenting you with notifications of updates and relevant account information. Visual Studio will not only keep your environment up to date but also keep you in control of your preferred configurations. There are two [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":255385,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[155],"tags":[237,1383,653,12,126],"class_list":["post-753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-visual-studio","tag-net","tag-c","tag-visual-basic","tag-visual-studio","tag-visual-studio-2013"],"acf":[],"blog_post_summary":"<p>One of the benefits to having a connected IDE is that your environment can be kept up to date easily by presenting you with notifications of updates and relevant account information. Visual Studio will not only keep your environment up to date but also keep you in control of your preferred configurations. There are two [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=753"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/753\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/255385"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}