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

Backup App migration #9602

Closed
wants to merge 8 commits into from
Closed

Conversation

jacob-nv
Copy link
Contributor

Description

Moved back up app, moved all the dependencies from web-app-files.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@update-docs
Copy link

update-docs bot commented Aug 21, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@jacob-nv jacob-nv mentioned this pull request Aug 21, 2023
9 tasks
Copy link
Contributor

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting there, nice 🥳 Some open tasks:

  • Remove the moved files from the files-app
  • Adjust all affected imports
  • Move test *.spec.ts files accordingly
  • Linter seems to be unhappy
  • At the very end: remove the web-app-backup package from this PR. After it has been merged, we need to publish a new web-pkg package and then create a PR with the web-app-backup package in the CERN repo.

</template>
</oc-breadcrumb>
<portal-target v-if="showMobileNav" name="app.runtime.mobile.nav" />
<slot v-if="hasSharesNavigation" name="navigation" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove hasSharesNavigation as property and replace it with a computed that checks, if the slot navigation is given.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm maybe it makes sense to have that file in web-client, alongside with the other files that include our build... methods. @dschmidt What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove that file, we already have the types in packages/web-pkg/src/helpers/resource/ancestorMetaData.ts. Some imports need to be adjusted then of course 🙂

@jacob-nv
Copy link
Contributor Author

@JammingBen

  • moved all the relevant tests to web-pkg
  • removed all the moved files from web-app-files
  • changed imports to web-pkg

Some unit tests are still not happy.
Not really sure what to do with web-app-files/tests/unit/components/AppBar/CreateAndUpload.spec.ts
Getting error of Cannot read properties of undefined (reading 'mockImplementation')

@JammingBen
Copy link
Contributor

Has been superseded by #9731 -> closing here. Thanks again @jacob-nv for doing most of the heavy lifting 🚀

@JammingBen JammingBen closed this Sep 27, 2023
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.

Backups App
3 participants