Commit Graph

30 Commits

Author SHA1 Message Date
Seongjae Lee 09d0efc06f Make the first found item to be automatically selected
This is a regression caused by docquery integration (56821bccbc). indexof always returns -1. Since the selected item is always the first filtered item, we can safely set it to 1.
2015-09-11 22:43:09 -07:00
Seongjae Lee bdf384f158 Fix #26 causing DocQuery loading error on case sensitive OS 2015-09-11 14:05:57 -07:00
Seongjae Lee 1e1aa06e3c Remove debug code 2015-09-10 23:56:17 -07:00
Seongjae Lee 6c9752ae25 Rename notational-velocity to nvatom, copy notational-velocity settings/notes on initialization 2015-09-10 22:10:34 -07:00
Seongjae Lee 5f26638a78 Fix #25 so that it ensures the note directory does not nest within the package directory 2015-09-10 00:32:22 -07:00
Seongjae Lee 56821bccbc First attempt with DocQuery 2015-08-30 21:52:20 -07:00
Seong Jae Lee 11a6c37c70 Revert to 03654ac, since the current one gives an error on OSX 2015-08-28 23:41:41 -04:00
Jonathan Hoyt c15e7e0f96 First attempt with DocQuery 2015-05-24 23:09:50 -07:00
Seongjae Lee 3679cf0a71 Fix #14 so that it can create lowercase/uppercase notes as the user wants 2015-05-16 22:49:55 -07:00
Jonathan Hoyt 1f91f4d6b5 Remove console.log 2015-05-09 14:34:49 -07:00
Jonathan Hoyt 0f269c9216 Debounce the save so the editor doesn't slow down 2015-05-09 14:27:21 -07:00
Jonathan Hoyt e94430630c Save in editor.onDidStopChanging
Temporarily disables whitespace package so that you can create
newlines without getting them removed on autosave.
2015-05-09 13:49:47 -07:00
Seongjae Lee 49c081ed6e Introduce autosave feature
Fix #8.
2015-04-27 22:24:43 -07:00
Seongjae Lee 6e101ea804 Add a default notebook
Also change the default toggle shortcut to alt-cmd-l. The original Notational Velocity uses cmd-L, but it conflicts with Atom's default shortcut.
2015-04-20 23:01:08 -07:00
Seongjae Lee 56920918f3 Do not create an empty note when search panel query is empty 2015-04-20 08:11:44 -07:00
Seongjae Lee 3eb8ff93c3 Enable creating a note via the search panel
Fix #6.
2015-04-19 23:50:23 -07:00
Seong Jae Lee 2b442b79e7 Use path watcher to monitor note changes. Fix #2
Refactor so that the note/directory parsing is done in separate classes.
2015-04-13 22:02:35 -07:00
Seong Jae Lee 1770e9fa73 Update default config by specifying its type 2015-04-12 01:34:47 -07:00
Seong Jae Lee 67a1792d1b Fix test failures
1. Setting the default directory to the root makes it to read navigate files, which takes forever. Maybe we should set a timeout, but not for now.
2. We don't want to read the directory every time we toggle on. After toggle off, the package should still be there. Yes, this will consume lots of memory, but it would be like that for now.
2015-04-12 01:13:59 -07:00
Seong Jae Lee 4d1efafea1 Fix file I/O errors 2015-04-12 00:56:06 -07:00
Seong Jae Lee b25974fdf8 Add auto-complete in the search panel
- Also delete non-initial partial title matching feature, since it conflicts with creating a new document when there is no match.
- Fix #5.
2015-04-11 21:24:27 -07:00
Seong Jae Lee 89b5a1be67 Add query title selection feature and read notes in the subdirectories
If there is a match in the title, it automatically selects the title. However, this does not considers auto-filling. Without this auto-filling, we cannot discern between a note selection and a note creating. If we implement auto-filling later, then the non-initial partial title matching filter should be turned off.

Other changes that is not related to this CL.
- Sort notes by modified time.
- Delete debug messages.
2015-04-11 00:40:52 -07:00
Seong Jae Lee 71a81b72f9 Modify filter selection more like nvalt
1. If the title starts with the query, select it.
2. If there is no title start with the query, do not select any.
2015-04-05 18:54:44 -07:00
Seong Jae Lee 95de6b7067 Show the modified date on the list and sort by the date
Fix #1
2015-04-05 17:23:43 -07:00
Seong Jae Lee d489e45512 Fix more deprecation warnings
SelectListView is moved to atom-space-pen-views package from atom package.
2015-04-05 14:24:26 -07:00
Seong Jae Lee 47d2e6cb69 Modify a filtering function from FuzzyFilter to our own
Add a feature to read markdown files only

Why we ditch FuzzyFilter?
1. It doesn't give a priority on the title match
2. It seems like to give unexpected search scores in a very, very long text
2014-11-09 23:21:17 -08:00
Seong Jae Lee 391a5d8261 Add a feature to set the directory from the settings panel 2014-11-09 22:06:22 -08:00
Seong Jae Lee f28ce2de87 Add a feature to search from markdown files from a test directory 2014-11-09 16:32:10 -08:00
Seong Jae Lee 079b8c20cb Use SelectListView to search easier 2014-11-09 14:13:00 -08:00
Seong Jae Lee d38f11be66 Initialize a package using Atom's package generator 2014-11-08 10:20:46 -08:00