Use A tags instead of buttons for sidebar #324

Closed
opened 2025-11-11 14:17:30 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @traverseda on GitHub (Feb 19, 2024).

Using buttons means that you can't do things like middle click a chat to open it in a new tab. Anything that changes the URL should be an A tag, not a button.

I'd also encourage you to make the settings page accessible as an actual page, not just as a modal dialog.

Originally created by @traverseda on GitHub (Feb 19, 2024). Using buttons means that you can't do things like middle click a chat to open it in a new tab. Anything that changes the URL should be an A tag, not a button. I'd also encourage you to make the settings page accessible as an actual page, not just as a modal dialog.
Author
Owner

@tjbck commented on GitHub (Feb 19, 2024):

Good idea! As for the settings modal, I'm actively considering it!

@tjbck commented on GitHub (Feb 19, 2024): Good idea! As for the settings modal, I'm actively considering it!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#324