Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Andrew Miner 7d1f8c57a4 Add Google Webmaster Tools verification page 2015-01-31 21:09:53 -08:00
Andrew Miner 8d7fd5d25c Add "remove" button to inventory view 2015-01-31 20:53:09 -08:00
Andrew Miner e0c642e787 Store want/have in URL/local storage 2015-01-31 15:48:24 -08:00
Andrew Miner 6d63824d76 Add groups to IC2-exp 2015-01-30 20:09:59 -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 d0c3d4de5e Enabled mods if needed to match requested URL 2015-01-30 09:48:57 -08:00
Andrew Miner a49e638b3a Make "output" also route internal links 2015-01-30 09:33:22 -08:00
Andrew Miner ba5924c60c Refactor SCSS into separate files 2015-01-30 09:33:06 -08:00
Andrew Miner d226f30d2a Add disabled states for buttons 2015-01-29 16:23:35 -08:00
Andrew Miner 854e8aa4c8 Mention "including tools" in report a problem 2015-01-29 16:17:13 -08:00
Andrew Miner 2b5fd536b2 Add latest blog posting 2015-01-29 16:16:53 -08:00
Andrew Miner 11adb30610 Bug: Always fetch effective mod version 2015-01-29 14:11:01 -08:00
Andrew Miner 841af15d5e Fix bugs in intra-site linking
* Refactor event handling in controllers to use a method to define
  the hash (and thereby allow inheritance)
* Refactor link handling so that links which should be handled by the
  router can be handled by the base class
* Change the router to throw out controllers for pages which aren't
  on-screen (and thereby avoid a lot of weirdness)
2015-01-29 13:59:12 -08:00
Andrew Miner d5140f963d Fix various small bugs related to new mod page 2015-01-29 13:24:30 -08:00
Andrew Miner d0fdbdf2c6 Moke internal links use router 2015-01-29 12:13:31 -08:00
Andrew Miner cac523988e Fix recipe for BatBox 2015-01-29 10:15:34 -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 d5962ff673 Remove uncraftable items when changing mod version 2015-01-28 10:34:44 -08:00
Andrew Miner 5e63c092a1 Fix recipe for Copper Cable from cutters 2015-01-28 10:31:34 -08:00
Andrew Miner 705b3b05e1 Add getSlugs method 2015-01-28 10:28:38 -08:00
Andrew Miner d538ae5a3e Change development log level to DEBUG 2015-01-28 10:27:57 -08:00
Andrew Miner ea86e17d31 Change test description to isolate files better 2015-01-28 10:27:28 -08:00
Andrew Miner ae66f52678 Add the findRecipes method to Mod/Pack/Version 2015-01-28 10:26:19 -08:00
Andrew Miner 7ee0b55411 Add tests for the Recipe model 2015-01-28 09:59:35 -08:00
Andrew Miner b4fe6b20be Re-order Fertilizer recipes to avoid infinite loop 2015-01-24 17:36:18 -08:00
Andrew Miner c07b271d1a Remove debug logging 2015-01-24 16:37:30 -08:00
Andrew Miner 9d00883ed9 Add GA display features 2015-01-24 16:31:58 -08:00
Andrew Miner e38958d84b Add enhanced link tracking for Google Analytics 2015-01-24 16:17:40 -08:00
Andrew Miner 0c3bfdd4ff Add new forum post 2015-01-24 15:24:11 -08:00
Andrew Miner 67a03f83c2 Fix use of cutter & forge hammer
There were a few recipes which didn't list these tools as extras, and
therefore had the crafting plan making a lot of them each time
2015-01-24 14:49:22 -08:00
Andrew Miner 0d0ccb8ea5 Comment-out links to mod detail page 2015-01-24 14:33:15 -08:00
Andrew Miner 04c835d596 Remove extra Metal Former images 2015-01-24 14:32:55 -08:00
Andrew Miner c86fede085 Add direct dependency on Underscore.js 2015-01-24 14:28:59 -08:00
Andrew Miner f87b09f886 Added IC2-Exp 2015-01-24 13:42: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 6ef3473534 Tweak liquid recipes & add missing image 2015-01-22 12:06:06 -08:00
Andrew Miner eb04cee295 Fix NaN as step when reporting a problem 2015-01-21 15:39:03 -08:00
Andrew Miner c0c3bfc494 Fix reference to Crafting Guide -> Crafting Table 2015-01-21 15:38:46 -08:00
Andrew Miner 641f3f522b Fix bug where deep links didn't connect 2015-01-21 15:32:35 -08:00
Andrew Miner e612cedf8d Fix scripts and tests
* Fix the reformat script to work with recent changes
* Fix the convert-nei-dump script to remove leading and trailing '_'
* Fix various broken tests
2015-01-21 15:05:19 -08:00
Andrew Miner 3edba072d0 Add remaining recipes for Thermal Expansion 2015-01-21 15:01:52 -08:00
Andrew Miner d64f91673c Continue adding recipes for Thermal Expansion 2015-01-21 07:43:10 -08:00
Andrew Miner 9011dc19c4 Convert IC2 Classic images into NEI dump images 2015-01-20 18:25:49 -08:00
Andrew Miner 58ac95d38b Update Buildcraft with NEI dump images 2015-01-20 16:43:45 -08:00
Andrew Miner 650ef1b581 Fix ModPageController to load progressively 2015-01-20 16:14:19 -08:00
Andrew Miner bc1bcff65a Replace MC1.7.10 images with those from NEI dump 2015-01-20 16:13:32 -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 d33723b3c2 Remove old-style recipe books 2015-01-19 14:48:47 -08:00
Andrew Miner 690f895f2f Add nascent version of Thermal Expansion mod 2015-01-19 14:48:27 -08:00
Andrew Miner 8e0d7cc50c Create script to convert NEI dumps 2015-01-19 14:47:50 -08:00
Andrew Miner 823cc21ab9 Initial design for mod page 2015-01-19 11:15:32 -08:00
Andrew Miner 802697c428 Merge branch 'master' of github.com-andrewminer:andrewminer/crafting-guide
Conflicts:
	src/scripts/controllers/crafting_table_controller.coffee
2015-01-18 16:38:02 -08:00
Andrew Miner ecc839cca8 Factor out the ReceipeController 2015-01-18 16:37:23 -08:00
Andrew Miner 57bc7e08b3 Factor out the ReceipeController 2015-01-18 16:35:01 -08:00
Andrew Miner 0811a868af Fix mod controller bug with fetching
Fix a bug in the ModController where it would ask the current
ModVersion to fetch itself even when there wasn't one selected.
2015-01-18 11:21:11 -08:00
Andrew Miner 28f762abe9 Make fetch a no-up if already loaded 2015-01-18 11:15:52 -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 76dc863372 Compress generated CSS 2015-01-17 12:26:21 -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 bb959264ee Update deploy --new ot always rebuild for prod 2015-01-16 21:03:47 -08:00
Andrew Miner 3efdff6ca4 Fix bug where GA being slow to load caused crash 2015-01-16 21:03:25 -08:00
Andrew Miner c3aac86e3a Fix bug which made deep links fail 2015-01-16 20:49:41 -08:00
Andrew Miner 5f57622cf3 Several large refactorings
* Refactor location of all data files to include a subdirectory
  for the mod version
* Update the BaseModel class to allow models to load themselves from
  any text file (whether JSON or CG)
* Refactor ModPack & ModVersion to move the laoding functionality in
  one into the other (and use the new stuff in BaseModel)
* Move the parser versions into a new subdirectory which allows for
  future additional parsers
2015-01-16 20:26:54 -08:00
Andrew Miner c14997ef90 Update README.md 2015-01-16 13:11:29 -08:00
Andrew Miner ed68159b19 Fix another AE2 recipe 2015-01-16 09:03:56 -08:00
Andrew Miner 1e153d98a9 Fix recipe in AE2 2015-01-16 09:02:32 -08:00
Andrew Miner 03b46f3958 Add local storage for certain UI state 2015-01-16 09:01:06 -08:00
Andrew Miner 33b9214386 Add a "report a problem" link in crafting plan 2015-01-15 21:59:03 -08:00
Andrew Miner d94bd39e52 Refactor the SAYT code to return better results 2015-01-15 17:12:12 -08:00
Andrew Miner a50e3d9621 Add button to suggest a new mod 2015-01-15 14:43:17 -08:00
Andrew Miner 6562c5a4b8 Only report path to GA 2015-01-15 11:43:41 -08:00
Andrew Miner f7fb6cd10e Ensure the current URL is recorded for GA 2015-01-15 11:38:42 -08:00
Andrew Miner 03eacc243c Don't duplicate reports of page visits 2015-01-15 11:30:47 -08:00
Andrew Miner f0c6c055ff Ensure GA is recorded for each page change 2015-01-15 11:14:04 -08:00
Andrew Miner d2b9720e72 Fix recipe in AE2 2015-01-15 11:12:49 -08:00
Andrew Miner 355e98b032 Fix image loader bug which caused broken links 2015-01-15 09:35:00 -08:00
Andrew Miner 2e163600fa Fix missing line number bug in parser 2015-01-15 09:34:16 -08:00