Skip to content

fix: WiFi error screen text clarifications#612

Merged
daveallie merged 5 commits intocrosspoint-reader:masterfrom
lukestein:fix/wifiscreens-text
Feb 1, 2026
Merged

fix: WiFi error screen text clarifications#612
daveallie merged 5 commits intocrosspoint-reader:masterfrom
lukestein:fix/wifiscreens-text

Conversation

@lukestein
Copy link
Contributor

Summary

  • Clarify strings on Wifi connection error screens
  • I have confirmed on device that these are short enough not to overflow screen margins

Additional Context

  • Several screens give duplicative text (e.g., header "Connection Failed" with contents text "Connection failed") or slightly confusing text (header "Forget Network?" with text "Remove saved password?")

AI Usage

Did you use AI tools to help write this code? No

@lukestein lukestein changed the title Fix/wifiscreens text fix: WiFi error screen text clarifications Jan 29, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to improve the clarity of text displayed on WiFi connection error screens by addressing duplicative and confusing messages.

Changes:

  • Updated error messages to include "Error: " prefix to differentiate details from the "Connection Failed" header
  • Changed the "Forget Network?" header to "Connection Failed" for consistency
  • Expanded the prompt text from "Remove saved password?" to "Forget network and remove saved password?" for clarity

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

const auto top = (pageHeight - height * 3) / 2;

renderer.drawCenteredText(UI_12_FONT_ID, top - 40, "Forget Network?", true, EpdFontFamily::BOLD);
renderer.drawCenteredText(UI_12_FONT_ID, top - 40, "Connection Failed", true, EpdFontFamily::BOLD);
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

The header text "Connection Failed" is now duplicated across two different screens: this forget prompt screen (line 692) and the connection failed screen (line 678). The forget prompt screen is displayed when a connection using saved credentials fails and the user is given the option to forget the network. Having identical headers on both screens may confuse users about which screen they're viewing, especially since the forget prompt is a follow-up action screen after the connection failed screen. Consider using a more specific header like "Forget Network?" or "Network Options" to differentiate this screen from the general connection failed screen.

Suggested change
renderer.drawCenteredText(UI_12_FONT_ID, top - 40, "Connection Failed", true, EpdFontFamily::BOLD);
renderer.drawCenteredText(UI_12_FONT_ID, top - 40, "Forget Network?", true, EpdFontFamily::BOLD);

Copilot uses AI. Check for mistakes.
renderer.drawCenteredText(UI_10_FONT_ID, top, ssidInfo.c_str());

renderer.drawCenteredText(UI_10_FONT_ID, top + 40, "Remove saved password?");
renderer.drawCenteredText(UI_10_FONT_ID, top + 40, "Forget network and remove saved password?");
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

The text "Forget network and remove saved password?" is now 40 characters long, which is significantly longer than the previous text (25 characters). While the PR description mentions this was confirmed to fit on the device screen margins, this increased length may reduce readability on smaller displays. Consider a more concise alternative like "Remove network and password?" (29 characters) which conveys the same meaning more succinctly.

Suggested change
renderer.drawCenteredText(UI_10_FONT_ID, top + 40, "Forget network and remove saved password?");
renderer.drawCenteredText(UI_10_FONT_ID, top + 40, "Remove network and password?");

Copilot uses AI. Check for mistakes.

if (status == WL_CONNECT_FAILED || status == WL_NO_SSID_AVAIL) {
connectionError = "Connection failed";
connectionError = "Error: General failure";
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

The error message "Error: General failure" is vague and doesn't provide users with actionable information about what went wrong. The previous message "Connection failed" was equally generic but shorter. Since WL_CONNECT_FAILED can occur for various reasons (wrong password, authentication issues, etc.), consider using a more specific and helpful message like "Error: Authentication failed" or "Error: Unable to connect" that better indicates the nature of the problem to users.

Suggested change
connectionError = "Error: General failure";
connectionError = "Error: Unable to connect";

Copilot uses AI. Check for mistakes.
nkocher added a commit to nkocher/crosspoint-reader that referenced this pull request Jan 31, 2026
crosspoint-reader#576, crosspoint-reader#587, crosspoint-reader#600 into custom-v16

Integrate 5 upstream PRs:
- crosspoint-reader#612: WiFi error text fixes
- crosspoint-reader#552: Home cover dimension fix
- crosspoint-reader#576: Don't wake on USB connect
- crosspoint-reader#587: Boot loop escape
- crosspoint-reader#600: System-wide continuous navigation (ButtonNavigator)

Manually added ButtonNavigator to EpubReaderMenuActivity (custom file
not in upstream) for hold-to-navigate support in reading menu.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@daveallie daveallie merged commit 12c20bb into crosspoint-reader:master Feb 1, 2026
8 of 9 checks passed
@lukestein lukestein deleted the fix/wifiscreens-text branch February 1, 2026 13:22
lukestein added a commit to lukestein/crosspoint-reader that referenced this pull request Feb 1, 2026
## Summary

* Clarify strings on Wifi connection error screens
* I have confirmed on device that these are short enough not to overflow
screen margins

## Additional Context

* Several screens give duplicative text (e.g., header "Connection
Failed" with contents text "Connection failed") or slightly confusing
text (header "Forget Network?" with text "Remove saved password?")

---

### AI Usage

Did you use AI tools to help write this code? **No**
jdk2pq added a commit to jdk2pq/crosspoint-reader that referenced this pull request Feb 3, 2026
* master:
  feat: Debugging monitor script (crosspoint-reader#555)
  fix: truncating chapter titles using UTF-8 safe function (crosspoint-reader#599)
  fix: don't wake up after USB connect (crosspoint-reader#644)
  Revert "fix: don't wake up after USB connect" (crosspoint-reader#643)
  fix: custom sleep not showing image at index 0 (crosspoint-reader#639)
  docs: Update USER_GUIDE.md (crosspoint-reader#625)
  fix: Hide button hints in landscape CW mode (crosspoint-reader#637)
  fix: WiFi error screen text clarifications (crosspoint-reader#612)
  fix: don't wake up after USB connect (crosspoint-reader#576)
  feat(ui): change popup logic (crosspoint-reader#442)
  feat: Add reading menu and delete cache function (crosspoint-reader#433)
lukestein added a commit to lukestein/crosspoint-reader that referenced this pull request Feb 3, 2026
## Summary

* Clarify strings on Wifi connection error screens
* I have confirmed on device that these are short enough not to overflow
screen margins

## Additional Context

* Several screens give duplicative text (e.g., header "Connection
Failed" with contents text "Connection failed") or slightly confusing
text (header "Forget Network?" with text "Remove saved password?")

---

### AI Usage

Did you use AI tools to help write this code? **No**
lukestein added a commit to lukestein/crosspoint-reader that referenced this pull request Feb 3, 2026
## Summary

* Clarify strings on Wifi connection error screens
* I have confirmed on device that these are short enough not to overflow
screen margins

## Additional Context

* Several screens give duplicative text (e.g., header "Connection
Failed" with contents text "Connection failed") or slightly confusing
text (header "Forget Network?" with text "Remove saved password?")

---

### AI Usage

Did you use AI tools to help write this code? **No**
Unintendedsideeffects pushed a commit to Unintendedsideeffects/crosspoint-reader that referenced this pull request Feb 17, 2026
## Summary

* Clarify strings on Wifi connection error screens
* I have confirmed on device that these are short enough not to overflow
screen margins

## Additional Context

* Several screens give duplicative text (e.g., header "Connection
Failed" with contents text "Connection failed") or slightly confusing
text (header "Forget Network?" with text "Remove saved password?")

---

### AI Usage

Did you use AI tools to help write this code? **No**
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.

3 participants