Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix][bump version to 3.1.4]: resolved the extension dysfunctioning when user navigates from /new page to /chat/* page without refreshing #52

Merged
merged 22 commits into from
Nov 30, 2024

Conversation

lumpinif
Copy link
Collaborator

@lumpinif lumpinif commented Nov 30, 2024

Navigation Issue Resolution and CI Workflow Improvements

Overview

This PR addresses several critical issues in the Chrome extension's navigation handling and improves the CI workflow for version management.

Key Changes

Navigation Fixes

  • Fixed the navigation issue by properly cleaning up and reinitializing features and observers during page transitions
    • This fix ensures the extension is always working and ready whenever the user has the thinking block on the page regardless of the route changes.
  • Ensures the extension remains functional and responsive across different page loads

CI/GitHub Actions Improvements

  • Enhanced version management in GitHub Actions workflow
  • Fixed syntax errors in the Chrome extension CI workflow
  • Added proper error handling and validation for version bumping
  • Implemented more robust version management with pre-release and major version handling

Version Management

  • Successfully tested version bumping mechanism
  • Implemented safeguards against version downgrades
  • Added proper validation for semantic versioning

Testing

  • Conducted multiple version bumping tests to verify CI workflow
  • Verified navigation behavior across different scenarios
  • Confirmed proper cleanup and reinitialization during page transitions

Documentation

  • Updated CHANGELOG to reflect the navigation fixes and CI improvements
  • Added documentation for the version management process

Changelog

extensions/CHANGELOG.md has been updated to reflect these changes.

lumpinif and others added 22 commits November 29, 2024 00:03
…navigation to ensure the extension is always ready

- Fix feature cleanup and reinitialization process
- Add proper cleanup for mutation observer
- Add background script for better navigation handling
- Add markdownlint-disable MD024 to allow duplicate headings
- Move Chrome extension changelog to main changelog
- Add latest changes for feature cleanup and navigation fixes
- Add robust semver validation
- Implement automatic version increment
- Add pre-release version support
- Improve error handling
- Update CHANGELOG.md
chore: bump version test
# Conflicts:
#	extensions/chrome/package.json
#	extensions/chrome/public/manifest.json
@lumpinif
Copy link
Collaborator Author

this fix ensures the extension is always working and ready whenever the user has the thinking block on the page regardless of the route changes

@lumpinif
Copy link
Collaborator Author

lumpinif commented Nov 30, 2024

users should now be able to toggle the thinking block whenever they want including page routing or the response is streaming

@lumpinif lumpinif merged commit 757166d into richards199999:main Nov 30, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant