Commit graph

53 commits

Author SHA1 Message Date
5037361052 Fix "same attribute" calculation in card level calc
The actual amount of EXP required does not change, it's
just that if fed same attribute cards, they give 120 EXP
rather than 100 EXP.
2016-01-15 13:09:29 -08:00
b5bfa2dc5a Add MedFes calculations for # of songs needed to play 2015-12-08 21:35:23 -08:00
53137ab8a2 Don't put parenthesis if time remaining < 24 hrs 2015-10-31 23:25:04 -07:00
bc53505c16 Refactor EXP table lookups 2015-10-26 10:30:33 -07:00
90a77b20e8 Add option to account for 1.2x bonus when feeding cards of same attribute 2015-10-25 02:49:27 -07:00
21d184d671 Need to go back to the old way of triggering radio button updates 2015-10-23 18:12:07 -07:00
31b0d36abc Move UI update (show/hide) code into a new update_ui() func 2015-10-23 13:43:21 -07:00
5a4ad87273 Duh, card_set_max_level() should use get_level_cap() 2015-10-22 15:35:20 -07:00
0f07e6e475 Add "max level" button and overkill detection
* "max level" button to quickly fill in a card's max level
* "overkill" detection detects when you are feeding way more
  EXP than is necessary to max level a card.
2015-10-22 15:33:25 -07:00
3ab33e8624 Events were being calculated even if not selected 2015-10-21 16:04:47 -07:00
654fa9ffce Run all html/js through prettifiers 2015-10-21 15:47:36 -07:00
eecbc71b53 Add TODOs 2015-10-21 03:53:33 -07:00
fa43efa937 Put gem calc reset button in the hidden results div
Doesn't make sense for it to be displayed when the results aren't
2015-10-21 02:07:09 -07:00
0c400e05fb Reset event type to Token at start of each run 2015-10-21 02:05:25 -07:00
9ab51a3599 Add abort condition to "date when you have X gems" calculator
If a user puts in unattainable values (i.e. Tier 1 all the things
and doesn't have any gems to start with, i.e. net loss) then this
calculation could spin on into infinity, causing browser freak out.
We now set an arbitrary limit of 5 years, if the desired amount of
gems can't be obtained within that time, we bail.
2015-10-21 02:00:40 -07:00
80624a9cca Finish event and JP daily quest gem calculators
NOTE: Medley Festival data is still not present.
Actually all event data should be reviewed, e.g. do a proper
calculation for tier cutoff averages, maybe different averages
for EN vs JP, etc.
2015-10-21 01:29:08 -07:00
0eb8c0956c Add options for "daily quest" gems on JP
No code yet to actually use this option (nor is there code to do
events) but the options are there
2015-10-20 23:26:22 -07:00
2f0068b047 Save users' last used tab, go back to it when page reloads
This also adds general cookie read/write support which I may
use in other parts of the app (e.g. saving data that is entered
in the fields for levels/exp/gems/whatever)
2015-10-20 18:00:27 -07:00
b94b99c7f7 Rename sif-tools.css to sif_tools.css because, you know, consistency. 2015-10-20 17:54:35 -07:00
e330b429da More iOS web app fixes 2015-10-20 15:47:56 -07:00
86a051b290 More iOS web app tweaks
* add apple-mobile-web-app-capable meta tag for home screen web app
* set viewport to device-width
2015-10-20 15:37:59 -07:00
9575411593 Hide address bar on mobile browsers 2015-10-20 15:34:58 -07:00
46e474d383 Fix two problems with keypad adding code
* had the if-condition backwards
* fields must be set readonly=false if NOT using keypad
2015-10-20 12:43:13 -07:00
29a6eed349 Only use keypads when on mobile devices 2015-10-20 12:39:46 -07:00
f9b3b05854 Only fetch tweet data once at 37 minutes past the hour
It was triggering for every second at xx:37 (60 times), oops
2015-10-19 01:38:34 -07:00
c1001ba0fe Make the web app take up all available screen space
Had the HTML body set with absurdly huge margins. Now we have
much more space to work with. I also lengthened the button
names so that they hopefully make more sense, now that we have
more space to work with.
2015-10-19 00:01:18 -07:00
e9ad69cb79 Start work on additional features of gem calc
* account for JP daily gem "quests"
* account for events (going to be a crude approximation at best)
2015-10-18 23:41:21 -07:00
dfc2605895 Add unused date.js, and add info on third party code in use to README 2015-10-18 15:58:02 -07:00
3b9f80f6cf Add notes indicating the degree of crappiness of my tweet parsing
"algorithm"
2015-10-18 15:48:10 -07:00
324533a8a5 Clear tier info when clearing timer 2015-10-18 14:23:20 -07:00
fbc0f89c91 Switch to alternate timepicker that works better on mobile 2015-10-18 14:20:29 -07:00
b6dfba391c Even more shortening
Also got rid of the silly "Rank Calculator" title on the
rank calculator, it isn't really needed plus it was the only
page that had a title, which looked strange
2015-10-18 01:57:36 -07:00
9b4b403db9 Shortened some stuff to make web app fit better on smaller screens 2015-10-18 01:56:19 -07:00
eb843939d8 Use field placeholder to indicate optional values instead of HTML text 2015-10-18 01:47:49 -07:00
23624b8553 Switch to jQuery based numpad instead of relying on system keyboard 2015-10-18 01:45:19 -07:00
d5a2292bf2 Further reduce size of number input boxes 2015-10-18 00:20:46 -07:00
84d80ef4db Fix text fields so they don't look so dorky
Now using <input type="number" pattern="\d*" step="1"> so that
the text field will pop up the numeric keyboard on both iOS and
Android. However this makes the "size=<blah>" no longer function.
So we set a fixed size for all <input type="number"> text fields
using CSS. Kinda hackish, but it works.
2015-10-17 22:54:12 -07:00
c07d35921a More iOS prettifying
* using <div> instead of <textarea> for gem verbose area, and
  formatting the verbose reports using HTML
* fix some mismatched div's and (try to) reindent html (need a
  better html reindenter)
2015-10-17 22:43:51 -07:00
89b972ddc7 Add notes that EXP values are optional 2015-10-17 22:12:54 -07:00
1a69c3dd40 Add stuff to make this into an iPhone home screen web app 2015-10-17 19:45:57 -07:00
260e53203b Usability fixes for iOS devices (and possibly Android)
* change viewport so that the page renders in large font without needing
  to scroll (nowhere near "real" responsive web UI, but good enough for
  now)
* use numeric keypad on all numeric entry fields
2015-10-17 17:54:11 -07:00
27e1044aae Add a index redirect page 2015-10-17 16:10:58 -07:00
c8db2e1f01 Add status message while tier cutoff data is being updated 2015-10-16 04:38:22 -07:00
0eb8ba2ab7 Fetch @sifen_trackbot tweets at 37 minutes past the hour
1 minutes' worth of slop is more than enough, it seems to be
pretty timely with its updates
2015-10-15 02:38:34 -07:00
0953aa809b Add hourly updates from @sifen_trackbot to event timer
This is VERY hackish, it was literally a "gee wouldn't it be
cool if it could do this? *whip out editor and start coding like
a madman*" things. But it works (for now). Needs a lot of future
proofing (and general rewriting) though.
2015-10-15 02:35:30 -07:00
679ab68e2e Improve time display logic 2015-10-14 12:52:47 -07:00
4b87fe5a7b Finish the web app
Remove the "the web app is not complete" message since it is now
complete. Also remove some bogus comments and add copyright, etc.
to the JS file.
2015-10-13 19:32:14 -07:00
4e28f534e3 Add event timer 2015-10-13 19:29:17 -07:00
8e6f7a4365 Rename sif-tools to sif_tools because, consistency. 2015-10-13 18:27:37 -07:00
b8185d3c2f Finished card level calc 2015-10-13 16:53:06 -07:00