Commit Graph
467 Commits
Author SHA1 Message Date
Andrew Miner 05d1f39464 Display error state when calculation is impossible 2015-11-10 20:32:20 -08:00
Andrew Miner ff398b4a2f Fix bugs with new crafting algo 2015-11-10 20:08:03 -08:00
Andrew Miner 4e95ab998f wip 2015-10-31 13:21:14 -07:00
Andrew Miner 74e95e614b Add CraftingPlan to compute resource requirements 2015-09-27 13:57:21 -07:00
Andrew Miner de04c79d17 Add new CraftingPlan class 2015-09-22 19:54:31 -07:00
Andrew Miner 6ea97ac3aa Add plan builder and tests 2015-09-19 09:31:14 -07:00
Andrew Miner f6b71c9464 Add visitor pattern to crafting nodes 2015-08-28 19:16:12 -07:00
Andrew Miner badb854107 Remove unused code 2015-08-25 21:37:10 -07:00
Andrew Miner ea82518b0d Add code to build crafting trees 2015-08-25 21:15:08 -07:00
Andrew Miner b12fba54af Update landing page with news 2015-07-25 14:51:17 -07:00
Andrew Miner d0bd435255 Don't show recipes whose tools aren't enabled 2015-06-12 15:49:45 -07:00
Andrew Miner b27adaa8b6 Fix bug in parser to show correct error message 2015-06-12 14:43:58 -07:00
Andrew Miner b139d94d4d Add an "ask a question" link to item descriptions 2015-06-12 14:28:45 -07:00
Andrew Miner c5c8ace7aa Refresh UI when multiplier changes on a step 2015-06-12 14:13:15 -07:00
Andrew Miner b904bf933b Copyediting on home page message 2015-06-12 09:36:05 -07:00
Andrew Miner c202321cb0 Update the home page for the image upload feature 2015-06-12 09:25:11 -07:00
Andrew Miner e698105309 Allow user to select same file multiple times
It's common that a user may way to edit a file (e.g., to make it
smaller if given an error message), and this allows the user to
select the same file name multilple times (which ordinarily the
file element will ignore).
2015-06-12 09:12:35 -07:00
Andrew Miner 0f974e6d3d Show specific error messages before missing image 2015-06-12 08:49:17 -07:00
Andrew Miner b942e29829 Fix two bugs
* Make sure no elements of the markdown section are displayed when
  they shouldn't be by taking advantage of the jQuery animation
  queue
* Don't crash when the user cancels selecting a file
2015-06-11 15:13:55 -07:00
Andrew Miner c130a6d264 Fix Bug: Avoid crash when setting model on MD page
When the model is set on the MarkdownSectionController before it has
been rendered, it crashes attempting to set the value into the
textarea (which doesn't exist yet).
2015-06-11 13:15:43 -07:00
Andrew Miner f5cc4fe98a Only fetch images in edit mode 2015-06-11 13:06:12 -07:00
Andrew Miner 1ed4a92700 Fix bug: Only save files when they have changed 2015-06-11 11:46:19 -07:00
Andrew Miner f30fdc0c4b Upload files one at a time & fix encoding problems 2015-06-11 11:07:25 -07:00
Andrew Miner 7571815018 Restrict uploaded image size 2015-06-10 16:51:41 -07:00
Andrew Miner 9d0ce8547a Upload new/changed images to GitHub when saving MD 2015-06-09 15:41:04 -07:00
Andrew Miner 4e39b9bb0c Add error message and disabling of preview button 2015-06-08 12:27:36 -07:00
Andrew Miner 3535c19db0 Show loading state when checking for MD images 2015-06-08 10:45:35 -07:00
Andrew Miner 622f80d153 Use uploaded images in markdown preview 2015-06-08 09:01:53 -07:00
Andrew Miner 6e82194ad8 Add the ability to read a local file as base64 2015-06-07 17:48:08 -07:00
Andrew Miner 2227e81b8b Update image list to fetch images from GitHub 2015-06-07 14:13:30 -07:00
Andrew Miner dd760018df Add UI/models to allow uploading images 2015-06-05 22:47:40 -07:00
Andrew Miner bdec1643f8 Add meta description tags 2015-05-30 18:22:17 -07:00
Andrew Miner 775da32510 Always show the description section on item page 2015-05-29 18:01:15 -07:00
Andrew Miner 0b07bdb482 Update crafting page checks to fade in
Update the crafting page so that the check mark for each step only
appears when hovering over that step, and so that the check also has
some descriptive text helping the user understand what it does.
2015-05-29 12:49:13 -07:00
Andrew Miner 3f50072da1 Allow easy use of the offline CG client 2015-05-27 16:57:22 -04:00
Andrew Miner 06eea0aa48 Add support for conditional recipes 2015-05-20 18:07:39 -07:00
Andrew Miner c41d531d57 Sort recipes by those with the least missing tools 2015-05-20 16:27:03 -07:00
Andrew Miner a5a1322959 Clear user credentials when logging out 2015-05-14 17:16:51 -07:00
Andrew Miner 8efad2d6a1 Make the preview step preceed save 2015-05-14 11:36:13 -07:00
Andrew Miner 39b3cd6111 Add instructions to markdown editor 2015-05-14 11:06:29 -07:00
Andrew Miner aff4c18987 Auto-focus textarea when editing markdown 2015-05-14 10:49:18 -07:00
Andrew Miner 3c62c2f803 Fix invalid markup on home page 2015-05-14 10:44:43 -07:00
Andrew Miner e4df854628 Update "What's new?" message for the wiki feature 2015-05-13 21:59:57 -07:00
Andrew Miner ea416921c8 Add "What's New?" message for wiki editing feature 2015-05-13 21:55:28 -07:00
Andrew Miner db31c3bd7e Show waiting gif until mod data is loaded 2015-05-13 17:52:15 -07:00
Andrew Miner 2b0584935c Bug: Ensure state happen at the correct times 2015-05-13 12:47:37 -07:00
Andrew Miner 4abc879600 Update publish scripts 2015-05-13 11:12:48 -07:00
Andrew Miner a545628e04 Bug: Prevent invalid UI states in markdown editor
When rapidly transitioning between various states, the markdown
editor could wind up with a weird mixture of UI elements showing as
some of transitions were dropped because they followed too quickly
on the heels of another transition.

This change fixes the problem by changing how the BaseController's
`hide` and `show` functions work. They now set a "target" state on
the element and, during each step of the animation, check whether
the target has changed. If so, the transition begins to work in
reverse to return to the prior state.
2015-05-13 09:12:44 -07:00
Andrew Miner 7a05862be2 Update API server URL for staging 2015-05-11 15:06:30 -07:00
Andrew Miner e2f8d83c6b Update GitHub client ID for staging 2015-05-11 15:04:31 -07:00