ncbi issueshttps://gitlab.coko.foundation/ncbi/ncbi/-/issues2023-09-22T13:29:02Zhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1602Files remain in uploads modal after they appear in the book manager body tab2023-09-22T13:29:02ZDione Mentisdione@coko.foundationFiles remain in uploads modal after they appear in the book manager body tab<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Once files have uploaded, they should not appear in the uploads modal
## Current behavi...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Once files have uploaded, they should not appear in the uploads modal
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
Once files have uploaded, they remain in the modal unless you refresh. The amount of chapters doesn't seem to make a difference: I had the same issue with 5 files and 100 files. you need to wait a long time, or refresh for the files to clear
![Screenshot_2023-09-19_at_16.12.00](/uploads/6f2a73d16dee8d146bd5566fe3bd31e1/Screenshot_2023-09-19_at_16.12.00.png)
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
1. Go to any chapter processed book, select upload chapters
2. Choose files to from PC file manager and select "upload"
3. The modal will remain open, but the user can close it if they like. (note the modal will close on it's own but the time period seems to depend on how many files are being uploaded)
3. It can take a few seconds or up to ~1 min for the files to appear in the body tab (see [video](https://vimeo.com/865931872/c974cd5af5?share=copy) where the files display only after I switch tabs).
4.Once files are in body tab, open modal again to see the are there with info "uploading file..."
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: Highhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1601Version number missing from publish modal2023-09-19T17:37:25ZDione Mentisdione@coko.foundationVersion number missing from publish modal<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Users know which book component version they are publishing
## Current behaviour
<!-- R...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Users know which book component version they are publishing
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
Version number missing from publish modal. Must be a side effect of a recent merge since the issue doesn not exist at ncbi.cloud68.co
![Screenshot_2023-09-18_at_17.58.55](/uploads/70e718c433dfda1fb768fb30c4564372/Screenshot_2023-09-18_at_17.58.55.png)
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
Noticed in [this book](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c)
1. Select some chapter to publish
2. See in modal that the version number is missing
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: Highhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1599sometimes component disappears momentarily from tab on book manager page2023-09-19T13:43:41ZDione Mentisdione@coko.foundationsometimes component disappears momentarily from tab on book manager page## Expected behaviour
<!-- Required. Tell us what should happen -->
Existing component should always display in the book manager
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
componen...## Expected behaviour
<!-- Required. Tell us what should happen -->
Existing component should always display in the book manager
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
component disappears momentarily
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
See [this video](https://vimeo.com/865583319/98ba211b90?share=copy) from testing in [this book](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c)
1. open front tab, see it has one component
2. wait it bit and the component disappears
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: Highhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1598Draft: blank screen on wholebook2023-09-22T12:38:07ZDione Mentisdione@coko.foundationDraft: blank screen on wholebook<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behavio...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/2cb4a04a-f234-4c57-a55e-5b903c13f97e
![Screenshot_2023-09-18_at_15.25.30](/uploads/3edf5f1187ecfee9326424cfab09f5f4/Screenshot_2023-09-18_at_15.25.30.png)
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
Not sure yet. I think the tab was open on the book, and when I came back to the tab I had a blank screen
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->Duncan BennettDione Mentisdione@coko.foundationDuncan Bennetthttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1597repeat modal should be distinct from the move modal2023-09-20T18:41:34ZDione Mentisdione@coko.foundationrepeat modal should be distinct from the move modal<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
The repeat modal should remain unchanged (as below screenshot from ncbi.cloud68.co) becau...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
The repeat modal should remain unchanged (as below screenshot from ncbi.cloud68.co) because there is no change to this functionality. This modal allow users to quickly see which parts a chapter is already repeated in, and make a change if necessary. Expecting users to first search adds an unnecessary step
![Screenshot_2023-09-16_at_16.09.18](/uploads/c0a4135e3122273ce2523e8432bf2e0c/Screenshot_2023-09-16_at_16.09.18.png)
The modal should show all parts within the book.
Users should be able to select or deslects one or more parts.
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
The "repeat" modal now has search functionality like the move modal.
![Screenshot_2023-09-18_at_13.00.48](/uploads/3e1656c44572371e4306a9a0c5eec9bf/Screenshot_2023-09-18_at_13.00.48.png)
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
Try out in [this book](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c)
1. go to book manager page, select one component, then "repeat" button OR
2. go to book mananger page, open one componen, go to Preview tab, then select "repeat" button
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: HighDione Mentisdione@coko.foundationDione Mentisdione@coko.foundationhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1596Only show the current book component version in search results2023-09-19T11:50:54ZDione Mentisdione@coko.foundationOnly show the current book component version in search results<!-- Required. Provide a general summary of the issue in the title above -->
## Context
<!-- Give the necessary context for your proposal. For example, what problem will this feature solve for users? What are the use cases, benefits, ...<!-- Required. Provide a general summary of the issue in the title above -->
## Context
<!-- Give the necessary context for your proposal. For example, what problem will this feature solve for users? What are the use cases, benefits, and goals? -->
This can up while testing bulk move (#1482). At the moment search results on the main book manager page and within the move modal display one result for each book component *version*.
- this is problematic in the move modal because users see multiple options to choose from, but all versions have the same position.
- it could be problematic on the main dashboard page because it limits the usefulness of the "select all" + bulk action experience and could lead to users updating old versions by mistake.
## Proposal
<!-- A precise statement of the proposed feature. -->
Only display the **current** book component version in search results. This matches the experience on the main book manager page where users will see the current version, and can click to open that version and any previous versions.
## Design
<!-- Include sketches or wireframes of the UI suggested for this feature. -->
This view should only show "V2" for the component "Test number 139"
![Screenshot_2023-09-17_at_18.45.03](/uploads/bef400a465b5f2dd37af3c08887c91aa/Screenshot_2023-09-17_at_18.45.03.png)
This view should only show the current version (V2) for the component "Test number 139"
![Screenshot_2023-09-17_at_17.48.27](/uploads/d466dd1a9b1896a245b7ff4ed47be800/Screenshot_2023-09-17_at_17.48.27.png)
## Acceptance criteria
<!-- Provide the criteria that should be met for this feature. These criteria must be clearly defined customer requirements aligned to NCBI’s user stories in its Statement of Work. These criteria must be testable by either user testing, unit tests or integration tests.-->
Only display the **current** book component version in search results.
## Definition of ready
<!-- A checklist of what needs to be done to a product backlog item before the team can start implementing it in the next sprint. -->
- [ ] BCMS User Story / Context has been well defined
- [ ] The priority of the user story is specified and agreed
- [ ] Digital assets added (design, database scheme, mockups etc if relevant)
- [ ] Coko Technical Proposal approved by NCBI
- [ ] Testable Acceptance Criteria approved by NCBI
- [ ] Estimate of effort to complete (time or points)
- [ ] The issue has been broken down into development tasks (if necessary)
- [ ] Requirements Clarified
- [ ] The product owner and development team agree that the user story is ready for development
- [ ] NCBI adds “Dev_Ready”
## Definition of done
<!-- A checklist of criteria that must be completed for a story to be considered “done.” -->
- [ ] All coding tasks are finished and implemented
- [ ] QA approved
- [ ] Deployed and tested on “ncbidev” (by Coko team)
- [ ] Deployed and tested on “ncbi” (by NCBI team)
- [ ] Acceptance Criteria Met
## Implementation
<!-- A description of the steps to implement the feature. To be completed by the lead dev. If there are multiple tasks, then break these down into "task" below.-->
## Alternative approaches (if applicable)
<!-- Include any alternatives to meet this use case. -->
## Scheduling
* [ ] Milestone is linked
* [ ] Iteration is linked
* [ ] Dependencies: ("None" or list issue numbers if relevant)
* [ ] Development estimate is added to issue time tracking
---P1a: Book Manager redesign: HighSidorela UkuBela TociDione Mentisdione@coko.foundationSidorela Ukuhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1595Uncaught (in promise) TypeError: Cannot read properties of undefined (reading...2023-09-22T13:54:53ZDione Mentisdione@coko.foundationUncaught (in promise) TypeError: Cannot read properties of undefined (reading 'id')I'm getting this bug in a particular book only: https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/f7b274f9-53a8-4f56-b237-20469726f8ce
Happens when I open the book from the dashboard.I'm getting this bug in a particular book only: https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/f7b274f9-53a8-4f56-b237-20469726f8ce
Happens when I open the book from the dashboard.P1a: Book Manager redesign: HighYannis BarlasYannis Barlashttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1593Select all bugs2023-09-18T19:29:47ZDione Mentisdione@coko.foundationSelect all bugs<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
1. After users check the "Select all" checkbox on the book manager main page or in the se...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
1. After users check the "Select all" checkbox on the book manager main page or in the search results view, they should be able to uncheck some of the items in the list
2. When users filter by one status, then check the "Select all" checkbox, they should be able to take a bulk action on that status according to the rules in the [BCMS status/actions sheet](https://docs.google.com/spreadsheets/d/1M4ZdBbzr2s4-PUXqEblfsKoPBUuk4aG343u9ZAUn_Tk/edit?usp=sharing)
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
1. After users check the "Select all" checkbox on the book manager main page or in the search results view, they cannot uncheck any of the items in the list.
2. When users filter by one status, then check the "Select all" checkbox, sometimes the expected bulk action is inactive.
**Note:** these issues are not present on ncbi.clou68.co
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
See video [here](https://vimeo.com/865092960/6ea77cc77e?share=copy) from testing in [this book](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c)
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: Highhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1592ncbidev review 15 to 20 Sept collated2023-09-21T20:45:22ZDione Mentisdione@coko.foundationncbidev review 15 to 20 Sept collated
1. [x] 'submit' button is not active from search results view when I select components in 'New upload'
2. [x] 'publish' button is not active from the search results view when I select components in 'Previewing'
3. [x] users can search ...
1. [x] 'submit' button is not active from search results view when I select components in 'New upload'
2. [x] 'publish' button is not active from the search results view when I select components in 'Previewing'
3. [x] users can search by subtitle (this works) but we don't yet show subtitle on the component row. See example [here](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c/d3cb1dfb-3950-409b-9fda-8dcd5a4e7a66#undefined). This should be displayed below the title, in a smaller font size -- @pokhi working on this
4. [x] on the component row, the actual date does not show when you hover over 'last updated' value or 'last published' value
5. [x] it takes about 3 to 5 seconds for a component's place to be updated after moving with dnd --> *Let's review this performance after completing #1557*
6. [x] When logged in a user with Editor role, and I open a chapter-processed book manager page for a book that I am **not** an editor of: @yannis working on this
- The search UI is positioned to the left which is not consistent with the view from the Org Admin perspective. It should be positioned to the right
- I can 'select all' or select individual components (even though the bulk action buttons are not displayed, I shouldn't be able to do this since I can't take any actions.)
- I can move components by dnd
![Screenshot_2023-09-15_at_18.12.53](/uploads/2f8f227b7bb420cd9be833de8bb4d760/Screenshot_2023-09-15_at_18.12.53.png)
7. [x] Select all bugs in #1593 -- @yannis
8. [x] Move from chapter page bug in #1594 -- @pokhi -- MR ready for review
10. [x] Repeat modal bug in #1597 -- @vukilelanga -- MR ready for review
11. [x] In the 'move' modal search on a partial title match doesn't work like it does on the main book manager search view. Try, for example, to find 'Test number 139' in [this book](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c). You can find it with 'number 139' but not 'test 139' -- @duncanb
12. [x] The improvements to Only show the current book component version in search results in #1596 -- @duncanb
13. [x] Can't Move selected Parts before or after another Part in #1600 -- testing, but need MR1185 and 1188 merged to confirm all works
14. [x] When you change the ordering setting of a book, the chapters in the body tab do not change order unless leave that tab (i.e. switch tabs) or wait about a minute. -- @yannis
15. [x] When user adds a part to the body, it doesn't not appear unless leave that tab (i.e. switch tabs)
16. [x] Pagination bug is #1603 -- MR ready to review
17. [x] Uncaught (in promise) TypeError:Cannot read properties of undefined (reading 'length' in #1605
18. [x] Can't submit Wholebooks for PDFs in #1604
19. [x] TypeError: Cannot read properties of undefined (reading 'status') in #1606
21. [x] UI bug when moving chapters within or outside of parts in [#1609](https://gitlab.coko.foundation/ncbi/ncbi/-/issues/1609) - fixed in 1188
22. ~PDF wholebook is stuck in status 'loading preview' for many hours. Example [here](https://ncbidev.cloud68.co/organizations/e56a6d10-ed49-4a0d-aafa-fb9ecee8b0e3/bookmanager/32dddd06-0dde-4e45-afd6-66ee5cbca138)~
23. [x] Incorrect status for PDF wholebooks, issue #1610
24. [x] The cancel button on the move modal does not cancel a search in progress. Try search by 'number' in [this book](https://ncbidev.cloud68.co/organizations/7b5e6db2-119f-40e4-8151-7861aee8f1ce/bookmanager/a7b8ee29-0e38-4e66-b1f3-6124aa00882c/8b25e387-77fd-434f-8768-ba4b683fe6e1#undefined), press cancel, then open the modal again to see the search is still in progress -- @vukilelanga
25. [x] Show a green success pop up when items have been moved successfully with bulk move: Items moved successfully. -- @vukilelangaP1a: Book Manager redesign: Highhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1591Conversion Jobs Blocker Problems2023-09-19T13:35:55ZStacy LathropConversion Jobs Blocker Problems<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
All Conversions regardless of workflow follow files management and integration specificat...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
All Conversions regardless of workflow follow files management and integration specifications.
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
All Conversions are getting stuck in BCMS AND jobs have data integrity issues (component package jobs and submitted files are inaccurate, coming from different BCMSID components)
Jobs are passing NCBI pipeline and are on FTP for pick up by BCMS:
book xml
```
lathrops@ipmc-dev11:/am/ftp-private/bookshelf/coko/convert/xml/book/out>ls | grep ".*2023_09_15.*".
bcms7856.423683.2023_09_15-02_10_13.output.zip
bcms7856.45799c.2023_09_15-02_09_31.output.zip
bcms7856.846e81.2023_09_15-01_56_33.output.zip
bcms7856.b84d40.2023_09_15-02_09_31.output.zip
bcms7856.e8d947.2023_09_15-02_10_13.output.zip
bcms8016.485fe4.2023_09_15-06_11_41.output.zip
bcms8016.e3ca66.2023_09_15-06_11_50.output.zip
```
chapter word
```
lathrops@ipmc-dev11:/am/ftp-private/bookshelf/coko/convert/word/out>ls | grep ".*2023_09_15.*".
ayqehepcym.appendix.docx.9f4570.2023_09_15-08_34_23.output.zip
bcms10005097.glossary.docx.6138ef.2023_09_15-02_38_24.output.zip
bcms1086.drpla.docx.3273c5.2023_09_15-12_16_30.output.zip
```
## Steps to reproduce
See attached movie taken by @douglassue .
![Screen_Recording_2023-09-15_at_10.47.50_AM](/uploads/3737a3300e88ebaaa9fbd3073c1d2151/Screen_Recording_2023-09-15_at_10.47.50_AM.mov)
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: HighDione Mentisdione@coko.foundationBela TociSidorela UkuDione Mentisdione@coko.foundationhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1590Moving parts to level 4: makes them disappear2023-09-25T16:42:19ZSidorela UkuMoving parts to level 4: makes them disappearThe inital UI for the nested parts was as below:
![image.png](/uploads/d75fd372afc649f28343e9cf4a5ecc85/image.png)
I selected the 'Part level 4' and then opened the Move modal. And tried to move it inside of 'part 1'. This action is ...The inital UI for the nested parts was as below:
![image.png](/uploads/d75fd372afc649f28343e9cf4a5ecc85/image.png)
I selected the 'Part level 4' and then opened the Move modal. And tried to move it inside of 'part 1'. This action is possible from the UI, but afterwards the part I moved, disappears from the UI.
![image.png](/uploads/32036795d6b061483d65d1e7ef3784d7/image.png)P1a: Book Manager redesign: HighYannis BarlasYannis Barlashttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1589Client-side implementation2023-09-20T14:02:44ZVukile LangaClient-side implementationP1a: Book Manager redesign: HighVukile LangaVukile Langahttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1588Server-side implementation2023-09-21T21:27:45ZVukile LangaServer-side implementationP1a: Book Manager redesign: HighRudresh Shrotriyarudresh@coloredcow.inRudresh Shrotriyarudresh@coloredcow.inhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1587Component stuck in 'Converting' Status after BCMS receives converted package ...2023-09-26T16:39:14ZDione Mentisdione@coko.foundationComponent stuck in 'Converting' Status after BCMS receives converted package from NCBI system<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Once the BCMS receives the converted package from NCBI system, the BCMS should:
* downloa...<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Once the BCMS receives the converted package from NCBI system, the BCMS should:
* download package
* save files
* update status
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
The package is received but the download process is stuck, so the component status never updates and the files aren't shown the the BCMS.
*Example*
Originally reported in https://gitlab.coko.foundation/ncbi/ncbi/-/issues/1553#note_124357
It is still a problem for XML conversions as reported by our users.
See:
![image](/uploads/d2e1cc46e36cfb1f3542e77a5fb6a257/image.png)
And that they all cleared at NCBI:
![image](/uploads/5cec689a862a84ba55359751e37b2817/image.png)
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
1. See books stuck in converting at: https://ncbi.cloud68.co/organizations/b2223519-5e84-453f-b494-c4bee4427bf5
2. See converted files are on FTP
3.
4.
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: HighStacy LathropStacy Lathrophttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1586replace search result with refactored row2023-09-17T07:40:33ZDione Mentisdione@coko.foundationreplace search result with refactored rowThis happens after the new UI in #1557 is mergedThis happens after the new UI in #1557 is mergedP1a: Book Manager redesign: HighPokhiPokhihttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1585link to book component page from search result2023-09-17T07:40:19ZDione Mentisdione@coko.foundationlink to book component page from search resultThis should be done first, so we can get a quick fix to NCBIThis should be done first, so we can get a quick fix to NCBIP1a: Book Manager redesign: HighPokhiPokhihttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1584File names with number are not retrieved in search2023-09-29T16:46:59ZStacy LathropFile names with number are not retrieved in search@DioneMentis - cc @rorris
<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Per #1467 acceptance criteria:
- [x] Users may search by the...@DioneMentis - cc @rorris
<!-- Required. Provide a general summary of the issue in the title above -->
## Expected behaviour
<!-- Required. Tell us what should happen -->
Per #1467 acceptance criteria:
- [x] Users may search by the filename of their source and converted Front Matter documents, Back Matter documents, Chapters, and Parts with Body (when supported) files
- [x] The BCMS search will be case insensitive
- [x] The BCMS search will return results that contain any part of a search query
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
If a file name has a number in it that component is not retrieved in search results.
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
1. Go to: https://ncbi.cloud68.co/organizations/6c4d37c4-b9f2-4962-9080-b3e29a37dfbd/bookmanager/7f099bb1-3379-4beb-bc4b-aeca26884a47
2. Search for `mdel15q13_3`
3. Notice not results are retrieved but it should return chapter with title "15q13.3 Recurrent Deletion" and source file `mdel15q13_3.docx`
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
## Possible solution
<!-- If known, provide details on how to fix the bug.-->
<!-- After creating this issue you can link other related or blocking issues with the Gitlab's Linked issues functionality. -->
## QA Steps
[To be completed by Coko once dev is done]
## Scheduling
<!-- Select all the relevant options -->P1a: Book Manager redesign: HighRebecca OrrisRebecca Orrishttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1583Open book part component page from search result2023-09-29T16:41:36ZStacy LathropOpen book part component page from search result<!-- Required. Provide a general summary of the issue in the title above -->
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
GeneReviews and other NIH users using the cloud68 NCBI BCMS Te...<!-- Required. Provide a general summary of the issue in the title above -->
## Current behaviour
<!-- Required. Tell us what happens instead of the expected behaviour -->
GeneReviews and other NIH users using the cloud68 NCBI BCMS Test site cannot open their book part components to fix conversion and loading errors or check previews after they do a search to find the chapter they wish to work on. They don't know what page of the Book Manager a component is on without doing a search so this blocks their work / adds tremendous amount of work that is not sustainable in a production environment given resources.
1. Go to https://ncbi.cloud68.co/organizations/6c4d37c4-b9f2-4962-9080-b3e29a37dfbd/bookmanager/7f099bb1-3379-4beb-bc4b-aeca26884a47
2. Search for `hyal2`
3. Click on "HYAL2 Deficiency" result in Previewing status to review the preview
4. See nothing happens
See attached video as well provided by GeneReviews editorial team -
[9-12-2023_11-43-44_AM.avi](/uploads/002554ffd1e472f786229959b87c56c9/9-12-2023_11-43-44_AM.avi)
## Agreed solution
Allow user to open book part component page from search results without preserving search results when navigating back to the Book Manager for a chapter-processed book.
## Acceptance criteria
* [x] From a Book Manager search results page, user can click on the row of a book part component from the Book Manager page to open the book part component page to see: the component tabs files | preview | errors | etc in same browser tab (i.e., same behavior as opening any component from any other BCMS list of components)
* [x] If user goes back using Browser back button or the "back to [book title\]" button from that opened book component page, they will no longer see pervious search results list, but their main chapter-processed book Book Manager page.
* [x] If User wishes to open the book part component in a new browser tab to retain their search results in their current tab, they can right click the book part component row and open it in a new tab.P1a: Book Manager redesign: HighDione Mentisdione@coko.foundationRebecca OrrisDione Mentisdione@coko.foundationhttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1580Migrate BCMS to nodejs 182023-10-10T16:39:52ZEvgenyMigrate BCMS to nodejs 18Nodejs 16 is going to be out of support on September 11, https://nodejs.dev/en/about/releases/
To comply with NCBI security policy, BCMS codebase needs to be migrated to Nodejs 18 LTS version.Nodejs 16 is going to be out of support on September 11, https://nodejs.dev/en/about/releases/
To comply with NCBI security policy, BCMS codebase needs to be migrated to Nodejs 18 LTS version.Yannis BarlasYannis Barlashttps://gitlab.coko.foundation/ncbi/ncbi/-/issues/1579Improve UX when switching between pages on the book manager2023-09-27T10:56:12ZDione Mentisdione@coko.foundationImprove UX when switching between pages on the book manager<!-- Required. Provide a general summary of the issue in the title above -->
## Current behaviour
This feedback is based on testing using 500 small-size XML chapters. It takes about 5 seconds to see the contents of a page when switchin...<!-- Required. Provide a general summary of the issue in the title above -->
## Current behaviour
This feedback is based on testing using 500 small-size XML chapters. It takes about 5 seconds to see the contents of a page when switching between pages
## Suggested improvement
Reduce the time to show components and if necessary add a progress indicator
## Steps to reproduce
<!-- Required. Provide a link to a live example or screenshots, and the steps to reproduce this bug.]-->
See [video](https://vimeo.com/860944841/d3aa1ccfcf?share=copy) from 01:15 to 02:00 and access files [here](https://nextcloud.coko.foundation/s/zp26xmB3eP6Px3w?path=%2FXML%20workflow%2FXML-chapters%2Fclean%2Fmanual_submission%2F500%20small-size%20chapters)
1. Use paginator to go between pages
3. It takes about 5 seconds before the chapters are changed from one page to another
## Environment
<!-- Required. Provide relevant information such as browser name and version, PC or Mac use, internet speed, etc.]-->
Over 50 Mbps internet speed up and down