fix: improve domains page UX and button placement consistency#1249
fix: improve domains page UX and button placement consistency#1249Siumauricio merged 2 commits intoDokploy:canaryfrom
Conversation
|
Is adding a fixed "Open" button beside the edit & delete button a good idea? This will save an additional click to the Deployments tab then clicking the link. Maybe make it use the first available domain by default |
|
@MuhammadM1998 I think you meant the |
|
I meant to add it in the top section that's always visible whatever the opened tab is. See the screenshot It should be inside the red square beside the other buttons
You're right that's why I think it should open the first domain by default until "Default Domain" gets implemented then we can use that. I suggested using the first domain for now as it would be faster to merge this then we can implement Default Domain in another PR. |
|
But what would happen if a user deletes the default domain and adds a different one instead? There would be unintentional side effects. Plus there would be no way to choose which one is the default one. This is a common use case when users want to add custom domains for different purposes (like one for the app and another for pgadmin). |
As it opens the first domain, this would work without problems and the newly added domain would open.
I think you're right, maybe it should be implemented in another PR where we can allow the user to select a default domain, then show that default domain as the button target |

Fixes #1248
Changes
Before & After
Context
These changes address usability friction points observed with new users. The improvements align the domains page with common platform patterns and Dokploy's existing UI conventions.
Testing
Let me know if you'd like any adjustments!