Commit Graph
81 Commits
Author SHA1 Message Date
Andrew Miner aa43e97c6c Small tweaks to multiblock display 2015-11-24 23:35:58 -08:00
Andrew Miner dfe10dae9a Add cursor over multiblock display 2015-11-24 17:59:17 -08:00
Andrew Miner 7dbfd25ef3 Add basic support for displaying multiblock steps 2015-11-22 22:33:15 -08:00
Andrew Miner 2ebde018cf Fix bug preventing inventory from saving 2015-11-17 21:23:28 -08:00
Andrew Miner 9cbdfd47e9 Replace quantity value onBlur 2015-11-16 17:43:06 -08:00
Andrew Miner 06c19ed7ee Add "clear" button to the inventory UI 2015-11-15 12:38:12 -08:00
Andrew Miner 74f6d2db53 Add "Make this tool" button 2015-11-15 11:02:59 -08:00
Andrew Miner 038b1661a0 Separate "have" from "need" sections on craft page 2015-11-14 10:32:45 -08:00
Andrew Miner d12a318dfa Improve perf. by not showing/hiding waiting 2015-11-10 21:04:20 -08:00
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 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 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 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 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 aff4c18987 Auto-focus textarea when editing markdown 2015-05-14 10:49:18 -07:00
Andrew Miner 2b0584935c Bug: Ensure state happen at the correct times 2015-05-13 12:47:37 -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 64274810d7 Fix programmer error in login flow 2015-05-11 12:08:59 -07:00
Andrew Miner 8c54231d52 Fix routing so both plain and .html routes work 2015-05-11 11:23:16 -07:00
Andrew Miner 23e98f5d31 Allow new item description files to be created 2015-05-11 09:20:42 -07:00
Andrew Miner 8eb5cef71b Allow submitting changes for item desc. to GitHub 2015-05-08 16:16:17 -07:00
Andrew Miner 8b94f432b0 Update MarkdownSectionController with support for editing
This allows the MarkdownSectionController and ItemPageController to
work together to begin an editing session for an item description.
2015-05-07 11:19:36 -07:00
Andrew Miner 54194d3f0a WIP 2015-05-05 14:01:39 -07:00
Andrew Miner b2320752f8 Tweaks style of markdown tables to auto-resize 2015-05-03 21:16:24 -07:00
Andrew Miner 8334012ea5 Switch to using "marked" as a markdown parser 2015-05-02 17:41:13 -07:00
Andrew Miner 930b8049a2 Convert site to a single JavaScript archive
* Convert build to use a single JavaScript file on the site (instead
  of downloading each library separately). This also means that all
  global variables (e.g., `$` for JQuery, `_` for Underscore.js) can
  be removed.
* Remove unused scripts and/or move them to a more appropriate repo
* Update the `deploy` script to work with CircleCI's automation
* Update markdown display code to allow images to be located with the
  markdown data files instead of the pre-rendered index pages
2015-04-29 19:58:53 -07:00
Andrew Miner 2d4f60abc2 Move mod content into a separate module 2015-04-27 13:30:38 -07:00
Andrew Miner 4ca72fe512 Update AdsenseController to show ads to fit space 2015-04-22 16:28:27 -07:00
Andrew Miner 37c9fe7502 Fix several small bugs
* Fix AddThis component not showing up by altering the URL they
  provide to use GET parameters instead of the hash component
* Fix a bug with saving the "have" items on the crafting page
2015-04-20 22:02:01 -07:00
Andrew Miner cc67fce5a2 Add "nothing" placeholder for empty inventories 2015-04-20 11:26:21 -07:00