Commit Graph
384 Commits
Author SHA1 Message Date
Andrew Miner c31e511080 Fix a bunch of internal links to avoid reloading 2015-03-01 16:38:12 -08:00
Andrew Miner 6c40711f73 Improve perf. of mod version parsing
Add a SimpleStack model which is identical to the regular Stack model
except for not being a Backbone.Model subclass.  Since so many stacks
are created during mod version parsing, this makes about a 50%
difference in performance during loading.
2015-03-01 12:08:04 -08:00
Andrew Miner d530ff73a3 Ensure page titles are always correct 2015-03-01 11:18:30 -08:00
Andrew Miner ef63d6f110 Add initial version of the Browse page 2015-03-01 10:35:37 -08:00
Andrew Miner b79369980c Fix styling issue with Full Recipe view 2015-03-01 08:53:56 -08:00
Andrew Miner 7182a643ec Design the new "Browse" main page 2015-03-01 08:50:10 -08:00
Andrew Miner f02ad943e5 Rename ModController to ModSelectorController 2015-03-01 08:49:42 -08:00
Andrew Miner 05d2e8b3a4 Add initial version of configure page 2015-02-28 21:14:00 -08:00
Andrew Miner 43dfec7e04 Add initial version of the home page 2015-02-28 18:52:34 -08:00
Andrew Miner 7210245cc6 Initial version of header nav bar 2015-02-28 13:47:51 -08:00
Andrew Miner 2aa65d5e34 Add "Used as Tool to Make" section on item detail 2015-02-26 20:04:41 -08:00
Andrew Miner c78828426f Edit quantity per row in inventory view
Change the inventory view to make editing of quantities happen on
the individual rows instead of having to get the quantity right
before adding the item.
2015-02-24 19:55:32 -08:00
Andrew Miner 4f1faab2e8 Convert OmniGraffle files to binary 2015-02-24 18:18:16 -08:00
Andrew Miner 4a724b5157 Tweak new header page design 2015-02-24 18:17:26 -08:00
Andrew Miner 14a7344fcd Allow up to 9999 of a single item stack 2015-02-24 17:59:03 -08:00
Andrew Miner 0652fdda09 Update designs to sketch out new header 2015-02-24 17:56:25 -08:00
Andrew Miner 963147104a Use placeholder images for item groups 2015-02-23 20:17:20 -08:00
Andrew Miner aa6bdacf90 Merge branch 'master' of github.com-andrewminer:andrewminer/crafting-guide 2015-02-23 19:25:51 -08:00
Andrew Miner 8f82072af3 Add links to tool names under crafting grids 2015-02-23 19:25:35 -08:00
Andrew Miner d131d09602 Add new forum post message 2015-02-23 10:29:16 -08:00
Andrew Miner aa42053c6e Optimize perf. of crafting algo. (55% savings) 2015-02-22 23:19:12 -08:00
Andrew Miner e89d7a87c7 Optimize perf. on name finding 2015-02-22 22:03:54 -08:00
Andrew Miner 9f0d19d9e4 Adjust animations, fix bugs, and tweak a few algos
* Adjust page change animations to slide the page closed and then
  open again.
* Add Railcraft to the standard set of mods
* Change every controller which uses an `ImageLoader` to only accept
  it from a parent controller (with the router creating the one
  shared instance).
* Fix several places where controllers need to refresh when the mod
  pack changes
* Fix a few places which should be using the `ImageLoader` but were
  not.
* Remove a number of animations which caused performance issues (esp.
  animating individual items in item group views).
* Fix a bug where changing the current version of a mod didn't cause
  the current crafting plan to be re-evaluated
* Simplify the name finder to allow regular expressions instead of
  the current algorithm
2015-02-22 21:31:48 -08:00
Andrew Miner 87d1868c81 Add missing image for Track from Railcraft 2015-02-22 21:30:27 -08:00
Andrew Miner 689129570d Fix images for MC1.7.10 2015-02-22 21:12:19 -08:00
Andrew Miner ec99d8a63f Add data files and images for Railcraft 9.5.0 2015-02-22 21:11:57 -08:00
Andrew Miner 0e89dab989 Bug: Show all on item detail when mod disabled
When the mod to which an item belongs is disabled, the item detail
page should continue to show all the relevant sections: including
those which rely on recipes which ordinarily would be hidden because
the mod is disabled.
2015-02-19 14:13:18 -08:00
Andrew Miner de9b323f3a Add groups to TE4 2015-02-19 13:39:18 -08:00
Andrew Miner 238bfb8eca Update IC2 with recipes for vanilla items 2015-02-19 11:32:41 -08:00
Andrew Miner 2d330eedcd Fix various minor bugs
* Fix "update" recipes in IC2 classic to use the new "update" command
* Remove the crafting plan model from the item detail page as it isn't
  being used there right now and can be slow for complex items
* Update the `Recipe.compareFor` method to be able to work without an
  item slug as a reference
2015-02-19 10:51:52 -08:00
Andrew Miner 89247246bd Run all mod-version.cg files through reformat 2015-02-19 10:26:51 -08:00
Andrew Miner e3486540cb Fix bugs in reformat script from recent refactor 2015-02-19 10:19:10 -08:00
Andrew Miner 96bb226492 Don't use class names in comparisons 2015-02-19 08:45:36 -08:00
Andrew Miner d05167ca02 Fix recipe in AE2 2015-02-19 08:39:34 -08:00
Andrew Miner dc51dfa777 Fix errors in recipes 2015-02-18 23:03:50 -08:00
Andrew Miner cdf33f4b44 Bug: Allow 'update' recipes to be found properly
Fix a bug where `ModPack.findRecipes` would only look for recipes for
qualified slugs in the mod which added the item, thus missing any
recipes added in other mods.
2015-02-18 22:41:39 -08:00
Andrew Miner b1a6637005 Major updates to the crafting algo.
* Update crafting algo. to favor highest output recipes for making
  items, and to be more flexible about trying a variety of recipes if
  some one recipe doesn't work.
* Modify crafting algo. to allow crafting of "gatherable" items.
* Update logger to support indent/outdent for clearer formatting
* Convert IC2 Forge Hammer / Cutter recipes to treat them as tools
2015-02-18 21:29:21 -08:00
Andrew Miner aab3baec1a Fix misc. bugs caused by refactoring 2015-02-18 16:11:17 -08:00
Andrew Miner e88821d449 Convert codebase to using ItemSlug
* Flesh out the formerly incomplete ItemSlug class
* Convert all uses of text item slugs to use ItemSlug
* Move the ItemSlug class under models where it properly belongs
* Avoid the use of `slug` as a local variable or item attribute
  wherever possible to avoid confusion between various kinds of slugs
* Merge the InventoryParser class into the Inventory class as it is
  unlikely to need to support multiple versions
* Simplify the ModPack/Mod/ModVersion interfaces by replacing the use
  of various "helper" methods with equivalent use of more generic
  methods
* Update the various methods of ModPack/Mod/ModVersion to be able to
  work with qualified or unqualified ItemSlugs
* Remove the unused BaseCollection class
* Add tests for ItemSlug and update all other tests to reflect
  all the other changes
2015-02-18 10:30:53 -08:00
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