Commit Graph

89 Commits

Author SHA1 Message Date
Tienson Qin
b91fd4e6c8 Remove old cmdk && command palette 2023-11-06 15:25:35 +08:00
Ben Yorke
69e02edaeb Merge branch 'master' into feat/cmdk 2023-10-16 21:02:12 +02:00
Charlie
331afbc04f Enhance/plugins apis (#10127)
* enhance(api): add page to recent for route api

* enhance(api): support open block in right sidebar with entity id
2023-09-06 14:49:18 +00:00
Ben Yorke
0f7f9adf9b Merge github-bendyorke:logseq/logseq into feat/cmdk 2023-08-31 16:08:22 +02:00
Konstantinos Kaloutas
c089fde242 fix: recent whiteboards click 2023-08-17 19:58:31 +08:00
Tienson Qin
5cd3bec911 fix: can't redirect to block 2023-08-16 00:36:55 +08:00
Andelf
248b83525a fix(editor): avoid nav to empty page name 2023-08-15 13:04:50 +08:00
Ben Yorke
4e2d980955 button and cmdk 2023-06-30 09:37:07 +02:00
Konstantinos
521502ac8f Fix (Whiteboards): Onboarding triggered on existing whiteboard (#9543)
* fix: onboarding whiteboard predicate

* fix: wording

* fix: onboarding trigger

* fix: wording
2023-05-31 10:18:07 -04:00
Konstantinos Kaloutas
d7f8eda846 enhance: window title bar 2023-05-19 18:23:15 +03:00
Aitor Gamarra
425dc801b7 Add support for win32 custom titleBar 2023-05-16 18:43:20 +02:00
Adam
6f45107408 fix: incorrect page title when 'hls__' is opened (#8697)
* dev: move 'hls-file?' to pdf-utils
* dev: use 'hls-file?' instead of string comparison
* fix: window title when hls file opened
2023-02-28 15:10:33 +08:00
Konstantinos
2cace8894c Enhance: Add more translations, remove unused ones and add linter for unused (#8568)
* chore: remove unused dictionary keys

* wip: add dictionary keys for hardcoded strings

* resolve conflicts

* Add linter to detect :en ui translation keys match used ones

- Fix a couple entries caught by linter
- Copy :command.editor/open-link-in-sidebar entries to
  :help/open-link-in-sidebar as translation keys shouldn't be reused in
  multiple contexts, especially when it's across ui and shortcut dicts

* fix: remove dead keys

* chore: reuse dict keys

* chore: reintroduce useful keys

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-24 09:21:57 -05:00
Gabriel Horner
b6abd05a97 Fix inconsistent page links for web/publishing
When coming from search, page links were capitalized but most everywhere else
page links were lower case. This fix consistently enforces lower case
2022-12-22 12:47:33 +08:00
Gabriel Horner
10d6bc28da Switch named block links to autolink to header blocks
Replaced block property approach as it doesn't provide as much
functionality initially
2022-12-15 11:14:56 -05:00
Gabriel Horner
6e0dea3f2c Add routing test and make ns name consistent 2022-12-15 11:14:56 -05:00
Gabriel Horner
b4f26a5c7b Add property which allows for giving a block a routable name
Also update router fn so that it works for all uses of routing to a
block
2022-12-15 11:14:56 -05:00
Peng Xiao
68ea04af52 fix: focusing shape id even in the same whiteboard & display block ref correctly 2022-11-23 11:53:52 +08:00
Peng Xiao
4520399ddf Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-28 10:29:20 +08:00
Gabriel Horner
1f0e22275d Add ns docstrings for most ns in src/main
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Peng Xiao
ad7de948ca feat: delete in whiteboard dashboard 2022-09-17 18:09:27 +08:00
Peng Xiao
33885e619b Merge remote-tracking branch 'upstream/master' into whiteboards 2022-09-01 10:29:29 +08:00
Charlie
01d879c18e feat!: File Sync (#5355)
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks

Co-authored-by: llcc <lzhes43@gmail.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-09-01 00:31:49 +08:00
Mike Travers
6a48bbe08b slight refactor for clarity 2022-08-31 16:10:07 +08:00
Mike Travers
46e3b3fc08 shift-click on Journals left sidebar item opens today's journal in right sidebar 2022-08-31 16:10:07 +08:00
Peng Xiao
712c49906c fix: editing issue 2022-08-05 14:16:19 +08:00
Peng Xiao
b30adea656 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-08-05 13:59:06 +08:00
Tienson Qin
a1ca6820df Fix: broken linked references (#6105)
* enhance: clicking the refresh button if a query is slow

* fix: skip running slow queries if there's no need to refresh

* fix: linked reference filtering does not work on TASK items

close #1669

* fix: each block should have its own page as a reference when query page references

* fix: references

* fix: non consecutive blocks in query result and filtered linked references

* simplify filters logic

* fix: ref numbers

* Save both :block/refs and :block/path-refs for different usage

* fix: block refs

* enhance: move scheduled and deadlines to its own ns

* linked references performance tweaks

* mouse hover filters icon to expand the collapsed linked refs

* perf: react/refresh! once instead twice

* enhance: compute flashcards every hour instead of every 5s

* feat: macros as blocks

* feat: flashcards list

* fix: refed pages count

* fix: can't select in linked references

* fix: block editing on linked refs

* perf: editing in linked references

* enhance: update srs cards number when clicking flashcards

* Add a test for the case fixed in #6100

* Address feedbacks from Gabriel

* fix: Block Ref Indicator is missing from the references-blocks class

close #5375

* fix: referenced pages

* fix: page refs

* fix: Using filters pushed the title property to the second block

close #5845

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2022-08-04 13:03:12 +08:00
Peng Xiao
ba5cdd93a8 feat: better dashboard grid cols 2022-07-24 16:25:14 +08:00
Peng Xiao
ec3ebc8d5b feat: zoom into searched text shape 2022-07-22 00:16:22 +08:00
Peng Xiao
4dc96790a4 feat: whiteboard preview 2022-07-20 20:12:37 +08:00
Peng Xiao
1ce9017c5d feat: first working poc for whiteboard as page 2022-07-20 02:04:18 +08:00
Peng Xiao
5c2e644a43 Merge remote-tracking branch 'upstream/master' into whiteboards 2022-06-07 10:52:11 +08:00
Tienson Qin
a7beb3aba4 fix: disable animated scroll 2022-05-29 10:55:44 +08:00
Tienson Qin
e649650d28 fix: preserve the scroll position when navigating pages 2022-05-28 02:12:42 +08:00
Peng Xiao
7038e6cbe6 Merge branch 'master' into whiteboards 2022-05-20 16:08:35 +08:00
Gabriel Horner
6f68d985bd Use core uuid fns where possible
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible

- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
2022-05-19 14:58:33 +08:00
Peng Xiao
a05ab09f89 fix: reorg routes 2022-05-17 01:06:45 +08:00
Gabriel Horner
5b0d5fb8b5 Decouple graph-parser util from app util usage
For tiny util heavily used fns like safe-re-find and uuid-string?,
decouple graph-parser from so much of the app
2022-05-13 16:17:44 -04:00
Gabriel Horner
65804b4183 Split out text ns to graph-parser 2022-05-10 20:22:48 -04:00
Gabriel Horner
f529777d78 frontend.text conversion WIP
Removed extract-level-spaces b/c it's not used
2022-05-10 20:22:48 -04:00
Gabriel Horner
85bd1fecb2 Move first batch of util fns to graph-parser.util
Still need to fix external.roam
2022-05-04 12:02:36 -04:00
charlie
3973f2794e fix: page crash when navigating to home if default home is a custom page #5060 2022-04-24 15:32:49 +08:00
Jonah Goldsaito
cc0cdb40f2 Load more journal entries (#3048)
* Update the default number of journal entries shown

* Get 7 journal entries per load while infinite scrolling

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2022-02-22 17:30:31 +08:00
Gabriel Horner
3ec587d6eb lint :all-the-things: 2022-01-16 12:42:34 +08:00
Junyi Du
e5dcb014e1 enhance: yet another page-name sanity improve 2022-01-10 13:29:40 +08:00
Tienson Qin
8d03ebf862 enhance: display namespace routes for the last sub page in hierarchy
For example, if there're two pages [[a/c]] and [[b/c]], both a and b
will be listed in the hierarchy part in the page `c`.
2021-12-28 16:14:23 +08:00
Junyi Du
22dc065bb8 fix: alias is not considered in some situations 2021-12-21 12:38:08 +08:00
Tienson Qin
f50b048776 enhance: g a to all pages, g g to graph view, g f to open flashcards
close #3393
2021-12-09 22:03:54 +08:00
Moritz Ulrich
d7759aeb79 Always add target of redirect-to-page! to 'Recent' list.
This change will put way more visited pages in the 'Recent' list, which (to me) feels better than the current behaviour.
2021-12-05 12:04:27 +08:00