Skip to content

Filings UI: more package updates + cleanup #16207

Closed

Description

@severinbeauvais

In #15929, Filings UI was updated from Vuex to Pinia.

In THIS ticket, a number of other packages need to be updated (partly to stay up to date with evolving packages and partly in preparation for Vue3). See PR 540 for a similar change made in Create UI.

Se also #16206.

To do:

  • array-move instead of array.prototype.move if used
  • lodash.omit if used
  • pdfjs-dist (plus update code that uses it)
  • additional @types/
  • @vue/cli-xxx packages
  • @vue/vue2-jest
  • eslint + plugins
  • ts-jest
  • typescript
  • any other lesser package updates (minor or patch version changes)
  • change import Vue from 'vue' to import { Vue } from 'vue-property-decorator'
  • change mixins: [...] to Mixins(...)`
  • related vue file updates
  • alphabetize @Getter and @Actions declarations
  • fix property/method visibility in template, if time allows
  • remove the readonly from getters
  • fix any broken unit tests
  • Removed service worker plugin (Filings UI: remove PWA/service worker cleanup code #16170)
  • Changed Vue.nextTick() to this.$nextTick()

Acceptance criteria:

  • npm run lint should not report any errors or warnings (with exceptions for some deprecated features)
  • npm run build should not report any errors or warnings (with exceptions for some deprecated features)
  • npm run test:unit should report all tests passing

Activity

  1. changed the title [-]Edit UI: update eslint and misc packages in preparation for Vue3[/-] [+]Filings UI: update eslint and misc packages in preparation for Vue3[/+] on May 3, 2023
  2. severinbeauvais commented on May 3, 2023

    @severinbeauvais
    CollaboratorAuthor

    This is not a Tech Debt ticket -- it's not something we could/should have done earlier and put off until now.

    Instead, this is work needed to handle the current/future upgrade to Vue3 (which is an external driver as Vue2 is deprecated).

  3. changed the title [-]Filings UI: update eslint and misc packages in preparation for Vue3[/-] [+]Filings UI: more package updates + cleanup[/+] on May 11, 2023
  4. JazzarKarim commented on May 25, 2023

    @JazzarKarim
    Collaborator

    Test Notes

    • Please test uploading a pdf as the code have been slightly changed there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ENTITY - DO NOT USE

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions