Commit Graph
43 Commits
Author SHA1 Message Date
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 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 54997a2c89 Tweak headers to make them smaller on the page 2015-02-02 10:55:35 -08:00
Andrew Miner 8d7fd5d25c Add "remove" button to inventory view 2015-01-31 20:53:09 -08:00
Andrew Miner 6e3843731b Allow items to be grouped on mod detail pages 2015-01-30 13:03:10 -08:00
Andrew Miner a365217890 Add documentation & download links to mod page 2015-01-30 10:19:41 -08:00
Andrew Miner 11adb30610 Bug: Always fetch effective mod version 2015-01-29 14:11:01 -08:00
Andrew Miner 332f64abea Initial version of mod detail pages 2015-01-29 10:04:11 -08:00
Andrew Miner 71b25a8a16 Move images in inventory to the left 2015-01-28 11:17:30 -08:00
Andrew Miner 64b6b97807 Allow user to select actual version of a mod 2015-01-22 12:06:47 -08:00
Andrew Miner 164c0d4892 Add nascent version of the mod detail page
* Create a nascent version of the mod detail page
* Make the slug mandatory for Mod instead of name, and load the name
  from the data file
* Make the Feedback view universal on all pages
* Refactor the use of mod pack to have a single global object at the
  router level which is shared between pages. Further, make this one
  object load itself immediately and have it automatically load any
  activated mod version
* Refactor the use of Storage related to mod pack versions into the
  router as well.
* Add trace logging back in for events, but allow individual classes
  to suppress it (as opposed to actually supressing the events)
* Fix a bug in ModVersion.eachItem where it would suggest so-called
  items which are merely registered slugs without associated items
2015-01-20 10:55:38 -08:00
Andrew Miner ecc839cca8 Factor out the ReceipeController 2015-01-18 16:37:23 -08:00
Andrew Miner d1621bb9f6 Refactor ModVersion into Mod and ModVersion
* Remove V1 of the mod version parser and shift V2 up to be V1
* Add a parser for mod.cg files, and refactor the the mod-version.cg
  files to push the appropriate content up to the mod.cg
* Remove the concept of "silent" from BaseModel along with logging
  each event as they are fired (which is what really prompted the
  need for it in the first place)
* Move use of the Storage class to be completely the province of the
  controllers most closely related to models affected
* Convert the ModVersionController to the ModController and have it
  take on responsibility for choosing the mod version
* Update BaseModel to support simple accessors for the current state
* Update CraftingPlan to be able to remove uncraftable items
* Implement the Mod model
2015-01-18 10:48:12 -08:00
Andrew Miner 83868e2760 Massive refactoring to clean up models
* Tweak style of quantity label in output box to be more visible
* Move data files for all mods under a directory for the specific
  version of the mod
* Add a `silent` property to the base model to prevent models which
  shouldn't be observed from emitting events
* Change the term "itemSlug" to just "slug" across the board
* Change all models so that they don't require their parent in their
  constructors and so that they don't automatically add themselves to
  their parents lists
* Remove a bunch of unnecessary event triggering
* Tighten up access to various lists of children across all models
* Refactor the guts of the V2 parser into an abstract base class so
  it can be used for other parsers in the future
* Remove a number of unused methods
2015-01-17 11:49:07 -08:00
Andrew Miner 33b9214386 Add a "report a problem" link in crafting plan 2015-01-15 21:59:03 -08:00
Andrew Miner a50e3d9621 Add button to suggest a new mod 2015-01-15 14:43:17 -08:00
Andrew Miner c510c5a1da Add feedback widget 2015-01-12 12:35:36 -08:00
Andrew Miner 1b2552a20a Remove ability to upload recipe books 2015-01-10 12:31:12 -08:00
Andrew Miner 9756f1f045 Allow "have" inventory to include non-craftables 2015-01-10 11:55:07 -08:00
Andrew Miner 59b9f0b29e Adjust the appearance of the crafting table 2015-01-10 10:50:05 -08:00
Andrew Miner b8a0918541 Complete the Crafting Table view/controller
* Add output box to the crafting table view
* Add remaining crafting patterns to all MC 1.7.10 recipes
* Add all crafting patterns to Buildcraft 6.2.6
* Disable mods which don't have patterns yet
* Add the Url constants for computing urls from templates
* Add the `findItemDisplay` to ModPack (along with tests) and remove
  all replace all uses of `getPathSlugs` with it
2015-01-09 10:08:02 -08:00
Andrew Miner b8d60ac245 Add shaped crafing and recipes for MC 1.7.10 2015-01-08 22:01:02 -08:00
Andrew Miner 7954b86140 Add label showing tool names 2015-01-08 14:57:43 -08:00
Andrew Miner fb3db0f393 Add in next/prev buttons for crafting table 2015-01-08 12:34:33 -08:00
Andrew Miner 9424af9d84 Initial version of the new crafting table 2015-01-08 11:03:43 -08:00
Andrew Miner f51082a1cb Add ability to craft multipl items at once
* Remove the old crafting table view
* Complete UI/UX of the inventory view
2015-01-07 08:31:53 -08:00
Andrew Miner a1a7ee5dc9 Initial implementation of the InventoryController 2015-01-06 10:25:05 -08:00
Andrew Miner 206973e304 Update header comments 2015-01-05 06:42:05 -08:00
Andrew Miner 549abc1224 Improve layout of stacks in crafting table 2015-01-04 11:35:43 -08:00
Andrew Miner 150e85bb49 Display images for each item referenced 2015-01-04 01:01:00 -08:00
Andrew Miner 3493c41b39 Fix bug where deep links don't compute 2015-01-01 20:54:16 -08:00
Andrew Miner ca5fed7f26 Update UI to reflect Recipe Catalog -> Mod Pack 2015-01-01 20:18:01 -08:00
Andrew Miner e14a4d0810 Rename RecipeCatalog to ModPack 2015-01-01 20:16:38 -08:00
Andrew Miner f28a763b13 Rename RecipeBook to ModVersion 2015-01-01 20:12:27 -08:00
Andrew Miner 2dd4b7014f Continue to look for recipes in disabled books
Update models so that when a recipe book is disabled, it no longer is
used for finding names to display in the UI, but it is still used for
finding recipes to make.
2014-12-29 12:38:07 -08:00
Andrew Miner 004320d052 Fix bug with recipe books table 2014-12-29 09:07:39 -08:00
Andrew Miner bf113d26ab Update URL scheme to include /item/*
* Update the router to understand /item/:name routes in addition to
  v1.0-style parameterized routes
* Add support for updating the current URL based upon the item being
  viewed
* Change LandingPage* to ItemPage*
2014-12-28 12:59:29 -08:00
Andrew Miner 1a84ce2e28 Complete basic crafting functionality 2014-12-24 19:17:37 -08:00
Andrew Miner 95c15abe10 Added CraftingTable* components and UI 2014-12-23 20:26:36 -08:00
Andrew Miner b05fc4c5c9 Complete the RecipeBook controller 2014-12-23 09:12:02 -08:00
Andrew Miner 16832e02dd Step 1 in converting to a Backbone-based website 2014-12-22 16:36:04 -08:00