Skip to content

Conversation

@arjun7965
Copy link
Owner

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements a dark mode theme toggle, adds a new books page, and introduces a navigation menu to the website. The changes modernize the UI with better accessibility features and refactor inline styles into a centralized CSS file.

  • Dark mode support with theme toggle and localStorage persistence
  • New dedicated books page showcasing a reading list with book covers fetched from Open Library
  • Navigation menu system with dropdown functionality

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
index.html Added SEO meta tags, refactored inline CSS to use CSS variables, implemented theme toggle and menu dropdown, improved accessibility with skip links and ARIA attributes
css/styles.css New centralized stylesheet with CSS variable-based theming system supporting light and dark modes, shared component styles for both pages
books.html New page displaying a reading list with book covers, ISBN-based cover fetching with fallback logic, and matching theme/menu implementations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

Copilot AI commented Nov 12, 2025

@arjun7965 I've opened a new pull request, #2, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Nov 12, 2025

@arjun7965 I've opened a new pull request, #3, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Nov 12, 2025

@arjun7965 I've opened a new pull request, #4, to work on those changes. Once the pull request is ready, I'll request review from you.

arjun7965 and others added 10 commits November 11, 2025 20:55
The regex pattern [^0-9Xx] will match lowercase 'x' but the .toUpperCase() conversion happens after the replacement. This means a lowercase 'x' in the input will be removed before it can be converted to uppercase 'X'. The regex should be [^0-9X]/gi with case-insensitive flag, or handle case conversion before the regex replacement.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Amazon URL contains tracking parameters (dib, dib_tag, keywords, qid, sr). Consider using a clean URL with only the essential ASIN/ISBN for better privacy and cleaner code. The URL could be shortened to https://www.amazon.com/dp/B0F2NCPQ2K.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: arjun7965 <15646612+arjun7965@users.noreply.github.com>
Co-authored-by: arjun7965 <15646612+arjun7965@users.noreply.github.com>
Co-authored-by: arjun7965 <15646612+arjun7965@users.noreply.github.com>
Refactor: extract duplicated menu dropdown code to shared module
Consolidate duplicate theme toggle code into shared JS module
Refactor: extract shared JavaScript to common.js
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 10 comments.

Comments suppressed due to low confidence (2)

books.html:151

  • Unused variable settled.
            let settled = false;

books.html:152

  • Unused variable remaining.
            let remaining = isbns.length;

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

arjun7965 and others added 6 commits November 13, 2025 22:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Nov 14, 2025

@arjun7965 I've opened a new pull request, #13, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Nov 14, 2025

@arjun7965 I've opened a new pull request, #14, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 4 commits November 14, 2025 06:12
Co-authored-by: arjun7965 <15646612+arjun7965@users.noreply.github.com>
Co-authored-by: arjun7965 <15646612+arjun7965@users.noreply.github.com>
Add inline documentation to ISBN conversion algorithms
Remove inline event handlers for CSP compliance
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

arjun7965 and others added 5 commits November 13, 2025 22:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Repository owner locked as too heated and limited conversation to collaborators Nov 14, 2025
@arjun7965 arjun7965 merged commit ed646b2 into master Nov 14, 2025
@arjun7965 arjun7965 deleted the basic_html branch November 14, 2025 06:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants