m2ms / fragalysis-frontend

The React, Redux frontend built by webpack
Other
1 stars 1 forks source link

Need (editable) display name for Target #1251

Open phraenquex opened 6 months ago

phraenquex commented 6 months ago

Display name (in landing page) needs to be changeable, after the first upload.

So needs "display_name" alongside "name". Small change to model, says Tim.

Needs a Modal for editing the name. Any authorised user.

(Might duplicate another ticket... @phraenquex to find.)

kaliif commented 5 months ago

Patch method added to api/targets, Allows editing target object's display_name attribute (only that, nothing more). In staging as of 2.0.36

mwinokan commented 2 weeks ago

@boriskovar-m2ms, @matej-vavrek: have you tried the new endpoint?

matej-vavrek commented 2 weeks ago

I have tried it. It seems working as api/targets/{targetId}/ image

phraenquex commented 2 weeks ago

Terrific - now we just need a frontend mechanism to edit it. I suggest an item on the hamburger menu, call it like "Edit target info".

Pop up a modal with "Target display name".

(In future, we'll use the modal for additional metadata.)

@mwinokan please critique/confirm.