Commit graph

2047 commits

Author SHA1 Message Date
Damien Elmes
5682043427 give the graphs an option to change period 2011-04-28 09:26:49 +09:00
Damien Elmes
dcd603bbf0 use modal instead of disabling ui on progress; make smoother 2011-04-28 09:26:49 +09:00
Damien Elmes
4fbb63aad5 don't lock the interface unless a progress handler is already active 2011-04-28 09:26:49 +09:00
Damien Elmes
9e20c979fb remove the js resources and use the ones bundled with libanki instead 2011-04-28 09:26:49 +09:00
Damien Elmes
c5a109dca0 don't bother extracing graph libs from resources; they're provided in block 2011-04-28 09:26:49 +09:00
Damien Elmes
f20d730f3c new graph handling 2011-04-28 09:26:49 +09:00
Damien Elmes
5c337aa658 open remote links on cards 2011-04-28 09:26:49 +09:00
Damien Elmes
9d060df04c if space/ret hit on an ease button, activate that button 2011-04-28 09:26:49 +09:00
Damien Elmes
64d7a3e046 add type in the answer support back 2011-04-28 09:26:49 +09:00
Damien Elmes
8ea949db74 move the button links to actual buttons, fix some bugs
- by using normal buttons we get the native look&feel and space can activate
  the buttons which is what users expect. Unfortunately it seems that the
  buttons are currently hard-coded to a small font size; hopefully this will
  be fixed in a future toolkit release
- remove the space hack from webview
- move the times into the ease buttons
- set a default button on a few screens
- fix a bug with clearing progress after an error
2011-04-28 09:26:49 +09:00
Damien Elmes
b699226cfd congrats screen; add temporary hack for space bar and pass links through bridge 2011-04-28 09:26:49 +09:00
Damien Elmes
b5f393c7fe deck empty screen 2011-04-28 09:26:49 +09:00
Damien Elmes
90002a3073 note updated counts when returning to deck browser 2011-04-28 09:26:49 +09:00
Damien Elmes
b2a0398220 add support for hiding question when showing answer 2011-04-28 09:26:48 +09:00
Damien Elmes
0cdd487792 scroll back up to top for next card 2011-04-28 09:26:48 +09:00
Damien Elmes
fb8b1d26b2 update the existing page instead of reloading it for each card transition 2011-04-28 09:26:48 +09:00
Damien Elmes
f6319ce147 but the open in browser button on the left 2011-04-28 09:26:48 +09:00
Damien Elmes
2bdd66347b card statistics->card info 2011-04-28 09:26:48 +09:00
Damien Elmes
3404d0c3e5 don't run showQuestion hook twice 2011-04-28 09:26:48 +09:00
Damien Elmes
1b20f948f3 add the ability to open deck stats in the browser 2011-04-28 09:26:48 +09:00
Damien Elmes
1f98ef588f add deck stats 2011-04-28 09:26:48 +09:00
Damien Elmes
437da036ea add card stats 2011-04-28 09:26:48 +09:00
Damien Elmes
3c8763602c remove help, drop aqt.utils from frequently used functions 2011-04-28 09:26:48 +09:00
Damien Elmes
abe67f6faa tweak overview layout 2011-04-28 09:26:48 +09:00
Damien Elmes
edd04cffa8 fix progress handler 2011-04-28 09:26:48 +09:00
Damien Elmes
05432e1b32 add enter/space to proceed from overview 2011-04-28 09:26:48 +09:00
Damien Elmes
f561bd1473 move the key handler into the webview instead of the main window 2011-04-28 09:26:48 +09:00
Damien Elmes
7b2ff671e8 move status.py into reviewer.py 2011-04-28 09:26:48 +09:00
Damien Elmes
ccd49ece47 don't show deck browser when quitting 2011-04-28 09:26:47 +09:00
Damien Elmes
b6844ba817 handle card answering 2011-04-28 09:26:47 +09:00
Damien Elmes
8b537977a4 make sure there's enough space for 4 buttons, and prevent flicker on display 2011-04-28 09:26:47 +09:00
Damien Elmes
c09070df26 add ease buttons 2011-04-28 09:26:47 +09:00
Damien Elmes
e48e268ee5 add answer display 2011-04-28 09:26:47 +09:00
Damien Elmes
7fcaa98fa8 minor tweaks 2011-04-28 09:26:47 +09:00
Damien Elmes
d3a77c1c67 add answer button; more display tweaks; fix bold munging 2011-04-28 09:26:47 +09:00
Damien Elmes
46c14b5efc question displaying 2011-04-28 09:26:47 +09:00
Damien Elmes
265b598173 various layout tweaks 2011-04-28 09:26:47 +09:00
Damien Elmes
7604fa3797 move the overview into a separate file; rename noDeck state to deckBrowser 2011-04-28 09:26:47 +09:00
Damien Elmes
04040e60f2 fix bugs in hide/delete in the deck browser; use sel/allCounts() 2011-04-28 09:26:47 +09:00
Damien Elmes
d0b92313e8 skip overview graph if there's no data 2011-04-28 09:26:47 +09:00
Damien Elmes
2dc9878435 put 'today' in the middle of the bar 2011-04-28 09:26:47 +09:00
Damien Elmes
c9c7b8c25b start work on an overview; add flot to resources 2011-04-28 09:26:47 +09:00
Damien Elmes
81d29fedd5 tweak colours; fix counts 2011-04-28 09:26:47 +09:00
Damien Elmes
3f1ed1a566 move the toolback into the browser screen 2011-04-28 09:26:46 +09:00
Damien Elmes
045d92238d move view.py into reviewer.py 2011-04-28 09:26:46 +09:00
Damien Elmes
909e8fb05c don't allow shortcuts to load corrupt decks; remove toolbar 2011-04-28 09:26:46 +09:00
Damien Elmes
f96e03875a more deck browser work
- add a separate toolbar for the deck browser
- add a message when there are no decks
- change the progress handler not to lock the UI immediately, which causes
  flicker
- ensure the webview is focused after stdHtml()
2011-04-28 09:26:46 +09:00
Damien Elmes
87f5fe8769 tidy up deckbrowser code 2011-04-28 09:26:46 +09:00
Damien Elmes
2897f0a54a tweak hr appearance 2011-04-28 09:26:46 +09:00
Damien Elmes
8e7ed0acc9 make sure we're only writing the config once; fix speed regressions in browser 2011-04-28 09:26:46 +09:00