Templater icon indicating copy to clipboard operation
Templater copied to clipboard

New Folder Template button sets Settings Menu view to the top wrong position

Open Gamrin opened this issue 1 year ago • 3 comments

Plugin information (please complete the following information):

  • OS: [e.g. Windows 10]
  • Templater version: 1.16.4
  • Obsidian version: 1.4.14
  • Templater settings: [e.g. Template folder location: "Templates/", Timeout: "5" (add the templates not working with their associated command)]

Describe the bug New Folder Template button sets Settings Menu view to the top wrong position.

Expected behavior New Folder Template button sets Settings Menu view to feature the newly created textbox.

Screenshots image Additional context

Add any other context about the problem here.

Gamrin avatar Oct 17 '23 12:10 Gamrin

I think we'll want to be careful when fixing this. If a user wants to quickly add more than one folder template, scrolling the user down would move their cursor off of the plus button before they can click on it again, forcing them to scroll back up each time they want to add another one.

Should maybe consider some sort of UI indicating that a folder template was added and prompt the user to scroll down?

Or, putting the plus button somewhere else so the new folder template will always be visible when the plus button is clicked.

Zachatoo avatar Oct 21 '23 16:10 Zachatoo

The UI currently already moves the screen so that the cursor is off the button. Just not to a useful location.

On Sat, Oct 21, 2023, 18:05 Zach Young @.***> wrote:

I think we'll want to be careful when fixing this. If a user wants to quickly add more than one folder template, scrolling the user down would move their cursor off of the plus button before they can click on it again, forcing them to scroll back up each time they want to add another one.

Should maybe consider some sort of UI indicating that a folder template was added and prompt the user to scroll down?

— Reply to this email directly, view it on GitHub https://github.com/SilentVoid13/Templater/issues/1227#issuecomment-1773840600, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGD2CTJ6A2HGT5TBFYXHBLYAPXC7AVCNFSM6AAAAAA6DX67COVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA2DANRQGA . You are receiving this because you authored the thread.Message ID: @.***>

Gamrin avatar Oct 21 '23 16:10 Gamrin

Sounds like the worst of both worlds then at the moment.

If someone wants to pick this up to fix which element it scrolls to, I would appreciate it.

If someone wants to help solve this UX problem, I'm open to other solutions.

Zachatoo avatar Oct 21 '23 16:10 Zachatoo