Skip to content

Instantly share code, notes, and snippets.

😶

Dave Ackerman dmackerman

😶
Block or report user

Report or block dmackerman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View onboarding.md

Onboarding Notes

  • Network Overview and Interests feel very good. It's simple, drives the user through the questions and allows them to select multiple things per step.
  • Network Boundaries
    • Labels are backwards I think. "What IP Addresses are internal to your network?" should be the first question? Haven't looked at code but maybe just a mixup.
    • Editing feels a little weird. If I enter Internal IP Addresses, press Next, and then try and Edit the value it feels strange that the other field goes away. We talked about this and how it felt weird at first glance and I can confirm it feels weird.
      • The solution could be when you Edit a previous "step", just expand it in place. Remove the "Next" button when there is a previous step in Edit mode. Edit button changes to Save, which then brings you back to the state you were previously.

Ultimately I don't really think we know how this works for Devices yet, and until we prototype something it's hard to say whether or not this approach is

View route.js
templateUrl: function(params) { // params are the current $stateParams
return myTemplates[params.pageId]; }
}
View gist:0410dd3fe65ea773516a
---
app/
css/
app.css
bootstrap.css
img/
pizzas/
large-pizza.jpg
small-pizza.jpg
js/
View gist:f496020f158da30fa87c
describe('productizer.io : login & register', function() {
beforeEach(function () {
var productizer = require('../productizer.js');
productizer.get();
});
it('should allow user to successfully log in and out', function() {
productizer.login('dmackerman@gmail.com', 'ferrari0');
expect(productizer.pageHeader.getText()).toContain('Dashboard');
View views.min.js
(function(module) {
try {
module = angular.module('appViews');
} catch (e) {
module = angular.module('appViews', []);
}
module.run(['$templateCache', function($templateCache) {
$templateCache.put('views/main.html',
'<div ng-include="" src="\'views/topbar/topbar.html\'"></div><div class="container"><div class="row"><div class="col-lg-12"><div class="alert alert-danger text-center" ng-show="error"><strong>{{ error.description }}</strong></div></div></div><div class="row"><div class="col-lg-12"><div class="jumbotron"><div class="row"><div class="col-lg-6"><h1>productizer</h1><p class="larger">An Intraprenuers\' tool for Lean-a-fying the Enterprise</p><button ng-show="!user" class="btn btn-primary btn-lg" style="background:rgba(14, 118, 168, 1.0);border:0;" ng-click="socialLogin(\'linkedIn\')"><i class="ion-social-linkedin"></i> LinkedIn Login</button></div><div class="col-lg-3"><h4 class="text-uppercase">Login</h4><form name="register" ng-submit="standardLogin()"><div class="form-group"><input name="lo
View createKickstart.js
// TODO: ADD ERROR CONDITIONS
function onRequest(request, response, modules) {
// setup modules
var db = modules.collectionAccess;
// set up the start/end date for the kickstart
var startDate = Date.parse(request.body.startDate);
var endDate = Date.parse(request.body.endDate);
View $scope.topics.js
[{
"name": "Healthy Contraints Thing",
"url": "http://www.google.com",
"_acl": {
"creator": "532a4c67759f26b46ad3d5c4"
},
"_kmd": {
"lmt": "2014-03-28T20:54:28.211Z",
"ect": "2014-03-28T20:54:28.211Z"
},
View createKickstart.js
// TODO: ADD ERROR CONDITIONS
function onRequest(request, response, modules) {
// setup modules
var logger = modules.logger;
var db = modules.collectionAccess;
// set up the start/end date for the kickstart
var startDate = Date.parse(request.body.startDate);
var endDate = Date.parse(request.body.endDate);
You can’t perform that action at this time.