Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the missing Logseq properties #79

Open
Bad3r opened this issue Feb 10, 2023 · 7 comments
Open

Document the missing Logseq properties #79

Bad3r opened this issue Feb 10, 2023 · 7 comments

Comments

@Bad3r
Copy link
Collaborator

Bad3r commented Feb 10, 2023

Document the missing Logseq properties.

Legend

  • (1) and (N) indicate how many values you may define, one and multiple values, respectively.

  • (page) and (block) indicates whether a property is a page or a block-only property. Otherwise, a property can be both a page and a block property.

Source: property.cljs

Property                 Description                                                                                                                                                        
collapsed               specifies whether a block is collapsed.                                                                                                               (1) (block)  
id                     specifies a block ID.                                                                                                                                 (1) (block)  
created-at             deprecated property that defines the created date/time stamps in Unix time.                               (1) (block)  
updated-at             deprecated property that defines the updated date/time stamps in Unix time. previously last-modified-at  (1) (block)
query-table             marks a query to be shown as the table view.                                                                                                         (1) (block)  
query-properties       properties user has chosen to see in query table.                                                                                                     (N) (block)  
query-sort-by           property by which to sort query table.                                                                                                               (1) (block)  
query-sort-desc         property sort direction. boolean where true is descending                                                                                             (1) (block)  
custom-id                                                                                                                                                                     (1) (block)  
background-color                                                                                                                                                             (1) (block)  
ls-type                                                                                                                                                                                    
hl-page                                                                                                                                                                                    
hl-stamp                                                                                                                                                                                  
hl-color                                                                                                                                                                                  
logseq.macro-name                                                                                                                                                             (1)          
logseq.macro-arguments                                                                                                                                                       (n)          
logseq.tldraw.page                                                                                                                                                                        
logseq.tldraw.shape                                                                                                                                                                        
@logseq-cldwalker
Copy link
Contributor

@Bad3r Adding the missing ones to https://docs.logseq.com/#/page/built-in%20properties would be great! Still prefer we keep the existing tree structure until we have tables that have the ability to filter. One day 🙏

@Bad3r
Copy link
Collaborator Author

Bad3r commented Feb 10, 2023

@Bad3r Adding the missing ones to https://docs.logseq.com/#/page/built-in%20properties would be great! Still prefer we keep the existing tree structure until we have tables that have the ability to filter. One day 🙏

I will be more than happy to submit a PR. Unfortunately I do not really know what these properties are used for. I could make an educated guess based on the src though.

@Bad3r
Copy link
Collaborator Author

Bad3r commented Feb 10, 2023

  • custom-id
    • what is this used for and how is it different from :id
  • background-color
    • The block background color
  • ls-type
    • what does ls stand for? Logseq i.e. does this mean markdown or org-mode?
  • hl-page, hl-stamp, and hl-color
    • what does hl stand for? highlight?
  • when is macro-name and macro-arguments used?
  • I don't understand tldraw.page and tldraw.shape

@logseq-cldwalker
Copy link
Contributor

logseq-cldwalker commented Feb 10, 2023 via email

@lef-est
Copy link

lef-est commented Mar 23, 2023

file and file-path should be there under "editable properties" too. ( https://docs.logseq.com/#/page/64146616-a5ab-4fed-bdea-52438cce9aba)

It should be able to answer questions like https://discuss.logseq.com/t/what-causes-the-file-property-to-appear/16145

@Bad3r
Copy link
Collaborator Author

Bad3r commented May 31, 2023

@logseq-cldwalker should this list/page now include the new tablesV2 properties? it seems like many were added recently and they are documented in the table feature page.

@logseq-cldwalker
Copy link
Contributor

logseq-cldwalker commented Jun 1, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants