c2corg / v6_api

REST API for https://www.camptocamp.org
GNU Affero General Public License v3.0
22 stars 26 forks source link

Quality attribute should be saved in table guidebook.documents_locales #701

Open asaunier opened 6 years ago

asaunier commented 6 years ago

not in guidebook.documents because it may be different between 2 locales (lang) of the same document.

asaunier commented 4 years ago

As reported in https://github.com/c2corg/c2c_ui/issues/992

It seems an issue in the API, as the quality attribute is part of the generic Document model: https://github.com/c2corg/v6_api/blob/master/c2corg_api/models/document.py#L43-L61

That does not make sense as a document may have a very good version in a language but be very poor in another one. Eg.

cbeauchesne commented 4 years ago

Considering the direction we took on https://forum.camptocamp.org/t/vote-champ-completude-qualite/253410, here is a small specs proposition :

asaunier commented 3 years ago

I have assigned the issue to myself to have a look at it later. Feel free to reassign to you if motivated to do the change.

AntoineMarnat commented 2 years ago

@asaunier, any progress on this ?

https://github.com/c2corg/c2c_ui/issues/1554