Skip to content

feat: add Privacy Policy page and footer link#745

Open
ArshiBansal wants to merge 1 commit into
GitMetricsLab:mainfrom
ArshiBansal:privacy_policy_page
Open

feat: add Privacy Policy page and footer link#745
ArshiBansal wants to merge 1 commit into
GitMetricsLab:mainfrom
ArshiBansal:privacy_policy_page

Conversation

@ArshiBansal

@ArshiBansal ArshiBansal commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Related Issue


Description

Added a comprehensive Privacy Policy page (/privacy) and integrated the corresponding link in the Footer component.

Changes included:

  • Created app/privacy/page.tsx with a clean, professional, and fully responsive privacy policy tailored for the GitHub Tracker application.
  • Updated the Footer to include a "Privacy Policy" link (with shield icon) in the Quick Links section.
  • Ensured consistent dark/light mode support and design language with the rest of the application.
  • Updated the last modified date to today's date.

This fulfills legal transparency requirements and improves user trust.


How Has This Been Tested?

  • Verified the Privacy Policy page renders correctly on both desktop and mobile viewports.
  • Confirmed dark/light mode compatibility.
  • Tested navigation from Footer → Privacy Policy link.
  • Checked all internal links and icons function as expected.
  • No console errors or hydration issues observed.

Screenshots (if applicable)


Type of Change

  • Bug fix
  • New feature
  • Code style update
  • Breaking change
  • Documentation update

Summary by CodeRabbit

  • Documentation

    • Updated Privacy Policy date to June 19, 2026.
  • Style

    • Enhanced footer component formatting.

@netlify

netlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Deploy Preview for github-spy ready!

Name Link
🔨 Latest commit 7a6b110
🔍 Latest deploy log https://app.netlify.com/projects/github-spy/deploys/6a35342ab4fae300085e32f1
😎 Deploy Preview https://deploy-preview-745--github-spy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0941aef9-5230-49c5-a760-c0ad291b8c9d

📥 Commits

Reviewing files that changed from the base of the PR and between 53f820b and 7a6b110.

📒 Files selected for processing (2)
  • src/components/Footer.tsx
  • src/pages/Privacy/PrivacyPolicy.tsx

📝 Walkthrough

Walkthrough

Footer.tsx receives import quoting normalization, an inline comment update on the Privacy Policy link, and copyright JSX reformatting. PrivacyPolicy.tsx updates the policy date badge from May 23 to June 19, 2026 and rewraps all section paragraphs and list items across the entire file; no logic or rendering structure changes in either file.

Changes

Footer and Privacy Policy Formatting

Layer / File(s) Summary
Footer formatting cleanup
src/components/Footer.tsx
Import quoting and string literals in handleSubscribe normalized; Privacy Policy link inline comment updated; copyright JSX line breaks reformatted; export line adjusted.
PrivacyPolicy date update and full-file rewrap
src/pages/Privacy/PrivacyPolicy.tsx
"Updated" date badge changed to June 19, 2026; import block reformatted to multiline; all section paragraphs, callouts, and bullet list items across Sections 1–8, the support card, and trailing export rewrapped.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

level:intermediate, quality:clean, gssoc:approved, type:accessibility

Poem

🐇 A date has changed, the lines reflow,
The footer's quotes now match just so,
June nineteen gleams upon the page,
Each paragraph wrapped, a tidier stage.
No logic harmed — just tidy art,
A rabbit tidies, line by line, with heart! ✨

🚥 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 reflects the main changes: adding a Privacy Policy page and integrating a footer link, which aligns with the PR's primary objectives.
Linked Issues check ✅ Passed The changes address all coding requirements from issue #741: Privacy Policy page content, footer link integration, responsive design, dark/light mode support, and accessibility.
Out of Scope Changes check ✅ Passed All changes are scoped to Privacy Policy implementation. Footer modifications and PrivacyPolicy file updates are directly related to the feature requirements.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Tools execution failed with the following error:

Failed to run tools: 13 INTERNAL: Received RST_STREAM with code 2 (Internal server error)


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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 Feature: Add Privacy Policy Page

1 participant