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

[MIG] Migration to 16.0 : field cmis_document #185

Open
wants to merge 60 commits into
base: 16.0
Choose a base branch
from

Conversation

benwillig
Copy link
Contributor

@benwillig benwillig commented Dec 21, 2023

Based on:

Changed done:

  • cmis_document field + its widget
  • updated cmis_actions to allow dynamic actions
  • remove props inheritance of cmis_actions from cmis_table

To do:

  • "link to an existing document" for a cmis_document

image
image

@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2023

Codecov Report

Attention: Patch coverage is 30.92105% with 105 lines in your changes are missing coverage. Please review.

Project coverage is 69.77%. Comparing base (c6c1822) to head (84f1ca8).

Files Patch % Lines
cmis_field/fields/cmis_document.py 25.00% 81 Missing ⚠️
cmis_field/controllers/main.py 31.81% 15 Missing ⚠️
..._web/mixins/cmis_document_link_src_folder_mixin.py 52.63% 9 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             16.0     #185       +/-   ##
===========================================
- Coverage   86.71%   69.77%   -16.94%     
===========================================
  Files          33       48       +15     
  Lines        1061     1535      +474     
  Branches      124      212       +88     
===========================================
+ Hits          920     1071      +151     
- Misses        117      440      +323     
  Partials       24       24               

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@benwillig benwillig force-pushed the mig-16.0_cmis_document-bwi branch 3 times, most recently from c6a4bd9 to 4ed1e37 Compare January 4, 2024 16:14
@marielejeune
Copy link
Contributor

Hi @benwillig
On Chrome we get the following error when trying to open a notebook page with a CmisDocument field inside.
On Firefox no error, it's working. It seems to be linked to this PR. Do you have any idea? (This is reproducible on the Accrefug Silog app, if you want).
image

@benwillig
Copy link
Contributor Author

@marielejeune It should be fixed now.

@benwillig benwillig changed the title [WIP][MIG] Migration to 16.0 : field cmis_document [MIG] Migration to 16.0 : field cmis_document May 28, 2024
sbejaoui and others added 27 commits October 7, 2024 11:48
… gets triggered a second time and the empty value becomes false again. This causes the wrong template to be rendered and creates an error.
…ser is editing a record, when he adds a document with this widget his changes are discarded. To avoid this, we add the readonly class on the cmis document widget as it is done on cmis folder.
[REF] added some utils to prevent code duplication
…king on the dropdown button inside the cmis table + deleted console.log call
…to avoid page refresh if optional columns is displayed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants