-
Notifications
You must be signed in to change notification settings - Fork 1
Minor bugs: incorrect footer year, orphaned DemoContext, unused button component, missing public assets #215
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingcleanupCode cleanup and maintenanceCode cleanup and maintenance
Description
Summary
Several minor but distinct bugs exist across the frontend that should be addressed for correctness and consistency.
Issues
1. Incorrect Copyright Year in Footer
- File:
frontend/src/App.jsx(line 164) - Current:
(c) 2026 TipStream - Expected:
(c) 2025 TipStreamor dynamically generated vianew Date().getFullYear() - The year 2026 is incorrect and should reflect the actual launch year or be dynamically set
2. Orphaned DemoContext with No Consumer
- File:
frontend/src/context/DemoContext.jsx - The
DemoBanner.jsxcomponent that consumed this context was deleted during the refactoring phase DemoContext.jsxstill exists in the codebase but is never imported or used anywhere- This is dead code that should be removed
3. Unused UI Component File
- File:
frontend/src/components/ui/button.jsx - The
button.jsxcomponent exists in the UI directory but is not imported by any other component - Should be verified whether it is used, and removed if confirmed dead code
4. Missing Public Assets Referenced in HTML
- Files:
frontend/index.html,frontend/vite.config.js favicon.svgis referenced inindex.htmland the PWA manifest but may not exist inpublic/og-image.pngis referenced in Open Graph meta tags but does not exist inpublic/logo.svgis referenced in the PWA manifest and as an apple-touch-icon
Proposed Fix
- Set the footer year dynamically or correct it to the actual year
- Delete
frontend/src/context/DemoContext.jsx - Audit
button.jsxusage and remove if unused - Verify existence of all referenced public assets and either create them or remove the references
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcleanupCode cleanup and maintenanceCode cleanup and maintenance