Skip to content

Commit

Permalink
Remove legacy trails
Browse files Browse the repository at this point in the history
Once upon a time, Upcase had these things called trails.

They broke down a topic into a series of steps that could be completed.
They also linked to resources (made by thoughtbot and not) that would
help you learn a topic.

We liked these trails, but the only way to indicate you'd learned
something was to click a checkbox on a given step.

Later, we created our exercise system. After creating a handful of
unrelated exercises, we decided it would be better to create groups of
exercises to be completed in a given sequence.

We decided to call this grouping and sequencing a trail and renamed the
old trail concept legacy trails.

Having two things called "trail" at the same time was confusing, and the
legacy trails were the source of much criticism ("these are mostly links
to things outside Upcase!") We didn't like the code. Users were confused
and annoyed. Bad times.

This commit removes LegacyTrails and their associated baggage.

Now, "trail" means exactly one thing.

All is ✨ and 😂.
  • Loading branch information
r00k committed Feb 18, 2015
1 parent de87600 commit e719f9d
Show file tree
Hide file tree
Showing 51 changed files with 90 additions and 1,390 deletions.
11 changes: 0 additions & 11 deletions app/assets/javascripts/application.js
Expand Up @@ -4,24 +4,13 @@
//= require prettify/prettify
//= require prettyprint
//= require jquery.jsPlumb-1.4.0-all-min
//= require masonry.min.js
//= require upcase
//= require plans
//= require topics
//= require checkout
//= require autoresize
//= require wistia_helper
//= require headhesive.min.js

$(function() {
if ($('.all-trail-map-steps').length) {
var container = document.querySelector('.all-trail-map-steps');
var msnry = new Masonry(container, {
itemSelector: '.trail-map-steps',
gutter: '.gutter-sizer'
});
}

$('textarea').autosize();

if ($('.landing #header-wrapper').length) {
Expand Down
112 changes: 0 additions & 112 deletions app/assets/javascripts/topics.js.coffee

This file was deleted.

47 changes: 0 additions & 47 deletions app/assets/javascripts/upcase.js

This file was deleted.

0 comments on commit e719f9d

Please sign in to comment.