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

[Bug] inconsistency in UI #1454

Closed
Dysta opened this issue Oct 18, 2023 · 5 comments
Closed

[Bug] inconsistency in UI #1454

Dysta opened this issue Oct 18, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Dysta
Copy link

Dysta commented Oct 18, 2023

Describe the bug
Idk if its a bug but there's an inconsistency in the UI. When you install a container, the popout have a clear progress bar. But in the back ground, the global progression is stuck with the current pulled layer and its not very easy to know how much percent have been intalled

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. install a container

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

 - OS: Ubuntu 22.04 LTS
 - Browser Firefox
 - Version latest

System Time

Run timedatectl and share the output

               Local time: mer. 2023-10-18 20:14:15 UTC
           Universal time: mer. 2023-10-18 20:14:15 UTC
                 RTC time: mer. 2023-10-18 20:14:15
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

@Dysta Dysta added the bug Something isn't working label Oct 18, 2023
@ETWang1991
Copy link

You're right, it's not good

@jerrykuku
Copy link
Contributor

First of all, thank you for your suggestion, we initially created the same effect as the installation for the progress bar at the top, but there was a problem that the progress would be displayed incorrectly when the page was refreshed, so we had to abandon this solution. We still need some time to solve this problem, and currently our focus is on adapting the software for the company's hardware products. If we solve this problem over there, we will implement it on CasaOS as soon as possible.
Of course, if the community can provide us with a good solution, we'd appreciate it.

@zhanghengxin
Copy link
Contributor

Currently,the progress of the application installation is being stored in the frontend cache,which means it will be lost once the page is refreshed or a new page is opened. that's why such a design was implemented.

if you don't want this ambiguous behavior, my suggestion is to include the information about the current installation progress with the backend via socket.IO .

@jerrykuku
Copy link
Contributor

v0.4.5 has been updated with this issue.

@Dysta
Copy link
Author

Dysta commented Jan 30, 2024

image
Hello, I reopen this issue since some install can trigger this weird bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants