cityofaustin / cityofaustin/techstack

Bidirectional relationships: images and documents

Open
#4,187 0 comments 0 reactions 0 assignees View on GitHub
Feature: Document management Feature: Media Management Joplin Alpha Team: Dev
Dominant language
No language data
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

### As a content author, I want to know where on the website an image or a document is used, so that I can make smart decisions about editing and deleting that image or document.
### Requirements
When a user opens the **[image edit view](http://joplin-staging.herokuapp.com/admin/images/29/)**,
- [ ] they are able to see every page the image is on
- [ ] they are able to see whether those pages are LIVE or DRAFT (status)

When a user goes to **delete an image**:
- [ ] The [are you sure? page](http://joplin-staging.herokuapp.com/admin/images/30/delete/) lists every page where the image is used
- [ ] they are able to see whether those pages are LIVE or DRAFT (status)

When a user opens the **[document edit view](http://joplin-staging.herokuapp.com/admin/documents/edit/126/)**,
- [ ] they are able to see every page the document is on
- [ ] they are able to see whether those pages are LIVE or DRAFT (status)

When a user goes to **delete a document**:
- [ ] The [are you sure? page](http://joplin-staging.herokuapp.com/admin/images/30/delete/) lists every page where the doc is used
- [ ] they are able to see whether those pages are LIVE or DRAFT (status)

### To test
#### Image
1. Upload an **image** to Joplin
2. Add it to a page and publish the page
3. Add it to a draft and save that draft page
4. Return to the image edit view and see:
- [ ] The published page in step 2 is listed
- [ ] The draft page in step 3 is listed
#### Document
1. Upload a **document** to Joplin
2. Add it to a page and publish the page
3. Add it to a draft and save that draft page
4. Return to the document edit view and see:
- [ ] The published page in step 2 is listed
- [ ] The draft page in step 3 is listed
### Test data
tbd

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.