Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log the last time a site was started and display in the UI #1005

Open
ndiego opened this issue Mar 4, 2025 · 7 comments
Open

Log the last time a site was started and display in the UI #1005

ndiego opened this issue Mar 4, 2025 · 7 comments

Comments

@ndiego
Copy link
Contributor

ndiego commented Mar 4, 2025

What

When you have many Studio sites, it can become confusing what's what. A small quality of life improvement would be to display the last time the site was started.

Here's a minimalistic implementation.

Image

Why

I often have demo sites that are months old, and having the date helps me identify the one I'm looking for.

How

The placement of the "Last started" date could be placed in the Site details section of the Settings tab. However, it does not look like we are currently logging the last time a site was started. This code would need to be added.

@wojtekn
Copy link
Contributor

wojtekn commented Mar 5, 2025

@ndiego I usually use the site name, including emojis, to categorize my sites. Did you think about trying such an approach?

Displaying "Last started" information may make sense. However, I'm unsure if the Settings tab fits that best.

If Studio displayed such information, wouldn't a tooltip over the site name in the sidebar be a cleaner place to display that?

@wojtekn
Copy link
Contributor

wojtekn commented Mar 5, 2025

CC @matt-west

@matt-west
Copy link
Contributor

Thanks for the suggestion @ndiego!

I don’t think this belongs in the Settings tab.

We could add a tooltip when you hover over the start button showing when the site was last started.
I question whether displaying this is useful for the majority of users though.

We’ve heard feedback from other users that they want the ability to favourite sites and have them appear at the top of the list in the sidebar. We could extend that to also allow people to sort by the last started timestamp, or site name.

Would having more flexibility over ordering of the sites list solve the underlying problem for you here @ndiego?

@wojtekn
Copy link
Contributor

wojtekn commented Mar 5, 2025

We could add a tooltip when you hover over the start button showing when the site was last started.

Would you see this as an addition to the "Start site" tooltip, e.g., "Start site (Last started on Mar 2, 2025, 14:08)" or keep the "Start site" tooltip for the button and "Last started on Mar 2, 2025, 14:08" for the site name itself?

@matt-west
Copy link
Contributor

That's a good point. I forgot we had that tooltip on the button already.

In that case, a tooltip isn't the right approach. We already have a lot of tooltips in Studio and it starts to get a bit overwhelming.

@ndiego
Copy link
Contributor Author

ndiego commented Mar 5, 2025

Yeah, not sure where to place this timestamp. Perhaps it would be better suited to the Overview tab. No strong opinion, other than I would be great to log and display somewhere.

We’ve heard feedback from other users that they want the ability to favourite sites and have them appear at the top of the list in the sidebar. We could extend that to also allow people to sort by the last started timestamp, or site name.

Would having more flexibility over ordering of the sites list solve the underlying problem for you here @ndiego?

Absolutely. Improving the sidebar would be an incredible enhancement.

I believe it should work like Slack and other apps.

  • Sites can be favorited (starred), which places them in a dedicated group at the top of the list.
  • Users can also create custom groups for their sites
  • Groups can be expanded or collapsed
  • Sites can be moved between groups, but all sites within a group are ordered alphabetically by default
  • The user can choose how to order sites in the sidebar alphabetically, by last started, etc.
  • Groups can be reordered, but the starred group will always be at the top
  • When creating a new site, users have the option to place them in a group. Sites will default to a generic "Sites" group, much like Slack uses "Channels"
  • Groups would have a dedicated dropdown that allows users to:
    • Start all sites
    • Stop all sites
    • Delete all sites
    • Add new site to group
    • [anything else we can think of]

@richtabor richtabor changed the title Feature Request: Log the last time a site was started and display in the UI Log the last time a site was started and display in the UI Mar 5, 2025
@richtabor richtabor added the Migrated label Mar 5, 2025 — with Linear
@richtabor richtabor removed the Migrated label Mar 5, 2025
@matt-west
Copy link
Contributor

These are great ideas @ndiego. Thanks for sharing.

I think we should hold off on adding a Last started timestamp to the UI. The problem that’s trying to solve would be better addressed by adding the customisation options to the sites list.

We’re typically not great at removing things from products, so if we add the label now, it will probably hang around for a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants