Commit Graph
347 Commits
Author SHA1 Message Date
Andrew Miner cc67fce5a2 Add "nothing" placeholder for empty inventories 2015-04-20 11:26:21 -07:00
Andrew Miner 01a137cdc6 Replace use of InventoryTableController
The `InventoryTableController` had been split off from the existing
`InventoryController` some time ago, but was never properly factored
not to share common code. This change elimiates it altogether in
favor of the newly re-vamped `InventoryController` which is now
flexible enough to be used in both places.
2015-04-20 11:10:42 -07:00
Andrew Miner 0c62c97c9e Fix bug in inventory unparsing
When unparsing an inventory which contains an item whose unqualified
slug appears in multiple mods (e.g., "steel_ingot" appears in both
Railcraft and Mekanism), the `unparse` method would choose the wrong
fully-qualified slug to use in the resulting string.
2015-04-20 09:53:42 -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 7288f25d7d Don't change stack quantity when not editable
When displaying an inventory list in read-only mode, it was possible
to reset the quantity to 9999 if the value was higher than that by
clicking the field. This accidentally triggered the validations
applied when editing the field even though editing wasn't possible.
2015-04-13 10:26:24 -07:00
Andrew Miner a32c62011e Add description for the Kikoku 2015-04-13 09:21:38 -07:00
Andrew Miner 285fae672b Add Solar Flux 2015-04-11 14:17:28 -07:00
Andrew Miner 7e71aba606 Add Solar Flux 2015-04-11 14:10:42 -07:00
Andrew Miner 4641a09922 Fix last home page entry 2015-04-11 13:03:14 -07:00
Andrew Miner b2d8c05fe9 Update the home page for Simply Jetpacks 2015-04-11 10:35:23 -07:00
Andrew Miner 21ad85b125 Add Simply Jetpacks 2015-04-11 10:24:25 -07:00
Andrew Miner e72398a8d5 Update "What's New?" section for Modular PowerSuit 2015-04-08 18:07:13 -07:00
Andrew Miner 2fe06eb80c Add Modular PowerSuits 2015-04-08 17:18:02 -07:00
Andrew Miner 5c41428e1a Update "What's New?" to talk about input quantity 2015-04-08 12:10:06 -07:00
Andrew Miner 04a469d911 Fix bug in crafting plan with secondary outputs
Fix a bug in the crafting plan where it would determine the number of
repetitions of the recipe only based upon the primary output even
when the recipe was needed only for a secondary output (e.g., when a
recipe calls for Creosote Oil, which is only produced as a secondary
output).
2015-04-08 11:48:44 -07:00
Andrew Miner 78cc1bf297 Fix minor display issues with input quantities 2015-04-08 11:34:14 -07:00
Andrew Miner 7818bda83f Fix recipe slug to account for input quantity 2015-04-07 21:28:09 -07:00
Andrew Miner 144aa1bf32 Allow item stacks as input for recipes
* Create the SlotController and refactor it into the various places
  where a crafting grid or crafting output is displayed
* Update the Recipe model to allow each "input" stack to retain the
  count indicated in the data file. This required changing how a few
  other classes interact with it in order for them to get the full
  stack back again for each input (instead of just getting the item
  slug)
* Update the ModVersionParser to allow for full stacks to be given
  as input and refactored common code out for handling input/output/
  tools stacks
2015-04-07 19:21:02 -07:00
Andrew Miner b9e4fd15f4 Remove old "What's New?" content 2015-04-06 13:36:57 -07:00
Andrew Miner 8aaf82db02 Use new item picker for inventory manipulations 2015-04-06 13:34:18 -07:00
Andrew Miner 99d486f33b Update "What's New?" to add Extra Utilities 2015-04-06 11:35:19 -07:00
Andrew Miner b5e11bf3af Merge branch 'extra-utilities' of https://github.com/TiuTalk/crafting-guide into TiuTalk-extra-utilities 2015-04-06 09:55:19 -07:00
Andrew Miner e5cff0d62b Update "What's New?" section for search feature 2015-04-06 09:41:07 -07:00
Andrew Miner 136ebb4187 Add site-wide search function 2015-04-05 18:33:51 -07:00
Thiago Belem b693193d16 Add Extra Utilities 1.2.2 2015-04-05 16:46:55 -03: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 23debbbaf5 Annouce Ender Storage, prerender pages 2015-04-04 17:37:06 -07:00
Thiago Belem 0f2618c03c EnderStorage 1.4.5.29 2015-04-04 17:41:06 -03:00
Andrew Miner 2f3c542330 Fix spelling error 2015-04-03 20:03:57 -07:00
Andrew Miner cf955d0b5c Update "What's New?" section for Mekansim 2015-04-03 19:51:27 -07:00
Andrew Miner 0b043b9677 Use MarkdownSectionController on item page 2015-04-03 18:01:38 -07:00
Andrew Miner 8f7f513880 Show all items produced by a given tool
When considering recipes for the various "related items" sections, be
sure to include all items produced by the related recipes.
2015-04-03 18:01:38 -07:00
Andrew Miner 40b2801e16 Rebase Mekanism branch to master 2015-04-03 18:01:37 -07:00
Andrew Miner d9ed9e5bfd WIP 2015-04-03 18:01:37 -07:00
Andrew Miner fd79eb77bb Update "What's New?" section 2015-04-02 16:08:49 -07:00
Andrew Miner 50344d3a03 Update to Buildcraft 6.4.6 2015-04-02 15:58:14 -07:00
Andrew Miner b738eaad02 Hide login feature for now 2015-04-02 11:06:42 -07:00
Andrew Miner ad897b80c0 Complete the login feature 2015-04-01 13:31:07 -07:00
Andrew Miner 764f835698 Add first half of login process 2015-03-30 18:39:37 -07:00
Andrew Miner 321cffcdcc Add unit tests to verify data integrity 2015-03-25 19:11:19 -07:00
Andrew Miner 873434e938 Refactoring tests and moving code to common module
1. All tests have been converted into regular command-line mocha
   tests (instead of running in the browser), and the deployment
   script has been changed to automatically fail any `--new`
   deployment which doesn't pass.
2. Several small class (e.g., `Logger`) have been moved into a common
   module, `crafting-guide-common` so that they may be shared between
   the client and server.
2015-03-25 14:42:15 -07:00
Andrew Miner c7322ccf83 Fix issues with Google Adsense 2015-03-24 19:50:39 -07:00
Andrew Miner 9a4860a0e5 Update "What's New?" section for Iron Chests 2015-03-24 19:05:36 -07:00
Andrew Miner d964047974 Update markdown processing to handle more cases 2015-03-24 19:05:13 -07:00
Andrew Miner 4a45be71f9 Add Iron Chests mod 2015-03-24 17:14:11 -07:00
Andrew Miner 96ddd1bd4d Update markdown parsing to allow wiki links
Any link inside a item detail page's markdown description which does
not have a URL will be assumed to be the name of an item covered by
Crafting Guide and an URL will be added to reference the appropiate
browse page.
2015-03-24 17:12:25 -07:00
Andrew Miner 492d6854ac Update the "What's New?" section 2015-03-24 08:57:39 -07:00
Andrew Miner dd9645ef38 Add JABBA 2015-03-24 08:53:41 -07:00
Andrew Miner 7c99f77639 Fix more animation bugs 2015-03-22 09:22:41 -07:00