Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Fix guest mode filter #404

Merged
merged 4 commits into from
Feb 12, 2016
Merged

Fix guest mode filter #404

merged 4 commits into from
Feb 12, 2016

Conversation

timlevett
Copy link
Contributor

  • Adds in flag check for "show all" if you are in guest mode
  • Changes out btn-primary to btn-outline
    http://goo.gl/DeUiY3
  • Adds in mock json for guest layout and guest marketplace entries.

If you want to use the mock objects for guest, you can just run this diff against your app-config.js

@@ -16,18 +16,18 @@ define(['angular'], function(angular) {
         })
         .constant('SERVICE_LOC', {
             'aboutURL' : '/portal/web/session.json',
-            'sessionInfo' : '/portal/web/session.json',
+            'sessionInfo' : '/portal/web/guest-session.json',
             'sidebarInfo' : '/web/staticFeeds/sidebar.json',
             'featuresInfo' : '/web/staticFeeds/features.json',
             'newstuffInfo': '/web/staticFeeds/new-stuff.json',
             'context'     : '/portal/',
             'base'        : '/portal/web/',
-            'layout'      : 'layoutDoc?tab=UW Bucky Home',
+            'layout'      : 'layoutDocGuest.json',
             'layoutTab' : 'UW Bucky Home',
             'marketplace' : {
                 'base' : 'marketplace/',
                 'entry' : 'entry/',
-                'entries' : 'entries.json'
+                'entries' : 'entries-guest.json'
             },

@apetro
Copy link
Contributor

apetro commented Feb 12, 2016

Worth capturing the how-to-configure-app-config-to-emulate-guest to a README somewhere?

@apetro
Copy link
Contributor

apetro commented Feb 12, 2016

👍

@timlevett
Copy link
Contributor Author

@apetro good suggestion on the README.md, created one for the mock module. Sure there can be more there eventually.

timlevett pushed a commit that referenced this pull request Feb 12, 2016
@timlevett timlevett merged commit 76db23e into master Feb 12, 2016
@jhanstra
Copy link
Contributor

Really like the look of the outline buttons here 👍

@timlevett timlevett deleted the fix_guest_mode_filter branch February 12, 2016 17:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants