SilentVoid13 / Templater

A template plugin for obsidian
https://silentvoid13.github.io/Templater
GNU Affero General Public License v3.0
3.28k stars 198 forks source link

Suggestion to Improve New Folder Template Addition Behavior in Templater Settings #1428

Open yaxirhuxxain opened 3 months ago

yaxirhuxxain commented 3 months ago

Is your feature request related to a problem? No

Describe the solution you'd like: In the Templater settings, adding a new folder template using the + button currently inserts the new item at the bottom of the list and automatically scrolls the page up. This behavior can be improved in two ways:

Solution 1: The button should add the new item just below it (at the first index instead of the last index) and focus on it without scrolling.

Solution 2: The button should add the new item at the bottom (current behavior) and scroll down to focus on the inserted item.

Describe alternatives you've considered: No

Additional context: This request pertains to the Templater/Folder Templates settings.

Zachatoo commented 3 months ago

I would prefer solution 2. I would expect a user to be adding their folder templates from top to bottom based on their folders in the file explorer pane, and it would be easier to verify if you've created a folder template for each folder if they match the order in the file explorer pane.