User media management, FE part #3603
No reviewers
Labels
No labels
BE Request
Backlog
Better behavior
Blocked by deps
Bug
Code Review
Discussion
Doing
Feature Request / Enhancement
In the shining bright future maybe
It's complicated
MS Edge
Mememoon (or other niche browsers)
Missing API
Missing feature
Missing l10n/i18n
NL1
NL2
NL4
Need to verify on develop
RELEASE BLOCKER
Reassign or Close
Refactor
Regression
Safari
To Do
User story
Waiting on godot
accessibility
better documentation
chore
confirmed
easy ticket
incident
l10n update
mastoapi
mobile
needs design
needs-info
needs-review
stupid
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
pleroma/pleroma-fe!3603
Loading…
Reference in a new issue
No description provided.
Delete branch "media-management"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checklist
changelog.ddirectory, create a file named<code>.<type>.Required BE PR: pleroma/pleroma#8058
This implements the new endpoints for managing user's uploaded media:
Issues:
Screenshots:


@ -0,0 +11,4 @@<button class="btn button-default" @click="refreshMedia()">{{ $t('settings.uploaded_media.refresh') }}</button><div><div class="media-entry" v-for="media in knownMedia">needs an
idattributei meant
key, sorry@ -0,0 +55,4 @@<li><h4>{{$t('settings.uploaded_media.used_in')}}</h4><ul v-if="media.usage" class="used-in-objects-list"><li v-for="obj in media.usage.objects">also needs a
key@ -0,0 +107,4 @@</div></template><script>please move js and css into separate files
@ -0,0 +157,4 @@: 'settings.uploaded_media.delete_error',level: result ? 'success' : 'error',})this.deleteModalVisible = falsei would put this into
.finally()@ -0,0 +154,4 @@useInterfaceStore().pushGlobalNotice({messageKey: result? 'settings.uploaded_media.delete_success': 'settings.uploaded_media.delete_error',wouldn't failures just end up in
.catch?@ -0,0 +200,4 @@},computed: {managementAvailable() {return useInstanceCapabilitiesStore().mediaManagementAvailablei would use pinia's
mapStateOverall looks good, just have a few nitpicks
a few typos and i think it's ok to merge
@ -0,0 +60,4 @@messageArgs: { e: err.statusText },level: 'error',})this.deleteModalVisible = falseexcessive, already set in
finally@ -0,0 +62,4 @@})this.deleteModalVisible = false}).finall(() => {typo:
finally