Skip to content

ui: loading bar below the model picker#24931

Merged
allozaur merged 4 commits into
ggml-org:masterfrom
ServeurpersoCom:ui/loading-progress2
Jun 24, 2026
Merged

ui: loading bar below the model picker#24931
allozaur merged 4 commits into
ggml-org:masterfrom
ServeurpersoCom:ui/loading-progress2

Conversation

@ServeurpersoCom

@ServeurpersoCom ServeurpersoCom commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Overview

Follow-up for #24878

Add the loading bar below the model picker :

LoadingProgress2.mp4

Loading bar everywhere :

LoadingProgressEverywhere.mp4

Additional information

Requirements

@ServeurpersoCom

Copy link
Copy Markdown
Contributor Author

And while we're at it, we can also add the bar below the assistant message selector.
And it will be easy to change the theme later: for example, by using a darker color gradient right on the model name text, it's another classic approach.

@ngxson

ngxson commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Just wondering, is the style B below better? (For both the model picker + the list item)

The progress will have a subtle "pulse" effect (opacity oscillate slightly), a little bit like windows 7 or windows 10 loading bar

image

@ServeurpersoCom

ServeurpersoCom commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Currently, without PR #24897, the model name wraps onto two lines on mobiles, eating into the bar. With Style B, it can't bug by design.

@ServeurpersoCom

Copy link
Copy Markdown
Contributor Author

@ngxson

PulseLoadingProgress.mp4

@ngxson

ngxson commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

ahah that's a bit too flashy, maybe like this: https://onecompiler.com/html/44t5jyb5c

@ServeurpersoCom

Copy link
Copy Markdown
Contributor Author

ahah that's a bit too flashy, maybe like this: https://onecompiler.com/html/44t5jyb5c

PulseLoadingProgress2.mp4

@ngxson

ngxson commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

that's much better, wdyt @allozaur ?

@julien-c

Copy link
Copy Markdown
Contributor

love the concept! (no preference between the versions)

@allozaur

Copy link
Copy Markdown
Contributor

that's much better, wdyt @allozaur ?

I personally lean towards the thin bar at the bottom, it's more elegant imo. It can be pulsating tho

@ServeurpersoCom

Copy link
Copy Markdown
Contributor Author

Ah, I'm hesitating🤣 We're giving it a try to small pulsating bar?

@ServeurpersoCom

Copy link
Copy Markdown
Contributor Author

It's great like that too! (It's centralized in ModelLoadHighlight.svelte since there are two call sites now, thanks to mobile)

RemixBar.mp4

@allozaur

Copy link
Copy Markdown
Contributor

@ServeurpersoCom #24897 merge, let's rebase and ship :)

Mirror the in-dropdown stage progress as a thin bar on the selector
trigger, so the active model's load percent stays visible when the menu
is closed. Same status gating and composite fraction as the dropdown
row, so both bars track the selected model in sync.

Suggested-by: Julien Chaumond <@julien-c>
…gxson)

Also wire the indicator onto the mobile sheet trigger, which was missing
it since mobile uses the sheet instead of the dropdown.
@ServeurpersoCom

Copy link
Copy Markdown
Contributor Author

@ServeurpersoCom #24897 merge, let's rebase and ship :)

Done, just need one more approval :)

@allozaur allozaur requested a review from ggerganov June 24, 2026 08:44
@allozaur allozaur merged commit 00139b6 into ggml-org:master Jun 24, 2026
6 checks passed
Geminihaha pushed a commit to Geminihaha/llama.cpp that referenced this pull request Jun 25, 2026
* ui: show model load progress on the selector trigger

Mirror the in-dropdown stage progress as a thin bar on the selector
trigger, so the active model's load percent stays visible when the menu
is closed. Same status gating and composite fraction as the dropdown
row, so both bars track the selected model in sync.

Suggested-by: Julien Chaumond <@julien-c>

* ui: show model load progress bar on the in-conversation model selector

* ui: tune model load indicator to a pulsing highlight (suggested by @ngxson)

Also wire the indicator onto the mobile sheet trigger, which was missing
it since mobile uses the sheet instead of the dropdown.

* ui: thin (@allozaur) pulsating (@ngxson) model load bar
papamoose pushed a commit to papamoose/llama.cpp that referenced this pull request Jun 27, 2026
* ui: show model load progress on the selector trigger

Mirror the in-dropdown stage progress as a thin bar on the selector
trigger, so the active model's load percent stays visible when the menu
is closed. Same status gating and composite fraction as the dropdown
row, so both bars track the selected model in sync.

Suggested-by: Julien Chaumond <@julien-c>

* ui: show model load progress bar on the in-conversation model selector

* ui: tune model load indicator to a pulsing highlight (suggested by @ngxson)

Also wire the indicator onto the mobile sheet trigger, which was missing
it since mobile uses the sheet instead of the dropdown.

* ui: thin (@allozaur) pulsating (@ngxson) model load bar
adrianhoehne pushed a commit to adrianhoehne/llama.cpp that referenced this pull request Jul 5, 2026
* ui: show model load progress on the selector trigger

Mirror the in-dropdown stage progress as a thin bar on the selector
trigger, so the active model's load percent stays visible when the menu
is closed. Same status gating and composite fraction as the dropdown
row, so both bars track the selected model in sync.

Suggested-by: Julien Chaumond <@julien-c>

* ui: show model load progress bar on the in-conversation model selector

* ui: tune model load indicator to a pulsing highlight (suggested by @ngxson)

Also wire the indicator onto the mobile sheet trigger, which was missing
it since mobile uses the sheet instead of the dropdown.

* ui: thin (@allozaur) pulsating (@ngxson) model load bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants