Skip to content

Advanced Case Conversion Features Hidden from Users #111

@manishbalayan

Description

@manishbalayan

🐞 Issue Description

Three advanced case conversion functions (Title Case, Toggle Case, Alternating Case) are fully implemented in the codebase but are not accessible through the UI. Users cannot access these features even though they're working in the backend.

✅ Expected Behavior

Users should be able to access all implemented text transformation features through the toolbar, including Title Case (capitalizes first letter of each major word), Toggle Case (flips the case of every character), and Alternating Case (creates aLtErNaTiNg CaSe text).

⚙️ Steps To Reproduce

  1. Go to the WordWizard home page
  2. Look at the toolbar buttons above the textarea
  3. Notice only "Convert to uppercase" and "Convert to lowercase" options are available
  4. Check the source code src/data/textUtils.js lines 169-204 - three more case conversion functions exist
  5. Check src/components/Toolbar.jsx lines 24-43 - these functions are not mapped to toolbar icons

📸 Screenshots

Functions exist in textUtils.js: handleTitleCase(), handleToggleCase(), handleAlternatingCase() but are missing from ICON_MAP in Toolbar.jsx.

🧠 Additional Context

The functions are complete and working. They need to be added to the ICON_MAP in Toolbar.jsx with appropriate icons from lucide-react and added to the ALT_TEXT object for accessibility.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions