Commit Graph

7 Commits

Author SHA1 Message Date
Damien Elmes
d1f05907be update addon docs 2017-07-05 12:41:05 +10:00
Damien Elmes
c52fb904a2 update addon readme based on JD's feedback 2017-02-03 13:34:10 +10:00
Damien Elmes
73b44a05f3 mention qt4->qt5 tool 2017-01-10 18:51:27 +10:00
Damien Elmes
8e71554ac4 saveNow() now requires a callback
the current code was freezing when clicking on 'cards' in the
browser - it looks like like the javascript callback was never
being called despite calling processEvents(). so we need to
refactor the code to call saveNow() with a callback that does the
subsequent processing.

a lot of the browser code was implicitly calling saveNow() via
beginReset(), so we've had to change all that code to save
immediately before it begins any processing. found a probable bug in
the process - it doesn't look like onRowChange() was saving before
overwriting the note, so theoretically edits could be lost if the
user switched to another card very quickly after typing something.

onSearch() has been split into a GUI-activated onSearchActivated()
that takes care of saving, and a lower level search() that refreshes
the current search. it keeps track of the last search via an instance
variable so that it refreshes properly if a user accidentally adds
some characters to their search without activating the search, then
does something like reverse the sort order.
2016-07-14 20:23:44 +10:00
Damien Elmes
19cb527edf mention add-on directories 2016-07-08 13:10:06 +10:00
Damien Elmes
0990fbb208 document chrome debugging 2016-07-07 17:02:39 +10:00
Damien Elmes
b66c03d673 basic add-on docs 2016-07-07 16:58:36 +10:00