Skip to content

fix: fixed hardcoded copyright year#1098

Merged
rahulharpal1603 merged 1 commit intoAOSSIE-Org:mainfrom
monu808:fix/hardcoded-copyright-year
Feb 4, 2026
Merged

fix: fixed hardcoded copyright year#1098
rahulharpal1603 merged 1 commit intoAOSSIE-Org:mainfrom
monu808:fix/hardcoded-copyright-year

Conversation

@monu808
Copy link
Contributor

@monu808 monu808 commented Jan 28, 2026

@raghavpuri31
Fixes: #1092
Fixed hardcoded copyright year in the codebase.
Change:
// Before

© 2025 PictoPy

// After

© {new Date().getFullYear()} PictoPy

Summary by CodeRabbit

  • Chores
    • Updated sidebar copyright notice to automatically display the current year.

✏️ Tip: You can customize this high-level summary in your review settings.

@github-actions github-actions bot added UI good first issue Good for newcomers labels Jan 28, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 28, 2026

📝 Walkthrough

Walkthrough

The hardcoded copyright year "© 2025 PictoPy" in the AppSidebar component was replaced with dynamic year generation using new Date().getFullYear(), ensuring the displayed copyright year automatically updates to the current calendar year.

Changes

Cohort / File(s) Summary
Copyright Year Dynamization
frontend/src/components/Navigation/Sidebar/AppSidebar.tsx
Replaced hardcoded year 2025 with dynamic new Date().getFullYear() to ensure copyright year reflects the current year automatically

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A year that changes with the flow,

No more stuck in twenty-twenty-five's glow!

Dynamic dates, fresh as morning dew,

The copyright year now stays forever true! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: replacing a hardcoded copyright year with a dynamic one.
Linked Issues check ✅ Passed The PR successfully addresses issue #1092 by replacing the hardcoded '© 2025 PictoPy' with dynamic year logic using new Date().getFullYear().
Out of Scope Changes check ✅ Passed All changes are directly related to fixing the hardcoded copyright year issue; no out-of-scope modifications detected.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Aditya30ag
Copy link
Contributor

looks good to mee

Copy link
Contributor

@rahulharpal1603 rahulharpal1603 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @monu808!

@rahulharpal1603 rahulharpal1603 merged commit ee4a3c7 into AOSSIE-Org:main Feb 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG:Hardcoded Copyright Year

3 participants