Commit Graph

11515 Commits

Author SHA1 Message Date
Andelf
b21edf9077 fix(test): e2e fail due to page search 2023-03-07 14:04:10 +08:00
Andelf
ae82e9132e fix(test): e2e fail due to page search 2023-03-07 14:04:10 +08:00
Tienson Qin
552a8a1575 fix: display page's original name when possible 2023-03-07 11:09:37 +08:00
Yichen Yan
f2b99dbc4c upgrade playwright to 1.31.0 (#8688) 2023-03-06 15:21:54 +08:00
Bad3r
773786bb75 Add Hub & Awesome-logseq to links 2023-03-06 12:14:32 +08:00
charlie
c83c973338 fix(http-server): apis server status for multiple graph windows 2023-03-06 12:07:56 +08:00
charlie
821e029568 enhance(ui): move http apis server indicator to right side from toolbar 2023-03-06 12:07:56 +08:00
charlie
1df54a6b54 chore(plugin): build libs core 2023-03-06 12:05:39 +08:00
charlie
8b406f68c7 fix(plugin): incorrect status for beforeunload hook 2023-03-06 12:05:39 +08:00
Konstantinos
82e5abf9e0 Enhance (Whiteboards): Paste and dnd behavior (also add a placeholder to shape labels) (#8753)
* fix: paste shape

* enhance: add label placeholder

* fix: don't create portal on ref click

* enhance: allow ref dragging

* fix: create line binding on drop

* enhance: allow creating url based elements on drop
2023-03-06 12:04:24 +08:00
Gabriel Horner
91e89ef2d6 Chore: Add deprecation for :editor/command-trigger config (#8720)
* Add deprecation for :editor/command-trigger config

* enhance: warning dialog

* enhance: notification styles

* enhance: notification icons

* Fix tests after config warning improvements

---------

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-03-04 12:07:33 +08:00
Yuriy Piskun
5d0117b6fa hide empty settings descrition (#8739)
Co-authored-by: Charlie <xyhp915@qq.com>
2023-03-03 10:55:33 -05:00
Konstantinos Kaloutas
701223d7d0 fix: command autocomplete on portals 2023-03-03 10:14:10 -05:00
situ2001
59647482fa fix: shrink on-click range of sidebar-item 2023-03-03 20:59:27 +08:00
sallto
fd3afacabf test: add test for duplicate key error msg 2023-03-02 16:04:20 -05:00
sallto
023c904bfc fix: exception for valid strings 2023-03-02 16:04:20 -05:00
sallto
894a2888b2 enhance(ui): add better error messages for duplicate key in config.edn 2023-03-02 16:04:20 -05:00
Gabriel Horner
5202741563 Fix: Plugins menu item not opening from plugins dashboard (#8736)
* Fix plugins menu item not opening from plugins dashboard

Fix #8726

* Address review feedback and just remove event firing
2023-03-02 11:22:00 -05:00
Andelf
046e47d22e fix(electron): global config dir name under windows 2023-03-02 14:42:17 +08:00
Konstantinos
1ff15171ed fix (Whiteboard): Paste shape (#8636)
* fix: paste shape

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* fix: add timeout to headings test

* fix: test

* fix: e2e test

* just another attempt to fix the tests

* fix; yet another test fix

* remove the inconsistent test

* revert test change

* revert unneeded change

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-03-01 12:25:45 -05:00
rcmerci
de2c1f7445 move all string/join used to construct paths to one place 2023-03-01 11:59:00 -05:00
rcmerci
974e91c995 dev(lint): set :path-invalid-construct/string-join level to :info 2023-03-01 11:59:00 -05:00
rcmerci
40a1f5b6cd dev(lint): add :path-invalid-construct/string-join linter 2023-03-01 11:59:00 -05:00
Andelf
b8dfac04d2 fix(rsapi): use system certs 2023-03-01 21:59:09 +08:00
Andelf
db76ba885c chore(release): bump version 0.8.18 0.8.18 2023-03-01 15:23:15 +08:00
Gabriel Horner
b68ae17ab6 Shorten and move contributing sections from #8160
- Want the readme contributing section to be short to encourage
contributors to read CONTRIBUTING.md
- Emphasize non-coding ways to help as we could use help there
- Moved good first issues and dev links to CONTRIBUTING.md
2023-02-28 14:25:35 -05:00
Bad3r
849f70e891 docs: overhaul README structure (#8160)
* enhancement(README): overhaul document structure

- Added logseq logo to the readme (I need a copy of the .svg logo) 
- Update the introduction format 
- Update the types of badges used
- change badges colors to fit Logseq colors 
- General readability improvements 
- emojis!

### Regarding open collective user images
As a backer; I appreciate the idea of wanting to display all profile pictures of logseq backers.
The number of backer now is +26k; it would be impossible to present them all.
I also think it turned into an eyesore, and it feels unwelcoming for new project viewers.

* fix: navigate to website when click on logo

* fix: Added backers to the bottom

based on community feedback

* fix: Thanks to section

- Separated sponsors from backers
- increased images sizes
- moved Jetbrains logo to the bottom

* fix: thanks to; section

* fix: move logo above header

* update: add contributors to 'thanks to' section

* fix: typo

* enhance(README.md): formatting

* enhance(README.md): logo position

* enhance(README.md): added links

* enhance: update logseq image

Thanks to @hdansou for providing the screenshot

* fix: change backers avatar size to be smaller

avoid timeout

* docs: update logseq description

* update: moved producthunt review button

* docs: add linebreaks

* cleanup 🧹

* Fix grammar issues 🧠

* update screenshot

* 🧼 revised and updated

* ✍ concise text

* 🔨 Fix typo

* 🎨 styling

* 🧽 clean up and improve consistancy

* 🔌 Update plugin API docs link & styling 🎨

* tool --> platform

* Merge FAQ and learn more sections

* Merge sponsors section

* center producthunt banner

* switch to circular logo 🟦

* move learn more section higher

* add table of contents

* simplify how to section

* add whiteboard screenshot

* add link to 'develop togather' project board

* add new screenshots 

* update GTD screenshot to remove cursor

* add PDF annotation example screenshot

* update pdf demo screenshot

* replace PDF demo with video

* revert GIF

* remove video

* Replace images w/ gif

* update GIF

* shorten desc.

* adjust formatting

* adjust descrription to stay true to the original one written by Tienson

* update social logo colors

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-02-28 14:21:10 -05:00
Andelf
d0c52615f8 ci: re-enable codesign on macos 2023-02-28 15:46:52 +08:00
charlie
ec6e99e447 fix(plugin): force disable the unloaded(error) plugin 2023-02-28 15:13:42 +08: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
Gabriel Horner
6108aa1036 Add tests for timestamp blocks
Also make block attributes more explicit in pre-block and reduce needless coupling
2023-02-27 13:20:10 -05:00
Gabriel Horner
6506c369e8 Add support for block refs in page/block props 2023-02-27 13:20:10 -05:00
sallto
bdc11a9dcd Shortcut for copying a page url (#8538)
* fix: move primary directory to ~/.config/Logseq

* feat: Add shortcut for copying a page url

* Revert "fix: move primary directory to ~/.config/Logseq"

This reverts commit 1991c60fbf236db93df96e0c0856d73df123a124.

* fix(dev): remove import to pass lint checks

* Address code review

Also
- Add :inactive to command to reflect page-menu platforms like other commands
- Add improved current page like other current file/page commands
- don't use state/sub in non component contexts

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-02-27 12:38:14 -05:00
Gabriel Horner
ea933a292d Fix invalid example in default repo config as caught by Bad3r
Also mention valid keys for global config
2023-02-27 10:17:40 -05: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
rcmerci
ec157b8f2c dev: add lsp config
add :ns-inner-blocks-indentation config to keep the current style of :require
2023-02-24 15:24:38 +08:00
Tienson Qin
6a5b0c8199 Fix pencil not working if drawing quickly (replace tldraw's undo/redo history with logseq's) (#7786)
* fix: pencil not working if drawing quickly

* feat: mod+c mod+g to toggle grid

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-02-22 23:16:52 +08:00
charlie
46d3cb516a improve(ui): edge gap for commands auto-complete modal 2023-02-22 18:26:52 +08:00
charlie
11b9eaabe4 improve(ui): friendly size for slash commands modal 2023-02-22 18:26:52 +08:00
charlie
215c45744b enhance(ui): position auto-complete modal in viewport 2023-02-22 18:26:52 +08:00
Gabriel Horner
d7d65a6c66 Remove :collapsed from properties-text-values like we do for :id
https://github.com/logseq/logseq/pull/8657/files#r1112206914
2023-02-21 12:35:23 -05:00
Gabriel Horner
b78c689458 Fix remaining todos and add a section to practices about this new action 2023-02-21 12:01:58 -05:00
Zhizhen He
25c15053d6 feat: add typos to GitHub action
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-02-21 12:01:58 -05:00
Andelf
f6d4560044 ci: update actions and build deps 2023-02-22 00:32:05 +08:00
Konstantinos Kaloutas
664afd827c fix: default color on portals 2023-02-21 23:49:25 +08:00
Tienson Qin
ea213258b1 fix: references crash 2023-02-21 23:49:25 +08:00
Tienson Qin
0e365508be fix: wrong usage of :frontend.db.react/refs
Previously, `[:frontend.db.react/refs id]` is used for three places:
1. get-page-referenced-blocks
2. get-block-referenced-blocks
3. get-block-references-count

The cached query atom will be shared between those three functions,
the problem is that both queries in `get-page-referenced-blocks` and
`get-block-referenced-blocks` return data of different formats, which
can result in crashes in some situations (e.g. PR #8423).

This commit removed `get-block-references-count` and use
`model/pull-block` and `(count (:block/_refs block))` instead.

We also need to make sure the `id` in `[:frontend.db.react/refs id]`
will be different for `get-page-referenced-blocks` and
`get-block-referenced-blocks`. We can probably get rid of
`get-page-referenced-blocks` once we refactored both linked references
and filters for pages.
2023-02-21 23:49:25 +08:00
Andelf
5a2884038b fix: regression of file editing on browser-app 2023-02-21 10:40:17 -05:00
Andelf
db356ac946 fix lint 2023-02-21 10:40:17 -05:00
Andelf
e0f9111beb fix(config): loading of config editing
Introduced: #8578
2023-02-21 10:40:17 -05:00