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

Remove a resource from an item (as a file) #516

Open
6 tasks
maxpid opened this issue Jun 4, 2021 · 2 comments
Open
6 tasks

Remove a resource from an item (as a file) #516

maxpid opened this issue Jun 4, 2021 · 2 comments

Comments

@maxpid
Copy link

maxpid commented Jun 4, 2021

Description

Allow users to remove a resource from an item.

This feature is directly linked to #142 where you can add a resource to an item.

What is the valuable outcome that cannot be achieved with current features?

For which stakeholder (people, role, project, domain) is it important?

Which user action should be enabled (or restricted)? For who?

Additional details (solutions you think about, or workarounds you tried)

Deliverables status

Phase 1

  • Scenarios (Gherkin)
  • Mockups
  • Implementation strategy

Phase 2

  • Acceptance tests (Capybara)
  • Implementation

Phase 3

  • Screencast
@maxpid maxpid added the Feature label Jun 4, 2021
@maxpid maxpid added this to Suggéré in Études à l'étranger Jun 7, 2021
@antoinethz antoinethz moved this from Suggéré to À faire in Études à l'étranger Jun 19, 2021
@antoinethz antoinethz moved this from À faire to En cours in Études à l'étranger Jun 19, 2021
GuenaultAlexandre added a commit to GuenaultAlexandre/Porphyry that referenced this issue Jun 22, 2021
@antoinethz
Copy link

Voici notre stratégie d’implémentation avec @TheoHoenen :
Stratégie d’implémentation :

Dans Porphyry/src/components/itemPage il faudra modifier la fonction render de Item.jsx pour afficher un bouton « supprimer une ressource » si une ressource est présente sur l'item.

Au niveau du backend, la suppression d’un attachment de CouchDB se fera avec un DELETE de index.js du projet lib-node.

@benel
Copy link
Member

benel commented Jun 23, 2021

Merci @Antoine-thz et @TheoHoenen

Au niveau du backend, la suppression d’un attachment de CouchDB se fera avec un DELETE de index.js du projet lib-node.

Est-ce que cela ne risque pas de supprimer l'item ?

Ma remarque est analogue à mon commentaire de ce matin à vos collègues @Xelocks et @ThomasRitaine : Hypertopic/lib-node#9 (comment)
Il y a décidément quelque chose à éclaircir sur les URI des objets par rapport aux URI des pièces jointes de ces objets.

@Couapy Couapy added this to Suggéré in Vitraux de Troyes P22 Mar 11, 2022
@Couapy Couapy removed this from Suggéré in Vitraux de Troyes P22 Mar 11, 2022
@dylanbonelli dylanbonelli moved this from Suggéré to À faire in Gravures antiques sur pierres fines P22 May 19, 2022
@corentinprp51 corentinprp51 moved this from À faire to En cours in Gravures antiques sur pierres fines P22 May 19, 2022
dylanbonelli added a commit to dylanbonelli/Porphyry that referenced this issue May 19, 2022
@dylanbonelli dylanbonelli moved this from En cours to À faire in Gravures antiques sur pierres fines P22 Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

8 participants