-
Notifications
You must be signed in to change notification settings - Fork 66
Description
🐞 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
- Go to the WordWizard home page
- Look at the toolbar buttons above the textarea
- Notice only "Convert to uppercase" and "Convert to lowercase" options are available
- Check the source code src/data/textUtils.js lines 169-204 - three more case conversion functions exist
- 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.