Skip to content

Conversation

@futa-ikeda
Copy link
Contributor

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

Purpose

  • Show "Submit to Boa" for file detail page properly
  • Avoid issue with mobile view where modal wasn't closable due to the error that was caused by this bug

Summary of Changes

  • Avoid using parentFolder.userCanUploadToHere as this was causing issues due to some unresolved promises (target specifically)
    • showSubmitToBoa will now basically do the same check as userCanUploadToHere sans this.isFolder condition

Screenshot(s)

Side Effects

QA Notes

@futa-ikeda futa-ikeda merged commit d129732 into CenterForOpenScience:feature/boa-addon Nov 10, 2023
@futa-ikeda futa-ikeda deleted the boa-file-detail-bugs branch November 10, 2023 17:17
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.

2 participants