Commit Graph

23 Commits

Author SHA1 Message Date
Tom Moor
da7fdfef0a Improved search filtering (#940)
* Filter search by collectionId

* Improve spec, remove recursive import

* Add userId filter for documents.search

* 💚

* Search filter UI

* WIP UI

* Date filtering
Prevent dupe menu

* Refactor

* button

* Added year option, improved hover states

* Add new indexes

* Remove manual string interpolation in SQL construction

* Move dateFilter validation to controller

* Fixes: Double query when changing filter
Fixes: Visual jump between filters in dropdown

* Add option to clear filters

* More clearly define dropdowns in dark mode

* Checkbox -> Checkmark
2019-04-23 07:31:20 -07:00
Tom Moor
c1256c61aa Search archived documents (#932)
* POC

* Improved styling

* Test
2019-04-09 09:20:30 -07:00
Tom Moor
fc7c485ba9 Add 'n' shortcut for new doc
Fixed cmd+enter shortcut to publish doc
Fixed keyboard shortcut display on non-mac
Fixed heading alignment
Fixed documents smaller than page should not scroll
2019-03-09 20:00:45 -08:00
Tom Moor
24bf3766bf Add shortcut tip when searching 2019-03-09 16:10:53 -08:00
Tom Moor
4f4e55d120 Fixes: New document creation 2019-01-19 18:14:10 -08:00
Tom Moor
babcf4a3f3 More withRouter removal 2019-01-19 15:25:46 -08:00
Tom Moor
4ba10fc5f7 Implements local search cache
Results no longer disappear when searching something previously searched
Navigating from a document back to results is now instant
Search item in left nav no longer unhighlights
2019-01-09 21:57:17 -08:00
Tom Moor
8cbcb77486 Base model refactor (#810)
* Big upgrades

* WIP: Stash

* Stash, 30 flow errors left

* Downgrade mobx

* WIP

* When I understand the difference between class and instance methods

* 💚

* Fixes: File import
Model saving edge cases
pinning and starring docs
Collection editing
Upgrade mobx devtools

* Notification settings saving works

* Disabled settings

* Document mailer

* Working notifications

* Colletion created notification
Ensure not notified for own actions

* Tidy up

* Document updated event only for document creation
Add indexes
Notification setting on user creation

* Commentary

* Fixed: Notification setting on signup

* Fix document move / duplicate stale data
Add BaseModel.refresh method

* Fixes: Title in sidebar not updated after editing document

* 💚

* Improve / restore error handling
Better handle offline errors

* 👕
2018-12-04 22:24:30 -08:00
Tom Moor
8d569fd46d Upgrade dependencies 2018-11-06 21:58:32 -08:00
Tom Moor
ed4013e7ee Fixes #772 - Cursor jumps in search field 2018-09-29 23:10:07 -07:00
Tom Moor
f5a1f59290 Fix search result ordering
Add support for returning your own drafts in results
Added regression tests
2018-08-04 21:28:37 -07:00
Tom Moor
e192bcbaee Improves ordering of search results
Modifies documents.search to return a context snippet and search ranking
Displays context snipped on search results screen
2018-08-04 18:32:56 -07:00
Tom Moor
f8cd3bf8c4 Improved offline handling 2018-06-07 21:35:40 -07:00
Tom Moor
8c62b6e07a Improve error screen for not found share link 2018-05-26 12:22:14 -07:00
Tom Moor
518015f55b Upgrade to Flow 0.71 2018-05-05 16:16:08 -07:00
Jori Lallo
bfb5e8e6b6 Exhaustive types 2018-02-04 17:31:12 -08:00
Jori Lallo
2b81cea277 Search fixes 2018-02-04 17:27:57 -08:00
Jori Lallo
5df2983ef6 Search improvements 2017-12-03 16:50:50 -08:00
Tom Moor
54b57c50b4 Fixed: Unencoded search terms 2017-11-12 10:55:13 -08:00
Tom Moor
ab13f51d5d Upgrade prettier 2017-11-10 14:14:30 -08:00
Tom Moor
507251cfe4 Fixing collection selection 2017-10-31 00:03:17 -07:00
Tom Moor
84c82c31a9 Shared assets, cleanup for initial deploy 2017-10-29 15:02:24 -07:00
Tom Moor
4863680d86 frontend > app 2017-10-25 22:49:04 -07:00