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

Boa bugs #2047

Merged
Merged

Conversation

futa-ikeda
Copy link
Contributor

@futa-ikeda futa-ikeda commented Nov 9, 2023

Purpose

  • Allow users to submit checked out files to boa
  • Add file size to boa request

Summary of Changes

  • Use userCanUploadToHere of currentFolder (file-list view) or parentFolder (file-detail view) instead of currentUserCanDelete to check whether or not to show "Submit to Boa" option
  • Add FileModel.size to boa requests
  • Remove redundant datasets definition in submit-to-boa/component.ts

Screenshot(s)

Side Effects

QA Notes

@futa-ikeda futa-ikeda merged commit 4c57b57 into CenterForOpenScience:feature/boa-addon Nov 9, 2023
9 checks passed
@futa-ikeda futa-ikeda deleted the boa-bugs branch November 9, 2023 21:52
adlius pushed a commit that referenced this pull request Nov 10, 2023
* [WIP] first stab at Boa addon ux

 * make boa modal findable
 * save WIP on dataset select
 * futa wisdom attained/accepted
 * add action; fetch parents properly
 * enabled addons enabled
 * cleanups; fix closemodal

* Add mirage support for BoA files

* Type updates

* authenticate addon endpoint request

* Add a bit of error handling to mirage

* Change logic to populate a node addons

* Disable submit to boa if no dataset selected

* Add qp to boa upload link

* Add placeholder message to dataset select

* Update toast messages

* CR feedback

* Boa bugs (#2047)

* Add file size to boa request

* Allow checked out boa file to be submitted

* Use sizeInt

* Circumvent promise-induced bugs (#2049)

---------

Co-authored-by: Fitz Elliott <fitz@cos.io>
Co-authored-by: Futa Ikeda <futa.ikeda@gmail.com>
Co-authored-by: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com>
@futa-ikeda futa-ikeda added this to the 23.14.0 milestone Nov 10, 2023
bp-cos pushed a commit to bp-cos/ember-osf-web that referenced this pull request Jan 31, 2024
)

* [WIP] first stab at Boa addon ux

 * make boa modal findable
 * save WIP on dataset select
 * futa wisdom attained/accepted
 * add action; fetch parents properly
 * enabled addons enabled
 * cleanups; fix closemodal

* Add mirage support for BoA files

* Type updates

* authenticate addon endpoint request

* Add a bit of error handling to mirage

* Change logic to populate a node addons

* Disable submit to boa if no dataset selected

* Add qp to boa upload link

* Add placeholder message to dataset select

* Update toast messages

* CR feedback

* Boa bugs (CenterForOpenScience#2047)

* Add file size to boa request

* Allow checked out boa file to be submitted

* Use sizeInt

* Circumvent promise-induced bugs (CenterForOpenScience#2049)

---------

Co-authored-by: Fitz Elliott <fitz@cos.io>
Co-authored-by: Futa Ikeda <futa.ikeda@gmail.com>
Co-authored-by: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com>
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.

3 participants