Releases: RafaelGB/Obsidian-ZettelFlow
2.6.1
2.6.0
Shinny new things
new action: Dynamic Selector
The Dynamic Selector Component allows users to define selection elements whose options are generated on-the-fly based on user-provided JavaScript code. This means that instead of having static dropdown options, the options can change dynamically depending on various factors such as dataview queries, or other custom logic.
Select your option without static original options
No longer Broken
- add actions menu css fixed to do not allow select hidden options
2.5.0
New Shinny Things
- #69 We now supports a powerful feature: Folder-Level Automated Flows. This feature allows you to assign specific workflows to individual folders. Whenever a file is created in one of these configured folders, an automatic modal will trigger, guiding you through the workflow you have set up for that folder.
2.4.2
UX improvement
We've enhanced the "Add Action" button functionality with a smoother user experience: now, clicking the circular "+" button seamlessly transforms it into an "x" button, while the action menu gracefully expands from it. This update ensures the button stays in place and provides a more intuitive interaction, enhancing the overall usability.
2.4.1
2.4.0
Shinny New Things
- #60 New action - manage tasks! automatic rollover with regex, recursive folder flags, initial folder, prefix and suffix.
Since I have a script with that feature with a solid use for months I decided to include it as another action.
const getAllUnfinishedTodos = async (file: TFile, tasksHeader: string) => {
const contents = await FileService.getContent(file);
const contentsForDailyTasks = contents.split(tasksHeader)[1] || contents;
const unfinishedTodosRegex = /\t*- \[ \].*/g;
const unfinishedTodos = Array.from(
contentsForDailyTasks.matchAll(unfinishedTodosRegex)
).map(([todo]) => todo);
const fileWithoutTasks = contents.split(/.*\t*- \[ \].*\n?/g).join("");
await FileService.modify(file, fileWithoutTasks);
new Notice(
`Rollover ${unfinishedTodos.length} unfinished task/s from ${file.basename}`
);
return unfinishedTodos;
};
- Improved UI for step Builder modal
2.3.3
No Longer Broken
Concatenate prompt actions does not add an enter anymore
2.3.2
No Longer Broken
Context of DnD selectors is fixed. There was a problem when multiple select steps were rendered
interface OptionsContextProps {
id: string; // added
options: [string, string][];
defaultOption: string | undefined;
add: () => void;
delete: (index: number) => void;
update: (index: number, frontmatter: string, label: string) => void;
modifyDefault: (key: string) => void;
}
With that id we can now identify the context of n steps with DnD
2.3.1
2.3.0
Shinny New Things
- #58 This is a breaking change since you can use another Canvas file to configure a workflow for your editor. Now you can include templates and actions to interact with the existing notes with a shortcut of right click option.
It also works with Canvas cards!