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: Resolve issues and improve code quality in AnnotateComponent #2

Open
wants to merge 2 commits into
base: legacy
Choose a base branch
from

Commits on Apr 20, 2024

  1. fix: Resolve issues and improve code quality in AnnotateComponent

    - Removed unused imports and corrected styleUrl property
    - Refactored onSelectAnnotation and onFileChange methods for clarity
    - Added error handling in the query method for fetch errors
    - Extracted conditions into meaningful variables for readability
    - Removed standalone property from @component decorator
    - Defined type explicitly for annotations array
    - Updated baseUrl handling for better security
    - Improved error handling in search method when doc.annotation is null
    Swapnilden authored Apr 20, 2024
    Configuration menu
    Copy the full SHA
    6bf2b49 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4bafb02 View commit details
    Browse the repository at this point in the history