Repository: mozmeao/snippets-service

Issue:
Pull down hamburger menu - UI Tour
We would like the ability to educate our users on the hamburger menu settings - starting with the ability to drop down the hamburger menu when clicking on a snippet.




Discussion:
We're instructed by the AS team that we don't use UITour. Did that change @jkt230 ?
Yeah Kate mentioned it was case by case basis. I'll tag her in here in case she needs to do something to make it happen? @k88hudson 
Friendly ping @k88hudson 
Blocked by AS team - waiting on info.
After investigating this for onboarding etc., it looks like UI tour would actually be OK to use from snippets – we should probably test this, but as far as I can tell, it shouldn't be a problem. 
Historically we had special templates for snippets involving UITour, e.g. when we launch Firefox Hello we had a special simple snippet template that opened the Hello menu on click.

Now we need to be more specific on what we want to achieve so we can build it in a useful way.  

@katjoy do you have any user stories or specific snippets you want to run to educate our users on the hamburger menu?
Hey @glogiotatidis!  

Michelle Anderson mentioned this might be an ideal snippet for national hamburger day.  

Her GitHub is @mediaChick


Monday, May 28 is Hamburger Day. 
OK that sounds fun, but what exactly you want to do with the hamburger menu? :)
@glogiotatidis The hamburger menu to drop down when the link in a snippet is clicked. Is it possible to have that working by Hamburger Day, May 28?
This kind of snippet it's very special because it interacts with the browser menus and requires special code and handling. I'm afraid we cannot reach the May 28th deadline.

Hamburger day aside, do you have a plan to use this feature anywhere else in 2018? Also is the request only for making the hamburger menu drop down when snippet clicked?


Very special, indeed!

I think we just want the snippet link to open the menu, but I could be
wrong.

Kat, anything to add?

On Mon, May 21, 2018 at 1:05 AM, Giorgos Logiotatidis <
notifications@github.com> wrote:

> This kind of snippet it's very special because it interacts with the
> browser menus and requires special code and handling. I'm afraid we cannot
> reach the May 28th deadline.
>
> Hamburger day aside, do you have a plan to use this feature anywhere else
> in 2018? Also is the request only for making the hamburger menu drop down
> when snippet clicked?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/mozmeao/snippets-service/issues/352#issuecomment-390583375>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AlkJtT74Ovo5UE0uTZb23uEOtpW-Gsxpks5t0nU1gaJpZM4SC96k>
> .
>

Jean requested this feature. It was meant to give the user who clicks on a
snippet a tour of the hamburger menu.  This feature would be fabulous to
share with our new users as well as our existing users.  I do see the
snippet team using this feature in 2018, but I understand if you can't make
the May 28th deadline.

On Mon, May 21, 2018 at 9:16 AM, Michelle Anderson <notifications@github.com
> wrote:

> Very special, indeed!
>
> I think we just want the snippet link to open the menu, but I could be
> wrong.
>
> Kat, anything to add?
>
> On Mon, May 21, 2018 at 1:05 AM, Giorgos Logiotatidis <
> notifications@github.com> wrote:
>
> > This kind of snippet it's very special because it interacts with the
> > browser menus and requires special code and handling. I'm afraid we
> cannot
> > reach the May 28th deadline.
> >
> > Hamburger day aside, do you have a plan to use this feature anywhere else
> > in 2018? Also is the request only for making the hamburger menu drop down
> > when snippet clicked?
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <https://github.com/mozmeao/snippets-service/issues/352#
> issuecomment-390583375>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/
> AlkJtT74Ovo5UE0uTZb23uEOtpW-Gsxpks5t0nU1gaJpZM4SC96k>
> > .
>
> >
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/mozmeao/snippets-service/issues/352#issuecomment-390703544>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AhpKa4p67yyDfRLEWq0P1SLLUoj6qN7rks5t0uhJgaJpZM4SC96k>
> .
>



-- 
*Kat Plam* : : Lifecycle Marketing
IPC Content Marketing Manager


Resolving patch:
diff --git a/snippets/base/admin.py b/snippets/base/admin.py
--- a/snippets/base/admin.py
+++ b/snippets/base/admin.py
@@ -185,6 +185,9 @@ def get_changelist_form(self, request, **kwargs):
     fieldsets = (
         (None, {'fields': ('name', 'disabled', 'campaign', 'preview_url', 'created', 'modified')}),
         ('Content', {
+            'description': ('In Activity Stream Templates you can use the special links:<br/>'
+                            '<ol><li>about:accounts : To open Firefox Accounts</li>'
+                            '<li>uitour:showMenu:appMenu : To open the hamburger menu</li></ol>'),
             'fields': ('template', 'data'),
         }),
         ('Publish Duration', {


Test patch: