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

Implement feature: settings - default layout and config values #19

Open
Dmytro-Shulha opened this issue Aug 13, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@Dmytro-Shulha
Copy link
Owner

Dmytro-Shulha commented Aug 13, 2023

There should be an option to define default layout and config values in settings.
Option to create several layouts and choose particular preset for each plot is nice from code reuse perspective.

Separated from #4

@Dmytro-Shulha
Copy link
Owner Author

If settings are going to support several layouts, each one should have a name, and there should be a way to select a preset layout for a given chart.
For all charts in vault, it can be chosen by a radial button in settings menu.
For all charts in directory, it can be configured in settings menu as some dir->layout mapping.
For all charts in file, YAML frontmatter properties can be used.
For a single chart, preset layout variables should be available to use inside chart block.

@Dmytro-Shulha Dmytro-Shulha added the enhancement New feature or request label Aug 13, 2023
@Dmytro-Shulha Dmytro-Shulha self-assigned this Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant