Skip to content

refactor: rework the gui init process#2421

Open
meteyou wants to merge 78 commits intomainsail-crew:feat/rework-init-processfrom
meteyou:refactor/init-gui-store
Open

refactor: rework the gui init process#2421
meteyou wants to merge 78 commits intomainsail-crew:feat/rework-init-processfrom
meteyou:refactor/init-gui-store

Conversation

@meteyou
Copy link
Copy Markdown
Member

@meteyou meteyou commented Feb 1, 2026

Description

This PR is the second PR for the store init process and is based on #2326 .

Related Tickets & Documents

none

Mobile & Desktop Screenshots/Recordings

none

[optional] Are there any post-deployment tasks we need to perform?

none

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…/init-server-process

# Conflicts:
#	src/plugins/webSocketClient.ts
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…/init-server-process

# Conflicts:
#	src/components/dialogs/SpoolmanChangeSpoolDialog.vue
#	src/components/panels/SpoolmanPanel.vue
…he moonraker docs

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…/init-server-process

# Conflicts:
#	src/types/MoonrakerRPCInterface.ts
…files

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…sponses

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Replace complex dual-timer polling system with unified async approach:
- Consolidate 7 actions into 4 by extracting shared checkAndUpdateKlippyState()
- Replace callback-based emit() with async emitAndWait()
- Merge klippy_connected_timer and klippy_state_timer into single klippy_polling_timer
- Load printer/initGcodes only when gcode.commands is empty
- Add printer.info RPC type definition

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…cessing

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…rver-process

# Conflicts:
#	src/plugins/webSocketClient.ts
#	src/types/moonraker/PrinterRPC.ts
#	src/types/moonraker/ServerRPC.ts
#	src/types/moonraker/index.ts
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
… conversion

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…ity toggle logic

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…tion

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…ssion

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…ity handling

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…ate state management

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…lity handling

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…setter

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Signed-off-by: Stefan Dej <meteyou@gmail.com>
…ations

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…nd streamline layout handling

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…mutations

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…operations

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…operations

Signed-off-by: Stefan Dej <meteyou@gmail.com>
…ult values

Signed-off-by: Stefan Dej <meteyou@gmail.com>
@meteyou meteyou requested review from dw-0, mryel00 and rackrick February 1, 2026 21:12
@meteyou meteyou changed the title refactor: rework the server init process to display current step refactor: rework the gui init process Feb 1, 2026
# Conflicts:
#	src/store/server/actions.ts
#	src/types/moonraker/index.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant