Commit Graph
398 Commits
Author SHA1 Message Date
Andrew Miner 8236d82ec8 wip 2015-02-16 11:03:59 -08:00
Andrew Miner 8804605d99 Make Recipe a child of ModVersion, not Item 2015-02-15 19:01:16 -08:00
Andrew Miner a3be372e17 Don't show qualifed slugs in URL unnecessarily #94 2015-02-12 16:53:29 -08:00
Andrew Miner 0be1df9eb5 Add full recipe for IC2 Coolant Cell #93 2015-02-12 15:51:00 -08:00
Andrew Miner 1af61398f8 Add missing AE2 images 2015-02-12 15:29:27 -08:00
Andrew Miner 7a33181d1b Fix inventory remove button to appear again $92 2015-02-12 15:13:05 -08:00
Andrew Miner 151c18126a Fix ItemPage to recognize qualified slugs
When finding the other items the current item can be used to make,
the algorithm now looks for a match with either the qualified or
unqualified slug.
2015-02-10 18:05:31 -08:00
Andrew Miner 380a78ef61 Qualify all item slugs to the mod which adds them #53
* Change default item URL to fall under /mod/<mod slug>/<item slug>
  but kept the old URL pattern around with the old behavior (i.e.,
  find the first item with that slug)
* Update Item to have a `qualifiedSlug` property which combines the
  item's own slug with its Mod's slug.  Updated a lot of code all
  over to use this in preference to the plain slug.
* Add a `localizeTo` method to Inventory to allow non-qualified slugs
  to be converted into qualified slugs within the inventory's stacks
* Update ModPack to work with either qualified or unqualified slugs
  for relevant methods
* Fix model state changes to happen before related events are
  triggered
* Add a debounce to the CraftingPlan object when triggering a recraft
  due to changes in related objects (esp. its inventories)
* Update the Inventory's sort to keep items sorted by mod before name
  with the Minecraft items sorted to the top
* Fix `ModPack.findItemByName` to actually recursively use the Mod's
  method instead of slugifying the given name and looking for the
  slug (since this won't necessarily work anymore).
* Ensure each Mod is assigned a reference to its containing ModPack
* Fix NameFinder to only consider an item non-gatherable if it is
  also craftable
* Update ModVersionParserV1 to assign qualified slugs to recipes
  for any items which are in the same mod (leaving any other slugs
  unqualified)
* Add Underscore mixins for composing and decomposing slugs
* Update old tests for the use of qualified slugs, and some new tests
  for the new methods added
2015-02-10 17:56:02 -08:00
Andrew Miner 246dbcafa9 Fix some minor errors in IC2 and TE data files 2015-02-10 17:08:20 -08:00
Andrew Miner 52559e70b6 Update sitemap to avoid redirects 2015-02-09 22:21:05 -08:00
Andrew Miner 7da757bec8 Remove temp. redirect avoiding item detail page 2015-02-09 21:21:41 -08:00
Andrew Miner dc03fd3689 Merge branch 'release-2.0' of github.com-andrewminer:andrewminer/crafting-guide into release-2.0 2015-02-09 21:15:23 -08:00
Andrew Miner 0cea767f47 Fine tune animation timings 2015-02-09 21:15:10 -08:00
Andrew Miner 97659af22f Fix new links to route internally 2015-02-09 21:15:10 -08:00
Andrew Miner 816908f82a Add missing recipe for Advanced Alloy in IC2 2015-02-09 21:15:10 -08:00
Andrew Miner 0a52d16eb1 Improve logging performance by using functions
Improve logging performance by using functions to delay when complex
strings are created until after the current logging level has been
checked to ensure that log statement is actually going to be printed.
There are many places where very complex objects are printed at lower
logging levels which this avoids.
2015-02-09 21:15:10 -08:00
Andrew Miner cf6d6fdbed Add link to crafting plan from item detail #83 2015-02-09 21:15:10 -08:00
Andrew Miner 383bc5a904 Fix crafting algo. to avoid cycles #47
* Adjust recipes in Thermal Expansion to likewise avoid cycles
2015-02-09 21:15:10 -08:00
Andrew Miner e94b5b3d8d Add item declarations for non-craftable MC items
* Update the `convert-nei-dump` script to avoid overwriting an
  `mod-version.cg` file and to only add those items which are missing
2015-02-09 21:15:09 -08:00
Andrew Miner 100fb5834a Allow stack views to link to the items they show 2015-02-09 21:15:09 -08:00
Andrew Miner 618cbd7aea Set page title for item detail pages 2015-02-09 21:15:09 -08:00
Andrew Miner 4a3fd65848 Show all recipes for an item on its detail page 2015-02-09 21:15:09 -08:00
Andrew Miner 46427a70f6 First real version of item detail page
* Split the InventoryTable view/controller out from the existing
  inventory view/controller. This is a simpler component which only
  includes the table itself, and not the scrollbox, panel or header
  used on the crafting page.
* Create the FullRecipe view/controller to represent the expanded
  version of a recipe shown on the item page (as compared to the
  terser version on the crafting page).
* Rename the existing Recipe view/controller to MinimalRecipe to
  avoid confusing the two.
* Refactor the CSS for the Stack view/controller so that it can be
  shared between the Inventory and InventoryTable views.
* Incorporate all these new controllers into the item page and hook
  up the necessary model logic to drive them.
2015-02-09 21:15:09 -08:00
Andrew Miner 025d78ee9c Fine tune animation timings 2015-02-09 21:13:40 -08:00
Andrew Miner b36c032725 Fix new links to route internally 2015-02-09 20:48:37 -08:00
Andrew Miner 7b44711a82 Add missing recipe for Advanced Alloy in IC2 2015-02-09 20:42:39 -08:00
Andrew Miner fc0c117083 Improve logging performance by using functions
Improve logging performance by using functions to delay when complex
strings are created until after the current logging level has been
checked to ensure that log statement is actually going to be printed.
There are many places where very complex objects are printed at lower
logging levels which this avoids.
2015-02-09 20:41:12 -08:00
Andrew Miner 3790c26c5c Add link to crafting plan from item detail #83 2015-02-09 20:25:54 -08:00
Andrew Miner e4369ba944 Fix crafting algo. to avoid cycles #47
* Adjust recipes in Thermal Expansion to likewise avoid cycles
2015-02-09 17:36:37 -08:00
Andrew Miner b195177e1f Add item declarations for non-craftable MC items
* Update the `convert-nei-dump` script to avoid overwriting an
  `mod-version.cg` file and to only add those items which are missing
2015-02-09 15:55:39 -08:00
Andrew Miner c966bae2ab Allow stack views to link to the items they show 2015-02-09 14:53:54 -08:00
Andrew Miner af2258ff76 Set page title for item detail pages 2015-02-09 14:40:26 -08:00
Andrew Miner 289d925da8 Show all recipes for an item on its detail page 2015-02-09 14:28:21 -08:00
Andrew Miner 996c8823a3 Avoid exposing incomplete item detail page 2015-02-08 23:23:31 -08:00
Andrew Miner 6d98daa0bb Bug: Use right delimiter for URLs with quantity 2015-02-08 23:18:19 -08:00
Andrew Miner 96617a755e First real version of item detail page
* Split the InventoryTable view/controller out from the existing
  inventory view/controller. This is a simpler component which only
  includes the table itself, and not the scrollbox, panel or header
  used on the crafting page.
* Create the FullRecipe view/controller to represent the expanded
  version of a recipe shown on the item page (as compared to the
  terser version on the crafting page).
* Rename the existing Recipe view/controller to MinimalRecipe to
  avoid confusing the two.
* Refactor the CSS for the Stack view/controller so that it can be
  shared between the Inventory and InventoryTable views.
* Incorporate all these new controllers into the item page and hook
  up the necessary model logic to drive them.
2015-02-08 22:54:12 -08:00
Andrew Miner e23b6154ae Rename RecipeController to MinimalRecipeController 2015-02-08 15:16:58 -08:00
Andrew Miner 97a27f138f Initial implementation of item page (disabled) 2015-02-08 15:02:39 -08:00
Andrew Miner 0f73fc18a0 Move all /item URLs to /crafting 2015-02-07 12:37:44 -08:00
Andrew Miner 4c5d1256bc Fix recipe for 4k ME Storage Component 2015-02-06 13:07:17 -08:00
Andrew Miner 8724c13689 Adjust names for MC1.7.10 groups 2015-02-06 12:33:34 -08:00
Andrew Miner ec2b728596 Add groups to the MC1.7.10 mod version file 2015-02-06 12:30:13 -08:00
Andrew Miner 7697e121b0 Complete initial design of item page 2015-02-04 10:12:48 -08:00
Andrew Miner 1d30bc3791 Add EnderIO 2.2.7.325 2015-02-02 20:30:22 -08:00
Andrew Miner de18677318 Tweak position of output quantity for new font 2015-02-02 20:29:59 -08:00
Andrew Miner 6928d93abb Interate over the "other" group first 2015-02-02 20:29:27 -08:00
Andrew Miner 04014356f4 Switch to Silkscreen for pixel font 2015-02-02 12:05:22 -08:00
Andrew Miner 54997a2c89 Tweak headers to make them smaller on the page 2015-02-02 10:55:35 -08:00
Andrew Miner 1f76001c12 Improve the about text in the footer 2015-02-02 10:09:18 -08:00
Andrew Miner bd9bb2894f Add better page names for SEO 2015-02-02 09:59:01 -08:00