Add cons_show_warn()` function #87

Open
opened 2026-02-06 11:18:25 +00:00 by jabber.developer2 · 0 comments
Collaborator

Summary

Currently we have cons_show() for info and cons_show_error() for errors. There's no intermediate level for warnings that need user attention but don't indicate a critical failure.

Proposal

Add cons_show_warn() function for non-critical warnings.

Design

  • Yellow/orange text (THEME_WARN or similar)
  • Logs to log_warning()
  • Does NOT block input (unlike error)
  • Prefixed with "Warning: " or "⚠"

Use cases

  • Locale auto-fallback notification
  • Deprecation warnings
  • Non-fatal configuration issues
  • Missing optional features
## Summary Currently we have `cons_show()` for info and `cons_show_error()` for errors. There's no intermediate level for warnings that need user attention but don't indicate a critical failure. ## Proposal Add `cons_show_warn()` function for non-critical warnings. ### Design - Yellow/orange text (`THEME_WARN` or similar) - Logs to `log_warning()` - Does NOT block input (unlike error) - Prefixed with "Warning: " or "⚠" ### Use cases - Locale auto-fallback notification - Deprecation warnings - Non-fatal configuration issues - Missing optional features
jabber.developer2 added the
Kind/Enhancement
Priority
Low
4
labels 2026-02-06 11:18:25 +00:00
jabber.developer2 added this to the Plans (2025-2026) project 2026-02-06 11:18:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devs/cproof#87
No description provided.