Skip to content

improvement: add input format hints and better UX for numeric fields #975

Open

Description

@marcuscastelo

Summary

Add input format hints and improve user experience for numeric input fields throughout the application.

Current Behavior

  • Numeric fields have no format hints or examples
  • Users may be unclear about expected input formats
  • No visual guidance for decimal places, units, or ranges
  • Limited feedback about acceptable input values

Proposed Improvement

Add comprehensive input guidance:

  • Placeholder text with format examples (e.g., "75.5")
  • Unit indicators clearly visible (kg, g, kcal)
  • Range hints for expected values (e.g., "30-300 kg")
  • Input masks for consistent formatting
  • Helpful tooltips with additional context

Technical Implementation

  • Add placeholder text to all numeric inputs
  • Implement input formatting utilities
  • Create consistent unit display components
  • Add range validation with helpful messages
  • Implement input masks for decimal formatting

Benefits

  • Clearer user expectations for input formats
  • Reduced input errors and validation failures
  • Better accessibility for new users
  • Consistent experience across all numeric fields
  • Improved data quality through better guidance

Affected Components

  • All numeric input fields (weight, macros, quantities)
  • Form components and validation
  • Input styling and layout components

Acceptance Criteria

  • Placeholder text for all numeric inputs
  • Clear unit indicators (kg, g, kcal)
  • Range hints for expected values
  • Input formatting utilities
  • Consistent styling across all numeric fields
  • Helpful tooltips where appropriate

Activity

  1. added this to the v0.17.0 milestone on Jul 9, 2025
  2. added
    improvementTechnical debt or general improvement
    complexity-lowLow implementation complexity
    uiUI/UX related issue or improvement
    on Jul 9, 2025
  3. modified the milestones: v0.17.0, v0.18.0 on Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-lowLow implementation complexityimprovementTechnical debt or general improvementuiUI/UX related issue or improvement

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions