Skip to content

Minor bugs: incorrect footer year, orphaned DemoContext, unused button component, missing public assets #215

@Mosas2000

Description

@Mosas2000

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 TipStream or dynamically generated via new 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.jsx component that consumed this context was deleted during the refactoring phase
  • DemoContext.jsx still 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.jsx component 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.svg is referenced in index.html and the PWA manifest but may not exist in public/
  • og-image.png is referenced in Open Graph meta tags but does not exist in public/
  • logo.svg is referenced in the PWA manifest and as an apple-touch-icon

Proposed Fix

  1. Set the footer year dynamically or correct it to the actual year
  2. Delete frontend/src/context/DemoContext.jsx
  3. Audit button.jsx usage and remove if unused
  4. Verify existence of all referenced public assets and either create them or remove the references

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcleanupCode cleanup and maintenance

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions