Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Migrate UI to match Test Pilot updates #460

Closed
wants to merge 1 commit into from
Closed

Conversation

johngruen
Copy link
Contributor

@meandavejustice
Copy link
Contributor

amended commit to fix view tests and rebase with master

@johngruen
Copy link
Contributor Author

here's what's left:

  • finish porting the experiments template
  • get rid of linting errors in sass
  • update test coverage
  • clean up l10n
  • apply styles to error page

}
}

// Image Manangement
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, this is spelled wrong!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also @pdehaan sass-lint doesn't seem to do inline ignores...anyway this doesn't seem to work. Thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johngruen No they don't, although I was investigating yesterday for a different project and it doesn't look like it will be supported until v2.

Solutions:

  1. Ignore sass-lint warnings for now until they release v2.
  2. We can try and figure out how to ignore the one file that generates the warnings.

Neither is great, so we'd want to go with the lesser evil (even if that means moving the hidpi-background-image() mixin into its own file). Gross.

@johngruen johngruen force-pushed the wip-ui-migration branch 3 times, most recently from 3388c8e to 41cfee6 Compare March 10, 2016 21:48
@@ -19,7 +19,6 @@ const sassLint = require('gulp-sass-lint');
const source = require('vinyl-source-stream');
const sourcemaps = require('gulp-sourcemaps');
const through = require('through2');
const tabzilla = require('mozilla-tabzilla');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we not using mozilla-tabzilla anymore? Do we need to remove it from package.json?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

return runSequence([
'npm:tabzilla:img'
], done);
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to remove the vendor task reference from gulp.task('build') on L141 below as well, since it's blowing up Travis-CI:

[22:23:14] Using gulpfile /home/travis/build/mozilla/testpilot/gulpfile.js
[22:23:14] Starting 'build'...
[22:23:14] 'build' errored after 1.09 ms
[22:23:14] Error: Task vendor is not configured as a task on gulp.  If this is a submodule, you may need to use require('run-sequence').use(gulp).
    at /home/travis/build/mozilla/testpilot/node_modules/run-sequence/index.js:20:10
    at Array.forEach (native)
    at verifyTaskSets (/home/travis/build/mozilla/testpilot/node_modules/run-sequence/index.js:13:11)
    at runSequence (/home/travis/build/mozilla/testpilot/node_modules/run-sequence/index.js:94:2)
    at Gulp.buildTask (/home/travis/build/mozilla/testpilot/gulpfile.js:139:3)
    at module.exports (/home/travis/build/mozilla/testpilot/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/home/travis/build/mozilla/testpilot/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/home/travis/build/mozilla/testpilot/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/home/travis/build/mozilla/testpilot/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
    at /home/travis/build/mozilla/testpilot/node_modules/gulp/bin/gulp.js:129:20
    at process._tickCallback (node.js:355:11)
    at Function.Module.runMain (module.js:503:11)
    at startup (node.js:129:16)
    at node.js:814:3

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@meandavejustice meandavejustice force-pushed the wip-ui-migration branch 2 times, most recently from 05b8af3 to 7a2014d Compare March 11, 2016 17:15
@meandavejustice meandavejustice changed the title (WIP) migrating ui to match TP, still in progress Migrate UI to match Test Pilot updates Mar 11, 2016
@meandavejustice meandavejustice force-pushed the wip-ui-migration branch 4 times, most recently from 848a151 to 43413fe Compare March 11, 2016 17:46
- apply new styles
- handle some scss errors(waiting on sasstools/sass-lint#70
to silence some of the incorrect errors)
- get l10n up to date with template changes
- update client tests to pass
- fixes #441
@meandavejustice meandavejustice deleted the wip-ui-migration branch March 11, 2016 21:05
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.

None yet

3 participants