Add image description support (#7518)
* recieve image descriptions under the name property * fix other components * use comment for alt and title * allow editing of file comment * allow editing of file comment in note dialog * federate note comments * use file instead of this * backend should accept comment on update * update now actually accepts comment * allow multiline descriptions * image should also have description attached * Update locales/ja-JP.yml Co-authored-by:rinsuki <428rinsuki+git@gmail.com> * Use custom component with side-by-side image * improve usability on mobile devices * revert changes * Update post-form-attaches.vue * Update drive.file.vue * Update media-caption.vue Co-authored-by:
rinsuki <428rinsuki+git@gmail.com> Co-authored-by:
syuilo <Syuilotan@yahoo.co.jp>
Showing
- locales/ja-JP.yml 3 additions, 0 deletionslocales/ja-JP.yml
- src/client/components/drive.file.vue 24 additions, 0 deletionssrc/client/components/drive.file.vue
- src/client/components/image-viewer.vue 1 addition, 1 deletionsrc/client/components/image-viewer.vue
- src/client/components/media-caption.vue 238 additions, 0 deletionssrc/client/components/media-caption.vue
- src/client/components/media-image.vue 2 additions, 2 deletionssrc/client/components/media-image.vue
- src/client/components/post-form-attaches.vue 25 additions, 0 deletionssrc/client/components/post-form-attaches.vue
- src/remote/activitypub/models/image.ts 1 addition, 1 deletionsrc/remote/activitypub/models/image.ts
- src/remote/activitypub/renderer/document.ts 2 additions, 1 deletionsrc/remote/activitypub/renderer/document.ts
- src/remote/activitypub/renderer/image.ts 2 additions, 1 deletionsrc/remote/activitypub/renderer/image.ts
- src/server/api/endpoints/drive/files/update.ts 11 additions, 0 deletionssrc/server/api/endpoints/drive/files/update.ts
- src/services/drive/upload-from-url.ts 6 additions, 0 deletionssrc/services/drive/upload-from-url.ts
Loading
Please register or sign in to comment