c2c_ui icon indicating copy to clipboard operation
c2c_ui copied to clipboard

fix: c2corg#2313 api climbing error translation

Open Nayor opened this issue 2 years ago • 2 comments

Nayor avatar Mar 08 '24 15:03 Nayor

HI !

Since this error will be raised by the API when saving the document, the message is handled by src\views\wiki\edition\utils\document-edition-view-mixin.js right ? https://github.com/c2corg/c2c_ui/blob/34b99b5bb0b7cb1884c26d8d14d38d0bdf10313e/src/views/wiki/edition/utils/document-edition-view-mixin.js#L216

Are you thinking about displaying this error when an climbing indoor waypoint is selected by the association tool ? https://github.com/c2corg/c2c_ui/blob/34b99b5bb0b7cb1884c26d8d14d38d0bdf10313e/src/js/vue-plugins/document-utils.js#L161

Wouldn't be the best to not display at all this kind of waypoint in the input suggestions ?

Nayor avatar Mar 11 '24 14:03 Nayor

Are you thinking about displaying this error when an climbing indoor waypoint is selected by the association tool ?

Indeed.

Wouldn't be the best to not display at all this kind of waypoint in the input suggestions ?

This should be the case already, but you never know :)

brunobesson avatar Mar 12 '24 07:03 brunobesson