cozy / cozy-drive

Cozy Drive Web App for Cozy Cloud
GNU Affero General Public License v3.0
171 stars 65 forks source link

fix: Remove document qualification should refresh UI #3137

Closed Merkur39 closed 6 months ago

Merkur39 commented 6 months ago

In the case where we remove the qualification it's necessary to define the attribute to null and not undefined, with undefined the stack does not return the attribute and today the Redux store is not updated for a missing attribute.

As a result, the UI is not updated and continues to display the qualification on the document, even though it has been deleted in CouchDB.

### 🐛 Bug Fixes

* Remove document qualification should refresh UI
bundlemon[bot] commented 6 months ago

BundleMon

Unchanged files (18) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | vendors/drive.(hash).js
| 1.75MB | 2MB :white_check_mark: | public/drive.(hash).js
| 1.54MB | 1.7MB :white_check_mark: | public/pdf.worker.entry.(hash).worker.js
| 343.61KB | 345KB :white_check_mark: | services/qualificationMigration/drive.js
| 263.28KB | 500KB :white_check_mark: | services/dacc/drive.js
| 244.41KB | 500KB :white_check_mark: | app/drive.(hash).js
| 167.88KB | 300KB :white_check_mark: | public/cozy-client-js.js
| 158.97KB | 160KB :white_check_mark: | intents/drive.(hash).js
| 104.91KB | 190KB :white_check_mark: | public/drive.(hash).min.css
| 70.69KB | 100KB :white_check_mark: | app-drive.(hash).min.css
| 36.52KB | 56KB :white_check_mark: | intents-drive.(hash).min.css
| 33.87KB | 40KB :white_check_mark: | onlyOffice/slide.pptx
| 24.82KB | 25KB :white_check_mark: | onlyOffice/text.docx
| 5.84KB | 6KB :white_check_mark: | onlyOffice/spreadsheet.xlsx
| 5.01KB | 6KB :white_check_mark: | manifest.webapp
| 1.9KB | 2KB :white_check_mark: | index.html
| 590B | 1KB :white_check_mark: | intents/index.html
| 503B | 1KB :white_check_mark: | manifest.json
| 184B | 1KB

Total files change +1B 0%

Unchanged groups (7) Status | Path | Size | Limits :------------: | ------------ | :------------: | :------------: :white_check_mark: | public/**
| 2.11MB | - :white_check_mark: | vendors/**
| 1.75MB | - :white_check_mark: | services/**
| 507.69KB | - :white_check_mark: | app/**
| 167.88KB | - :white_check_mark: | intents/**
| 105.41KB | - :white_check_mark: | onlyOffice/**
| 35.68KB | - :white_check_mark: | img/**
| 3.41KB | -

Final result: :white_check_mark:

View report in BundleMon website ➡️


Current branch size history | Target branch size history