Commit Graph

196 Commits (c22b6b29e097521e9c5395e2747f9f79200abc8c)

Author SHA1 Message Date
zadam 3cc93157bf basic support for audio/video preview in file notes (no seeking) 2021-02-13 23:20:22 +07:00
zadam 378987e61c added icon to note title row 2021-02-13 20:07:08 +07:00
zadam 7dd19c0366 correct reloading of note subtree when relevant labels change 2021-02-09 20:26:10 +07:00
zadam cd5be59413 tab row is detecting workspace changes 2021-02-07 20:55:49 +07:00
zadam 2a67d9eae2 added unhoist button to the tree node + onclick fixes 2021-02-06 19:58:12 +07:00
zadam 397f0d1326 fix collapse tree 2021-02-04 23:08:16 +07:00
zadam 6469937393 fix note tree flickering (note cache was not updated when expanded status changed) 2021-02-04 22:05:32 +07:00
zadam 17c6f53397 fix "twitching" tree nodes on hover 2021-01-30 21:03:39 +07:00
zadam 77bc5f9944 disabling tree expand animation to avoid "recursion" errors 2021-01-29 23:33:41 +07:00
zadam 810fd9e819 fix glitches on drag & drop, fixes #1587 2021-01-28 21:19:01 +07:00
zadam 8b0a1e546d search fixes 2021-01-25 23:43:36 +07:00
zadam 6408a47a8a Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/services/note_cache/entities/note.js
2021-01-23 21:09:47 +07:00
zadam f2ca9276d6 fix/improve behavior of "sorted" attribute 2021-01-23 21:00:59 +07:00
zadam f2e44e5617 fix tree's enhanced item buttons 2021-01-15 23:05:19 +07:00
zadam 90d33f56c3 implemented "search in subtree" 2020-12-05 23:00:28 +07:00
zadam bc520edd19 fix usage of async .getHeaders() 2020-12-03 21:50:41 +07:00
zadam a68c61b2f0 improvements to saved search 2020-11-30 23:20:12 +07:00
zadam 2a6978c349 added button for entering workspace 2020-11-29 22:32:31 +07:00
zadam 1c5425c9eb workaround for filter + create child problems 2020-11-29 20:55:24 +07:00
zadam 2338a13749 added "add child note" button to note tree 2020-11-27 23:13:48 +07:00
zadam 2a54ce803e layout tweaks 2020-11-27 22:02:55 +07:00
zadam 642bf9d113 layout tweaks 2020-11-27 21:57:41 +07:00
zadam 48b1703725 moved "global buttons" on the tree 2020-11-27 20:40:32 +07:00
zadam 61f30373d4 hoisting improvements 2020-11-24 23:24:05 +07:00
zadam 52b8162d01 WIP per-tab hoisting 2020-11-23 22:52:48 +07:00
zadam 4bd86a6dfa WIP per-tab hoisting 2020-11-22 23:05:02 +07:00
zadam 314e0a453f "duplicate note" now duplicates whole note subtree instead of just individual note 2020-11-19 14:06:32 +07:00
zadam 8a019d617f small visual tweaks to link map, including displaying the note icon 2020-10-14 23:14:04 +07:00
zadam 893b6053d2 provide also explicit unhoist keyboard shortcut, #1305 2020-10-13 23:41:55 +07:00
zadam d953d96fa6 improvements to error logging in frontend 2020-10-12 21:05:34 +07:00
zadam 4eb9ca7b46 fix demo document word count widget with contain: none 2020-10-10 21:08:28 +07:00
zadam a577485e42 allow duplicating multiple notes at once, closes #1259 2020-09-23 22:45:51 +07:00
zadam 85d13b1d62 resort relationships in tree cache after note reordering 2020-09-14 22:48:20 +07:00
zadam 0ca0996751 no difference in styling when active tree node is in focus or not because focused class is unreliable 2020-09-12 23:06:03 +07:00
zadam ee4ce3ffd8 display unhoist button on the left of the note title so that it's always visible, #1223 2020-09-08 23:25:21 +07:00
zadam 80f269d844 moved similar notes from sidebar to the center pane 2020-09-07 23:35:41 +07:00
zadam 6d095b7250 fix popups/tooltips not disappearing after loading new note, closes #1214 2020-09-05 21:51:00 +07:00
zadam b793f8cb88 search will also look for type and mime by default 2020-08-30 23:12:49 +07:00
zadam 5a8c3f6a2b removed forgotten console.logs 2020-08-28 22:52:57 +07:00
zadam 9873dd1242 fix creating new note 2020-08-28 14:29:20 +07:00
zadam fbe3995398 fixed tree hotkeys 2020-08-26 22:12:01 +07:00
zadam 6aa61ca306 initializing note tree synchronously 2020-08-26 16:50:16 +07:00
zadam 87161cfe0d fix issues with note tree 2020-08-25 23:25:15 +07:00
zadam 6a3e27eb62 smaller refactorings in note_tree 2020-08-24 23:33:27 +07:00
zadam 0b38e24185 fixes to saved search 2020-08-20 15:23:24 +07:00
zadam 28ebca1268 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	package-lock.json
#	package.json
#	src/services/image.js
2020-08-20 11:56:03 +07:00
zadam eec850c11f fix toggle sidebar issues, closes #1196 2020-08-20 11:14:27 +07:00
zadam f24e27dadd autocollapse notes after period of inactivity + some other changes, #1192 2020-08-17 20:58:34 +07:00
zadam 53b39e2e82 many changes related to #1192:
- use CSS contain wherever possible to reduce subtrees of forced reflows
- reduced dependency between note and note_contents updates which will reduce number of updates to components
- optimization of "many rows" querying
2020-08-16 22:57:48 +07:00
zadam 8d0df6ddb9 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	db/demo.zip
#	src/services/notes.js
#	src/services/request.js
2020-08-10 23:45:17 +07:00
zadam 960d7dede3 add scrolling margins, #1181 2020-08-09 23:20:57 +07:00
zadam bfa69a3dc3 closing of attr detail 2020-07-03 22:27:45 +07:00
zadam 9615e25a67 fix merge problems 2020-06-24 22:29:53 +07:00
zadam a574fce13f Merge remote-tracking branch 'origin/stable' into syncification
# Conflicts:
#	package-lock.json
#	package.json
#	src/routes/custom.js
#	src/services/import/single.js
2020-06-24 22:08:31 +07:00
zadam 89356918f1 fix unescaped HTML in the tree node title, closes #1127 2020-06-24 21:07:55 +07:00
zadam a89b6711d1 refactored code to not depend on external elements, #1120 2020-06-22 22:28:45 +07:00
zadam b2549b2834 Merge remote-tracking branch 'origin/stable' into stable 2020-06-22 22:00:22 +07:00
zadam 959c4cbe64 removed icon tooltip again 2020-06-22 22:00:08 +07:00
Shon Ramamurthy d03d3603d2
Add optional support for note title tooltips under note tree widget (#1120)
* Add support for note title tooltips under note tree widget

This change adds an option to set the 'tooltip' configuration of the
Fancytree component. This allows tooltips containing the note title to
be displayed when a hover is performed over a note title in the tree
widget.

* Revert DB Upgrade

The db upgrade is reverted as this is not required for options.

* Simplify boolean option comparison

With this change, the existing 'is(key)' method is used to perform
tooltip enable option boolean comparison.

* Display tooltip only on center-pane overlap - Experimental

With this change, a straight-forward method to detect HTML element
overlap has been identified (source:
https://gist.github.com/jtsternberg/c272d7de5b967cec2d3d). It is now
possible to detect whether the center-pane element overlaps with the
Fancytree node title-bar. Using this approach we now have a rough
implementation which only displays a note-title tooltip when there is a
center-pane overlap.

At this stage, this change is experimental and the following needs to be
further addressed,
 - Register the 'mouseenter' event handler in an appropriate place. The
   current placement of this event handler is only for testing.
 - This change is now enabled by default. It needs to be seen whether it
   would still make sense to disable it via an option.

* Remove option to set tooltip

With this change, the tooltip options menu item has been removed as it
becomes relevant to have this feature enabled by default.

* Revert further changes related to the options menu

Further changes are rolled back which was earlier related to the tooltip
options setting. Some of these were missed in the previous commit.

* Remove debug logging

Remove debug logging and unnecessary line breaks.

* Move note-title tooltip handler under note_tree.js

With this change, we move the definition for the note-title tooltip
handler inside 'note_tree.js'. Registration is done inside
'side_pane_toggles.js' as we would need the handler to detect the
'center-pane' element first before detecting collisions.
2020-06-22 21:58:58 +07:00
zadam e1c2573778 add tooltip to fancytree node icon, #1120 2020-06-21 12:47:24 +07:00
zadam a7d9870846 Merge remote-tracking branch 'origin/better-sqlite3'
# Conflicts:
#	libraries/ckeditor/ckeditor.js
#	libraries/ckeditor/ckeditor.js.map
#	package-lock.json
#	package.json
#	src/public/app/services/utils.js
#	src/public/app/widgets/type_widgets/editable_text.js
#	src/services/utils.js
2020-06-18 09:03:09 +07:00
zadam 910bda860c fix delete note function just work one time, closes #1101 2020-06-10 23:43:59 +07:00
zadam 1db892d22f return the ability to hide archived notes, closes #1095 2020-06-08 23:15:49 +07:00
zadam ad48b59893 no need to reload whole subtree while moving notes 2020-06-05 00:07:45 +07:00
zadam 4ae965c5cb Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	src/public/app/widgets/collapsible_widgets/note_info.js
2020-06-04 22:37:04 +07:00
zadam 58fa0832f6 fix focusing title after creating a note 2020-06-04 21:44:34 +07:00
zadam 915b1d1a45 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	libraries/ckeditor/ckeditor.js
#	libraries/ckeditor/ckeditor.js.map
#	package-lock.json
#	package.json
#	src/public/app/widgets/type_widgets/editable_text.js
2020-06-03 16:25:45 +07:00
zadam 3c5db844ba fix tree focusing issues 2020-06-03 11:06:45 +07:00
zadam 8c88ce6f65 fix moving/cloning notes broken in 0.42.4, closes #1066 2020-05-31 22:33:02 +07:00
zadam 50a28d8c51 the node you start dragging should be included even if not selected 2020-05-31 10:32:35 +07:00
Adam Coyne ac10701b55
Add import option to replace underscores with spaces in note names (#1064) 2020-05-30 23:15:00 +07:00
zadam 5e353a5612 improved drag & drop 2020-05-30 10:30:21 +07:00
zadam 13117d2e68 Merge remote-tracking branch 'origin/stable' 2020-05-12 13:41:06 +07:00
zadam 4f50864ec8 better UX when deleting notes - focus in note tree is moved to the next/previous note 2020-05-12 13:40:42 +07:00
zadam b51f5ac6fd Merge remote-tracking branch 'origin/stable' 2020-05-12 10:59:02 +07:00
zadam e08b0141a4 when expanding/collpasing, set the flag also to the tree cache 2020-05-12 10:52:07 +07:00
zadam d20415c979 bind global menu item "Open SQL console" to the logic to create such a note 2020-05-08 23:39:46 +07:00
zadam e8a33a5ee7 fix note title not updating when changing the title 2020-05-05 18:56:12 +07:00
zadam 109bead1c7 removed unnecessary async/awaits 2020-05-04 10:19:11 +07:00
zadam ae1220b970 remove debug 2020-05-04 10:04:50 +07:00
zadam b89a2df462 fix image being redownloaded from localhost 2020-05-04 10:03:54 +07:00
zadam 8b5536ee3a note title widget and protected session entering fixes 2020-05-03 22:49:20 +07:00
zadam 4eb2407c73 fix folder icon for hidden included images 2020-05-03 13:59:49 +07:00
zadam 43e12fbea2 small fixes for collapse/expand 2020-05-03 13:52:12 +07:00
zadam 2a3091f788 reimplemented expand/collapse differently for better performance 2020-05-03 13:15:08 +07:00
zadam 742df25bc2 collapse/expand only folder notes 2020-05-03 09:49:56 +07:00
zadam ed52f93bbb tree settings popup fixes 2020-05-02 13:52:02 +07:00
zadam 3466a19397 protection against recursive expansion of search notes 2020-05-02 12:16:48 +07:00
zadam fe53e2351c basic implementation of note tree's config 2020-05-02 00:28:40 +07:00
zadam 90d091aedb make note tree initial load non-lazy 2020-04-30 23:58:34 +07:00
zadam 0a05a40186 fix expand subtree's conflict with auto-lazy loading 2020-04-30 23:09:25 +07:00
zadam 358f3a7291 implement "expand subtree" contet menu, closes #993 2020-04-29 23:13:05 +07:00
zadam 6161b1c193 Merge remote-tracking branch 'origin/stable' 2020-04-29 22:27:46 +07:00
zadam 0a94622413 fix drag and drop in the tree, closes #984 2020-04-27 23:39:10 +07:00
zadam 5769587305 experimental hiding of images if they are included in the parent note 2020-04-27 23:27:45 +07:00
zadam 29cec8112e fix setup of new document, closes #966 2020-04-14 21:57:42 +07:00