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

[Improvement]: Web console default deployment to the running one #1853

Open
1 task done
ffguven opened this issue Aug 4, 2024 · 2 comments
Open
1 task done

[Improvement]: Web console default deployment to the running one #1853

ffguven opened this issue Aug 4, 2024 · 2 comments
Labels
S-Accepted This will be worked on T-Improvement Improvement or addition to existing features

Comments

@ffguven
Copy link

ffguven commented Aug 4, 2024

Describe the improvement

Hi folks,

I have a project named zort-2, and it contains 4 deployments

  • 1 Stopped and Dirty.
  • 2 Stopped and Committed.
  • 1 Running and Committed.

When I open the Web Console to see logs, it defaults to the first deployment shown in the list although it's stopped and not begin used anymore. That might be misleading when an operator wants to check the logs for the running version of the deployment, or at least requires the operator to manually pick the running deployment all the time.

Instead, either

  1. Sorting the deployments with the order Running deployment and then the Stopped deployments by their timestamp.
  2. Showing the active deployment's pane by default.

can be done to improve that part.

IMHO, having the 1st option is more useful in terms of the developer experience and reduce the cognitive overhead when debugging/observing a system.

Duplicate declaration

  • I have searched the issues and this improvement has not been requested before.
@ffguven ffguven added S-Triage Awaiting decision for what to do T-Improvement Improvement or addition to existing features labels Aug 4, 2024
@oddgrd
Copy link
Contributor

oddgrd commented Aug 6, 2024

I agree, showing logs for a stopped deployment when you have a running deployment is not useful, and it's unexpected. The console isn't open-source yet, but we'll look into this, thanks for the report and the suggested solutions!

@oddgrd oddgrd added S-Accepted This will be worked on and removed S-Triage Awaiting decision for what to do labels Aug 6, 2024
@jonaro00
Copy link
Member

For console.shuttle.dev, no deployment logs are opened by default. If we add that, we'll reconsider the logic for which one to pick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Accepted This will be worked on T-Improvement Improvement or addition to existing features
Projects
None yet
Development

No branches or pull requests

3 participants