dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

UX: Domain Links in Card Header with Priority Navigation

Open ali-issa opened this issue 1 year ago • 4 comments

What problem will this feature address?

Currently, users need to navigate to the Domains tab to access their application's domains. This creates unnecessary friction when users simply want to quickly check or visit their deployed applications. Adding domain links directly to the card header would improve accessibility and streamline the workflow.

Proposed Changes

Add domain links directly to the card header with:

  • Priority navigation pattern that adapts to different screen sizes
  • Overflow menu for additional domains when space is limited
  • "Add domain" shortcut in the dropdown for quick domain creation

Visual Reference

Image

Benefits

  • Provides immediate access to deployed applications from the main view
  • Responsive design works across all device sizes
  • Improves user experience by reducing navigation steps
  • Maintains clean UI by intelligently handling overflow with priority navigation
  • Streamlines domain management with quick-access "Add domain" shortcut

Will you send a PR to implement it?

Yes

ali-issa avatar Mar 04 '25 03:03 ali-issa

Has the PR been sent yet?

Alm0stEthical avatar Mar 16 '25 12:03 Alm0stEthical

Not yet, I’m waiting for feedback from the maintainers before I submit it. @Siumauricio

ali-issa avatar Mar 17 '25 01:03 ali-issa

This works okay with Compose deployments, but I haven’t fully figured out what to use as labels for Application deployments since domains in Application don’t come with a service name. For custom domains, we could go with the domain names, but for auto-generated Traefik domains, I'm not sure if using the Traefik link or a truncated version of it would be acceptable.

ali-issa avatar Mar 17 '25 02:03 ali-issa

Looks really cool, mind to submit a PR @ali-issa ?

Siumauricio avatar Mar 17 '25 03:03 Siumauricio