Guide pages: show a 'not yet' reason as a neutral hint, and draw Next and Finish as primary action buttons

Open Beginner friendly
#4,835 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
design, desktop

Research direction

Start with crates/ui/src/egui_app/layout/guide.rs and inspect how the shared guide renders the “not yet” reason and its Next and Finish controls. Check the behaviour tests referenced by #1953 for assertions about role and label. Done when both guides show the reason as a neutral hint and render Next and Finish as primary action buttons through layout::action_bar.

Written by the indexing model from the issue text.

Description

area:ui effort:medium enhancement P7 source:agent

What happens: the shared guide (crates/ui/src/egui_app/layout/guide.rs) drives the guided setup (#4614) and the guided tool. It has two points from the UI review of #4614 by sn3ro:

  1. The reason why the user cannot go to the next step yet shows as red error text with a Copy button. It is a hint, not an error.
  2. Next and Finish are plain buttons. They are not drawn through layout::action_bar with ActionKind::Primary.

Expected:

  1. The "not yet" reason shows as a neutral hint. The error colour stays only for finish_error.
  2. Next and Finish are primary action buttons through layout::action_bar.

These change the shared guide, so both guides change together. #4614 left them out on purpose. A third point (the focus underline on the step heading) was called acceptable and is not part of this issue.

Done means: both guides show the hint style and the primary buttons. The behaviour tests assert the role and the label, not the colour (#1953).

Dominant language
Rust
Stars
8
Forks
11
Avg merge
10h 3m
Merged PRs (30d)
927

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NeoTech/Camcraft

All issues in NeoTech/Camcraft

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.