fix: Apply already selected section#2
Merged
maro114510 merged 5 commits intomainfrom Jan 6, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request refactors the Feedly Read Later opener extension to improve code organization and user experience. The changes add visual feedback during operations through a loading animation system, while reorganizing the codebase with clear section comments for better maintainability.
- Added a
LoadingManagerto provide loading, success, and error visual feedback in the popup UI - Reorganized
content.jsandpopup.jswith section comments grouping related functionality (Constants, Utility Functions, Save State Detection, etc.) - Introduced
quickCheckSavedfunction to optimize entry processing by pre-filtering unsaved entries before DOM operations
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| popup.js | Added LoadingManager object with loading/success/error states, integrated into the run function, and added section comments for code organization |
| popup.html | Added loading container with spinner and text elements, including accessibility attributes |
| popup.css | Added styles for loading animation, spinner states (error/success), and button loading states |
| manifest.json | Version bumped to 0.2.0 and reformatted arrays for better readability |
| content.js | Reorganized with section comments, moved functions to thematic blocks, and added quickCheckSaved optimization function |
| .editorconfig | Added specific indentation rules for JS, CSS, and JSON files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge Overview
This pull request significantly refactors and improves the structure and user experience of the Feedly Read Later opener extension. The main changes include a major reorganization of
content.jsfor clarity and maintainability, and the introduction of a loading animation and feedback system in the popup UI. These enhancements make the codebase easier to navigate and the extension more user-friendly by providing clear visual feedback during operations.Codebase organization and maintainability:
content.jsinto thematic blocks (Constants, Utility Functions, Save State Detection, Button Detection, Entry Processing, Event Dispatching, Infinite Scroll Loading, Main Handler, Message Listener) for better readability and maintainability. [1] [2] [3] [4] [5] [6] [7] [8]Saved entry detection improvements:
quickCheckSavedfunction, and clarified the logic for finding the correct "unsave" button. This makes entry processing more robust and efficient. [1] [2]Popup UI enhancements:
popup.css,popup.html). [1] [2]LoadingManagerobject inpopup.jsto control the loading animation and feedback, and integrated it into the main run flow for user feedback during processing. [1] [2] [3] [4] [5] [6] [7]General improvements:
popup.jsfor better code clarity. [1] [2] [3] [4]These changes collectively improve both the developer experience (through clearer code structure) and the user experience (through responsive UI feedback).