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

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

Open
yaxirhuxxain opened this issue Aug 6, 2024 · 1 comment · Fixed by #1468
Open
Labels
enhancement New feature or request good first issue A good issue for someone who wants to contribute

Comments

@yaxirhuxxain
Copy link
Contributor

yaxirhuxxain commented Aug 6, 2024

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.

@yaxirhuxxain yaxirhuxxain added the enhancement New feature or request label Aug 6, 2024
@Zachatoo
Copy link
Collaborator

Zachatoo commented Aug 6, 2024

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.

@Zachatoo Zachatoo added the good first issue A good issue for someone who wants to contribute label Aug 6, 2024
Zachatoo added a commit that referenced this issue Oct 1, 2024
@Zachatoo Zachatoo reopened this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue A good issue for someone who wants to contribute
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants