Domain Page: Improve UX and fix inconsistent button placement
What problem will this feature address?
First time contributor here! I've been using Dokploy for a while and really appreciate the project. While getting familiar with the platform, I noticed some UX patterns that could be improved to help new users.
Current Behavior
- External link button is positioned on the left side of domain entries
- Inconsistent with platform conventions and other Dokploy UI patterns
- Limited clickable area for domain links
- Responsiveness issues on various screen sizes
Expected Behavior
- Entire domain text area is clickable
- All action buttons are on the right
Context
This inconsistency creates friction for new users - you can see this pain point in action in this video where a user struggles to find and interact with the external link. Most platforms, including Dokploy itself, position action buttons on the right side of list items.
Describe the solution you'd like
Proposed Solution
I've prepared a mockup demonstrating:
- Right-aligned action buttons
- Full-width clickable domain links
- Improved responsive behavior
Describe alternatives you've considered
Proposed Solution Demo
Additional context
Questions
- Does this align with the project's UI/UX direction?
- Would you like me to submit a PR with these changes?
Let me know if you need any clarification or have alternative suggestions.
Will you send a PR to implement it?
Yes
I've updated the proposed solution with some additional improvements:
- Made the link text white to match other clickable elements in Dokploy
- Enhanced text truncation behavior for long domain names
- Improved responsive layout on smaller screens
- Added hover state for better interaction feedback
- Replaced misused Button components with semantic elements for static information like ports and protocols (these aren't interactive elements and shouldn't be rendered as buttons)
Here's a demo of the changes in action:
Sure @ali-issa, Feel free to open a PR