Skip to content

feat(UI): Account wizard redesign#10030

Open
Rello wants to merge 19 commits into
masterfrom
feature/AccountWizard
Open

feat(UI): Account wizard redesign#10030
Rello wants to merge 19 commits into
masterfrom
feature/AccountWizard

Conversation

@Rello
Copy link
Copy Markdown
Collaborator

@Rello Rello commented May 14, 2026

closing #8822

@Rello Rello moved this to 🏗️ In progress in 💻 Desktop Clients team May 14, 2026
@Rello Rello self-assigned this May 14, 2026
@Rello Rello added the design Design, UI, UX, etc. label May 14, 2026
@Rello

This comment was marked as outdated.

@kra-mo
Copy link
Copy Markdown
Member

kra-mo commented May 15, 2026

@kra-mo wdyt?

I mean, obvious points of feedback are that the input field should be as big as the "Log in" button and the side/bottom padding for buttons should be equal, plus the buttons on the first screen should all take up as much width as possible, like on the second screen. The "Authorize this device in the browser window that opened." string can also be removed and the icons made the same as on the mockup. The colors of the primary buttons also don't meet contrast requirements, I don’t know where this color is from.

Generally just getting it in-line with the mockup.

@kra-mo
Copy link
Copy Markdown
Member

kra-mo commented May 15, 2026

Plus the "Add Nextcloud account" window title can be made invisible on Mac here. Each screen should give you enough context on its own.

@Rello
Copy link
Copy Markdown
Collaborator Author

Rello commented May 15, 2026

Bildschirmfoto 2026-05-27 um 14 05 13 Bildschirmfoto 2026-05-27 um 14 26 45 Bildschirmfoto 2026-05-27 um 14 05 53 Bildschirmfoto 2026-05-27 um 14 06 43 Bildschirmfoto 2026-05-27 um 14 08 42

@Rello
Copy link
Copy Markdown
Collaborator Author

Rello commented May 27, 2026

@kra-mo can you re-check the current screenshots? if ok we will do win/linux also

@Rello Rello requested review from jancborchardt and kra-mo May 27, 2026 19:04
@Rello Rello added this to the 34.0.0 milestone May 27, 2026
@Rello Rello marked this pull request as ready for review May 27, 2026 19:04
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9995d5f252

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +86 to +93
const auto defaultUrl =
Theme::instance()->multipleOverrideServers() ? QString{} : Theme::instance()->overrideServerUrl();

_remoteFolder = Theme::instance()->defaultServerFolder();
setServerUrl(defaultUrl);
const auto hasForcedConcreteServerUrl =
Theme::instance()->forceOverrideServerUrl() && !defaultUrl.isEmpty() && !Theme::instance()->multipleOverrideServers();
setServerUrlEditable(!hasForcedConcreteServerUrl);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve forced override server choices

When overrideServerUrl() contains the JSON array used for forced multiple-server deployments, this initializes the QML wizard with an empty, editable URL instead of presenting the configured choices. The legacy setup page handled multipleOverrideServers() && forceOverrideServerUrl() by hiding the free-form field and populating a combo box from the JSON array, so this new path lets users type arbitrary servers and prevents them from selecting the branded servers.

Useful? React with 👍 / 👎.

Comment on lines +230 to +233
_qmlWizardWindow->show();
_qmlWizardWindow->raise();
_qmlWizardWindow->requestActivate();
return true;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Start the enforced URL login automatically

For single forced override URLs, ConfigFile::overrideServerUrl() still sets startLoginFlowAutomatically(), but the QML path now only shows the window and returns. The legacy OwncloudSetupPage::initializePage() immediately called validation for that scenario, so custom-link/branded launches that are supposed to open the browser login without user input now stop on a read-only server page until the user clicks Log in.

Useful? React with 👍 / 👎.

@github-actions
Copy link
Copy Markdown

Artifact containing the AppImage: nextcloud-appimage-pr-10030.zip

Digest: sha256:6a21070e35d87f5b3efbafb49444a18381fa2a7d805a64bff271ee3a954cc921

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
8.2% Coverage on New Code (required ≥ 80%)
158 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design Design, UI, UX, etc.

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

3 participants