Commit Graph

136 Commits

Author SHA1 Message Date
Sergio Martínez Portela
e7dc8ad1e7 Make indentation lines clearer on dark mode. 2022-11-11 18:45:28 +01:00
Sergio Martínez Portela
87e4a8aa7d Remap document ids backlinks to main headlines. 2022-11-09 19:54:39 +01:00
Sergio Martínez Portela
ac445d2e7c Use logging.warning instead of deprecated logging.warn. 2022-11-09 01:01:49 +01:00
Sergio Martínez Portela
4849128fcd Add simple backlink connections. 2022-11-09 01:01:34 +01:00
Sergio Martínez Portela
08d35fc0b5 Handle more softly words with :// that don't match known link types. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
76531e3cfc Add result box rendering. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
212c41d848 Avoid having Headlines look like links when clicked. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
1f286a0a54 Add simple style for results box. 2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
38e5f57eab Use node collapse markers with better font compatibility.
These are temporal. This way of working moves the titles around when they get
     collapsed/expanded, so I should probably change it at some point.
2022-11-04 00:34:32 +01:00
Sergio Martínez Portela
0ebda876f7 Update headline expansion based on document STARTUP config. 2022-11-01 18:42:59 +01:00
Sergio Martínez Portela
847e2cfd74 Don't crash when failing to update note_search DB. 2022-11-01 12:19:52 +01:00
Sergio Martínez Portela
613aa4c88f Make result-bot TODO tag more badge-like. 2022-11-01 12:19:34 +01:00
Sergio Martínez Portela
964e2501ee Mark focused links on click. 2022-11-01 12:19:20 +01:00
Sergio Martínez Portela
208a9b2e97 Show notes TO-DO on search, mark them as such. 2022-10-30 23:58:44 +01:00
Sergio Martínez Portela
b676e2f949 Do search on all indexed fields. 2022-10-30 23:44:31 +01:00
Sergio Martínez Portela
7d20941765 Use experimental trigram tokenizer in SQLite FTS. 2022-10-30 23:38:25 +01:00
Sergio Martínez Portela
486c88c583 Take full headline body for search function.
Using just `get_contents` doesn't get list items or tables.
2022-10-30 23:31:45 +01:00
Sergio Martínez Portela
c80ada2a40 Simple style changes around search box. 2022-10-26 23:17:36 +02:00
Sergio Martínez Portela
9053bf30f6 Fix premature return when TODOs found. 2022-10-26 22:45:50 +02:00
Sergio Martínez Portela
25a65253dd Show message when no results are found on search.
Also, lower debounce time to 250ms.
2022-10-26 22:42:24 +02:00
Sergio Martínez Portela
c8b3a99e7a Mark internal links on light style too. 2022-10-25 23:52:54 +02:00
Sergio Martínez Portela
d023955ee0 Skip links to private notes. 2022-10-25 23:45:30 +02:00
Sergio Martínez Portela
250bcde6d5 Set site language on homepage. 2022-10-25 23:36:10 +02:00
Sergio Martínez Portela
34d0d2ead3 Detect local links that result in a non-public note. 2022-10-25 23:35:46 +02:00
Sergio Martínez Portela
955dc433df Visually identify internal links. 2022-10-23 21:50:33 +02:00
Sergio Martínez Portela
2eab1b4351 Fix: don't hide text until custom font is loaded. 2022-10-23 21:40:10 +02:00
Sergio Martínez Portela
20b945aa31 Add usual task states to the default settings. 2022-10-23 21:30:44 +02:00
Sergio Martínez Portela
8d8dcbfdce Fix bare links next to [ or ] characters. 2022-10-23 21:30:30 +02:00
Sergio Martínez Portela
a6607ba0f3 WIP: Support bare links (no []). 2022-10-23 21:16:22 +02:00
Sergio Martínez Portela
3e9f323b56 Remove reference to git:// links. 2022-10-23 18:33:00 +02:00
Sergio Martínez Portela
4d3997bce1 Render * Target links. 2022-10-23 18:28:08 +02:00
Sergio Martínez Portela
ce8fd431b6 Allow rendering of links that require graph knowledge.
- Fix rendering of `./filename.org` links.
2022-10-23 18:22:43 +02:00
Sergio Martínez Portela
8dd624d339 Cleanup old notes on upload before building new ones. 2022-10-21 20:18:01 +02:00
Sergio Martínez Portela
a18c94dca0 Decide on SEARCH_ENDPOINT based on current URL. 2022-10-21 20:17:41 +02:00
Sergio Martínez Portela
f66d69776b Create directory before filling it in. 2022-10-21 00:23:50 +02:00
Sergio Martínez Portela
fcd9854a17 Disable collapsing top-level headline. 2022-10-20 23:44:35 +02:00
Sergio Martínez Portela
bcfd8b1d93 Reduce unused height on headlines. 2022-10-18 23:29:12 +02:00
Sergio Martínez Portela
de92f74867 Link to notes index from title. 2022-10-18 23:18:57 +02:00
Sergio Martínez Portela
d71c28d1e8 Show top-level title in seach, hide to-do's. 2022-10-18 23:13:21 +02:00
Sergio Martínez Portela
7bad44cfb6 Redirect from subnote to parent note. 2022-10-18 22:47:04 +02:00
Sergio Martínez Portela
a313597dcf Mark tags as [tag]. 2022-10-18 01:17:11 +02:00
Sergio Martínez Portela
df7f65fa00 Test different background color. 2022-10-18 01:16:30 +02:00
Sergio Martínez Portela
b214a8148a Prepare for note deployment. 2022-10-18 01:16:14 +02:00
Sergio Martínez Portela
7ddf926fa7 Lighten dark-mode links on homepage. 2022-10-17 00:10:40 +02:00
Sergio Martínez Portela
d81db05633 Show results on notes's search-box. 2022-10-17 00:10:06 +02:00
Sergio Martínez Portela
a616d903fb Implement basic popup creation for note search. 2022-10-04 23:55:57 +02:00
Sergio Martínez Portela
d7905f5b0a Add base for search UI. 2022-10-03 23:40:57 +02:00
Sergio Martínez Portela
7fdf378cee Add script to demo search-server's docker usage. 2022-10-03 00:52:11 +02:00
Sergio Martínez Portela
14d7d0f85e Initial search-server version. 2022-10-03 00:52:11 +02:00
Sergio Martínez Portela
bc3bf30669 Full-text-search with a Quick&Dirty SQLite DB. 2022-09-30 00:13:22 +02:00