Commit Graph
15 Commits
Author SHA1 Message Date
Andrew Miner d12a318dfa Improve perf. by not showing/hiding waiting 2015-11-10 21:04:20 -08:00
Andrew Miner a545628e04 Bug: Prevent invalid UI states in markdown editor
When rapidly transitioning between various states, the markdown
editor could wind up with a weird mixture of UI elements showing as
some of transitions were dropped because they followed too quickly
on the heels of another transition.

This change fixes the problem by changing how the BaseController's
`hide` and `show` functions work. They now set a "target" state on
the element and, during each step of the animation, check whether
the target has changed. If so, the transition begins to work in
reverse to return to the prior state.
2015-05-13 09:12:44 -07:00
Andrew Miner 23e98f5d31 Allow new item description files to be created 2015-05-11 09:20:42 -07:00
Andrew Miner 54194d3f0a WIP 2015-05-05 14:01:39 -07:00
Andrew Miner 930b8049a2 Convert site to a single JavaScript archive
* Convert build to use a single JavaScript file on the site (instead
  of downloading each library separately). This also means that all
  global variables (e.g., `$` for JQuery, `_` for Underscore.js) can
  be removed.
* Remove unused scripts and/or move them to a more appropriate repo
* Update the `deploy` script to work with CircleCI's automation
* Update markdown display code to allow images to be located with the
  markdown data files instead of the pre-rendered index pages
2015-04-29 19:58:53 -07:00
Andrew Miner 5b014c9921 Redesign the crafting page
This introduces the new crafting page design featuring a new vertical
layout and list display of all crafting steps. It also makes it easy
to move items between the have/need sections and even from each step
into your inventory (causing a new crafting plan to be created which
doesn't plan on making that item).

* Convert the `BaseController.hide` and `show` methods to be much
  more robust in the use of CSS transitions (using a timer in case a
  transition doesn't actually fire).
* Change `hide`/`show` to use events for communicating animation
  state instead of callbacks
* Convert several controllers to fire events for communication with
  parent controllers instead of accepting functions.
* Rewrite the `CraftPageController`, `CraftPage` model and related
  Jade/SCSS files to implement the new design.
* Alter the `InventoryController` and `StackController` to allow a
  variety of action buttons, and for the events from those action
  buttons to bubble up to parent controllers
* Add the `StepController` and its related model, template, and style
  sheet as part of the new craft page.
* Tweak the `ItemSelectorController` and related files to allow for
  a variety of styles for the launcher button
2015-04-20 09:17:58 -07:00
Andrew Miner 136ebb4187 Add site-wide search function 2015-04-05 18:33:51 -07:00
Andrew Miner b79fa5a148 Don't add incorrect history state for external links 2015-04-04 18:17:15 -07:00
Andrew Miner f78bd3f8c5 Fix two bugs found by @TiuTalk
* When redirecting internal links, double-check that they actually
  are internal before doing so.
* Avoid double-adding items to the /browse mod list
2015-04-04 18:12:32 -07:00
Andrew Miner ad897b80c0 Complete the login feature 2015-04-01 13:31:07 -07:00
Andrew Miner c7322ccf83 Fix issues with Google Adsense 2015-03-24 19:50:39 -07:00
Andrew Miner 7c99f77639 Fix more animation bugs 2015-03-22 09:22:41 -07:00
Andrew Miner 9956e64af0 Replace jQuery animations with CSS animations 2015-03-21 19:00:46 -07:00
Andrew Miner 9ef8480da8 Add item descriptions for some BuildCraft items 2015-03-13 18:21:54 -07:00
Andrew Miner 0a6c185965 Restructure static files into a single directory 2015-03-08 15:05:24 -07:00