This repository was archived by the owner on Jul 28, 2025. It is now read-only.
option to select binary checkbox states for integration with Tracker plugin#906
Open
ethanimproving wants to merge 1 commit into
Open
option to select binary checkbox states for integration with Tracker plugin#906ethanimproving wants to merge 1 commit into
ethanimproving wants to merge 1 commit into
Conversation
Owner
|
hi @ethanimproving ! I am sorry for the wait since I am not being able to dedicate time to manage the project. I promise to review the pull request this week and push it to the main branch. |
RafaelGB
reviewed
May 31, 2023
| isBinaryCellType ? InputType.NUMBER : InputType.CHECKBOX, | ||
| configInfo.getLocalSettings() | ||
| ) as boolean | ||
| ) as boolean | number |
Owner
There was a problem hiding this comment.
We can create an specific type for this
type Checkbox = number | boolean
RafaelGB
reviewed
May 31, 2023
| <input | ||
| type="checkbox" | ||
| checked={checkboxCell} | ||
| checked={!!checkboxCell} |
Owner
There was a problem hiding this comment.
we can use the service function of isTruthy avaliable in dataview api or dataviewService
RafaelGB
reviewed
May 31, 2023
| case InputType.INLINKS: | ||
| case InputType.OUTLINKS: | ||
| case InputType.METADATA_TAGS: | ||
| case InputType.CHECKBOX_TYPE: |
Owner
There was a problem hiding this comment.
All the configuration as metadata info of the checkbox type I think it could be moved to column configuration, the idea of the flag to control the behavior its cool but I think it should be managed on columnConfig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We're excited to announce the latest version of DB Folder, which introduces a new feature that makes it easier to integrate your notes with the Obsidian Tracker plugin. You can now configure the CheckBox type as either binary (1/0) or boolean (true/false), allowing you to use your note's frontmatter in a way that works best for you.
To configure the CheckBox type, simply go to the settings page and select the appropriate option. Once set, all notes using the CheckBox feature will use the selected type.
We hope this new feature makes it easier for you to track your progress and achieve your goals with Obsidian.