Commit graph

156 commits

Author SHA1 Message Date
Damien Elmes
027aad43aa include question in answer audio replay; don't play same audio twice 2012-03-24 23:37:50 +09:00
Damien Elmes
487550ecb0 use shouldShowTimer() to fix answer time being uncounted 2012-03-24 19:56:28 +09:00
Damien Elmes
259c5c6dfc change timer color at limit 2012-03-16 20:11:36 +09:00
Damien Elmes
3304bc0aef fix maxTime 2012-03-16 20:08:58 +09:00
Damien Elmes
d1cf46d0c8 timeboxing 2012-03-16 19:55:59 +09:00
Damien Elmes
a4e6db9498 derive autoplay from original deck 2012-03-13 19:13:33 +09:00
Damien Elmes
84fc02901d use timeLimit() 2012-03-12 14:04:48 +09:00
Damien Elmes
6f0f90fd81 dead code 2012-02-24 22:19:24 +09:00
Damien Elmes
7b70536354 fix review timer 2012-02-24 22:17:33 +09:00
Damien Elmes
ff514103ed reuse the bottom webview too; avoid .html() 2012-02-24 22:10:21 +09:00
Damien Elmes
ada11b246b reuse the main webview during reviews 2012-02-24 21:37:23 +09:00
Damien Elmes
96748e8621 fix due counts on undo/edit 2012-02-13 16:30:47 +09:00
Damien Elmes
d9fdf6dc01 support typing in a cloze deletion 2012-02-13 13:22:21 +09:00
Damien Elmes
fa7a88b534 store type ans value instead of field, don't show when field empty 2012-02-13 13:07:29 +09:00
Damien Elmes
7be3935c02 ensure the same card appears after an undo 2012-02-13 12:50:44 +09:00
Damien Elmes
04b7fd144a focus default answer button for type in answer cards 2012-02-13 12:31:03 +09:00
Damien Elmes
43a8a0e4df prevent answer keys when question shown 2012-01-30 07:57:58 +09:00
Damien Elmes
2b637c9389 give some feedback on a leech for now 2012-01-24 01:25:06 +09:00
Damien Elmes
167dc79550 fix help links; add tooltip when loading browser 2012-01-16 11:00:57 +09:00
Damien Elmes
be09087ffd bigger spacing for all but mac; mention httplib2>0.7 2012-01-11 20:18:17 +09:00
Damien Elmes
91cbd316b1 win32 tweaks 2012-01-11 20:04:32 +09:00
Damien Elmes
24c36e5bdb give the bottom a little more padding on win32 2011-12-21 10:00:39 +09:00
Damien Elmes
1b3e956d5f add new css field to clayout 2011-12-17 18:17:28 +09:00
Damien Elmes
34b56b5003 add timer flag, limit timer to maxTaken 2011-12-15 15:09:04 +09:00
Damien Elmes
2dbc5f22dc conf() -> confForDid() 2011-12-13 13:56:16 +09:00
Damien Elmes
569b903cdc move collection options into preferences 2011-12-10 23:41:33 +09:00
Damien Elmes
58433be7b4 limit images to window width 2011-12-07 23:48:58 +09:00
Damien Elmes
a8b90ca6b0 card is a class not an id now 2011-12-07 20:27:08 +09:00
Damien Elmes
e9733beb81 let libanki add the necessary count 2011-12-05 19:34:04 +09:00
Damien Elmes
5fc4a80458 repCounts() -> counts() 2011-12-05 19:19:25 +09:00
Damien Elmes
47f9b79632 .reset() when opening overview or reviewer 2011-12-05 14:52:11 +09:00
Damien Elmes
284c8d2543 revert previous change; don't mod card when displaying 2011-12-04 16:08:19 +09:00
Damien Elmes
94baee058c make sure type answers with : work 2011-12-03 19:14:04 +09:00
Damien Elmes
975f66e693 get type answer support working again 2011-12-02 17:58:53 +09:00
Damien Elmes
ac7602675a tooltips 2011-12-02 17:19:57 +09:00
Damien Elmes
7909181f32 move remaining to middle; hide timer for now 2011-12-01 20:06:56 +09:00
Damien Elmes
da25e87ac4 key handling stuff 2011-12-01 19:42:36 +09:00
Damien Elmes
5e97a285a1 timer, global shortcuts 2011-12-01 18:45:13 +09:00
Damien Elmes
9c5eb98114 hook up context menu and remaining count 2011-12-01 17:05:04 +09:00
Damien Elmes
5dd5ab710a connect current card editor; ensure same card is reviewed 2011-12-01 15:41:24 +09:00
Damien Elmes
cecec92934 work on reviewer 2011-12-01 15:15:20 +09:00
Damien Elmes
c2176edd07 snapshot of work on new show answer button 2011-11-30 21:10:33 +09:00
Damien Elmes
0965c3a888 revert the dockable changes, strip old status code 2011-11-30 18:20:18 +09:00
Damien Elmes
b745567bb3 add another toolbar at the bottom 2011-11-30 17:54:55 +09:00
Damien Elmes
bea1e60fc8 remove actions that'll be placed on the card 2011-11-30 15:58:39 +09:00
Damien Elmes
3362ca06a3 move card info into separate diag 2011-11-29 17:46:32 +09:00
Damien Elmes
10234be4e9 browser tweaks 2011-11-28 21:19:39 +09:00
Damien Elmes
23411c2872 primarily work on browser 2011-11-28 19:21:20 +09:00
Damien Elmes
cf87d19905 refactor card layout, reviewing 2011-11-28 14:37:07 +09:00
Damien Elmes
f2a39aad2a move the toolbar into a separate file and make it global 2011-11-27 11:25:13 +09:00
Damien Elmes
5f1b762a15 fix stats, start work on revamped overview 2011-11-26 13:20:55 +09:00
Damien Elmes
87da9f48b1 facts->notes 2011-11-23 13:35:14 +09:00
Damien Elmes
4087d1f4f9 counts->repCounts 2011-09-23 14:47:41 +09:00
Damien Elmes
18812655ab some initial porting to the latest libanki 2011-08-28 15:24:30 +09:00
Damien Elmes
a253d756e3 use pyqt api2; move all imports into a single file for pyside 2011-04-28 09:28:02 +09:00
Damien Elmes
f4ee17a5c6 drop the deck list button from the congrats screen 2011-04-28 09:28:02 +09:00
Damien Elmes
0b95bab30b catch ret in type ans area 2011-04-28 09:28:02 +09:00
Damien Elmes
a45f2ceedc add autosave; improve undo state handling 2011-04-28 09:28:01 +09:00
Damien Elmes
2dcb86e4ac fix audio replay 2011-04-28 09:28:00 +09:00
Damien Elmes
59d3807c1c reenable centerQA 2011-04-28 09:28:00 +09:00
Damien Elmes
7b9b78fe63 make sure card stats is hidden when moving from review 2011-04-28 09:28:00 +09:00
Damien Elmes
c3b0d51f1c style clozes 2011-04-28 09:27:59 +09:00
Damien Elmes
6efd9b9cbb add some js hooks 2011-04-28 09:27:58 +09:00
Damien Elmes
f55c7492fd cleanup when leaving review state 2011-04-28 09:27:58 +09:00
Damien Elmes
96a1802fc7 more edit current fixes 2011-04-28 09:27:56 +09:00
Damien Elmes
d9b08a8b28 reset on show to prevent changes in the background; fix editcurrent return 2011-04-28 09:27:56 +09:00
Damien Elmes
b4a7979157 fix enter advancing two 2011-04-28 09:27:56 +09:00
Damien Elmes
9da0a83735 edit current, hide 'close' button on osx 2011-04-28 09:27:56 +09:00
Damien Elmes
9900b02795 mark/bury/etc in main window 2011-04-28 09:27:56 +09:00
Damien Elmes
8865ca6131 _fields -> fields 2011-04-28 09:27:55 +09:00
Damien Elmes
7acc6a882b gpl>agpl 2011-04-28 09:27:53 +09:00
Damien Elmes
2f6867c4cc start of clayout port 2011-04-28 09:27:50 +09:00
Damien Elmes
a70d7be25b add group deletion, add checkpoint() 2011-04-28 09:26:52 +09:00
Damien Elmes
292f6403a1 update help references and some old links 2011-04-28 09:26:52 +09:00
Damien Elmes
3142be2023 add esc to unblur type answer area, remove duplicate o shortcut 2011-04-28 09:26:51 +09:00
Damien Elmes
698ba38e74 move various major functions into separate files 2011-04-28 09:26:50 +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
3404d0c3e5 don't run showQuestion hook twice 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
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
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