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

Upgrade to Vue 3 and Vite #144

Merged
merged 29 commits into from
Aug 25, 2023
Merged

Upgrade to Vue 3 and Vite #144

merged 29 commits into from
Aug 25, 2023

Commits on Mar 29, 2023

  1. Configuration menu
    Copy the full SHA
    fa9f732 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a86ab56 View commit details
    Browse the repository at this point in the history
  3. Add favicon

    t11r committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    3b94b29 View commit details
    Browse the repository at this point in the history
  4. Update .gitignore

    t11r committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    d08dad0 View commit details
    Browse the repository at this point in the history
  5. Update package description

    t11r committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6997ef1 View commit details
    Browse the repository at this point in the history
  6. Update mock IIIF API and sample data

    - Add new sample manifest with fulltext and associated files
    - Add API routes for locally handling annotation lists and annotations
    - Update invalid files for testing
    t11r committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    6a5ead2 View commit details
    Browse the repository at this point in the history
  7. Upgrade to Vue 3

    Upgrade to Vue 3 with Vite as build tool. Components keep the old options API, while the composition API is used in imported modules. Looks and functionality remain unchanged.
    
    - Replace mixins with modules, using named imports
    - Rename files and lint everything according to the latest Vue coding style
    - Update all packages to their latest version, except OpenSeadragon
    - Use Vitest instead of Jest for unit tests (Vue recommendation)
    - Remove the last remnants of support for Internet Explorer
    - Improve HTML templates
    - Rewrite and extend tests
    t11r committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    f0ba1ee View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Fix e2e test for invalid JSON

    The actual error message is different on each browser, so make the test more generic.
    t11r committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    bd23490 View commit details
    Browse the repository at this point in the history
  2. Tie down OpenSeadragon version

    We actually want version 3.0.0, not 3.1.0, which introduced a small but annoying bug.
    t11r committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    adfef83 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e3f7b9e View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Fix GitHub CI pipeline

    Co-authored-by: ipf <[email protected]>
    t11r and ipf committed May 15, 2023
    Configuration menu
    Copy the full SHA
    3904f21 View commit details
    Browse the repository at this point in the history
  2. Improve coding style

    - Remove obsolete setLoading function
    - Rename readOptionsFromUrlQuery to initOptions to clarify that this function does more than the old name suggested
    t11r committed May 15, 2023
    Configuration menu
    Copy the full SHA
    88441d4 View commit details
    Browse the repository at this point in the history
  3. Fix URL query being reset on load

    This led to a hard-to-reproduce issue when loading a collection and a manifest at the same time via a slow connection.
    
    Such a tiny bug, yet so hard to track down 🤦
    t11r committed May 15, 2023
    Configuration menu
    Copy the full SHA
    742c6c4 View commit details
    Browse the repository at this point in the history
  4. Improve end-to-end tests

    t11r committed May 15, 2023
    Configuration menu
    Copy the full SHA
    39d5986 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Fix unit tests on Windows

    t11r committed May 17, 2023
    Configuration menu
    Copy the full SHA
    949894e View commit details
    Browse the repository at this point in the history
  2. Remove obsolete import alias

    t11r committed May 17, 2023
    Configuration menu
    Copy the full SHA
    5c1eb38 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2023

  1. Improve error handling

    - Enable display of multiple error messages
    - Add ARIA attribute
    t11r committed May 26, 2023
    Configuration menu
    Copy the full SHA
    e4bdcef View commit details
    Browse the repository at this point in the history
  2. Extend end-to-end tests

    - Allow configuration of the local IIIF server port so multiple servers can run at the same time
    - Extend collections tests to check if multiple child manifests can be loaded successively
    - Add basic tests for TIFY's API
    t11r committed May 26, 2023
    Configuration menu
    Copy the full SHA
    c4ec9a2 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. Update and clean up dependencies

    Update all packages to their latest minor version (except OpenSeadragon), remove unused packages.
    t11r committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    df19d54 View commit details
    Browse the repository at this point in the history
  2. Update index.html to support multiple instances

    And add a manifest URL input.
    t11r committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    bd57218 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8779a20 View commit details
    Browse the repository at this point in the history
  4. Improve resize handling

    Use ResizeObserver instead of an event handler. Not only does this make the code more concise, but also reacts to changes of the element size when the window size stays the same.
    t11r committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    73cfb52 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    0b85e53 View commit details
    Browse the repository at this point in the history
  2. Improve index.html

    - Add close-all button
    - Improve styling
    t11r committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    e74085d View commit details
    Browse the repository at this point in the history
  3. Refactor modules, fix multi-instance

    - Replace instance-dependent modules with globally available plugins to restore multi-instance functionality
    - Move all functions from main to App for better testability
    - Fix text flashing in fulltext panel
    - Fix translations in help panel
    - Improve coding style
    - Improve unit tests
    t11r committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    be362f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Configuration menu
    Copy the full SHA
    7d97712 View commit details
    Browse the repository at this point in the history
  2. Fix typos in GitHub CI config

    t11r committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    f88528e View commit details
    Browse the repository at this point in the history
  3. Fix collection view breaking on missing labels

    Although invalid IIIF, there are collection manifests in the wild with missing labels, and we don’t want them to make TIFY crash.
    t11r committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    3055115 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Update and clean up dependencies

    Update all dependencies to their latest minor version, except OpenSeadragon.
    
    Remove obsolete packages:
    - sass
    - vitest-canvas-mock
    t11r committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    143e0af View commit details
    Browse the repository at this point in the history