summaryrefslogtreecommitdiff
path: root/packages/client/src/components/MkMediaCaption.vue (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-12-21refactor(client): refacotr MkMediaCaptionsyuilo1-263/+0
2022-09-06refactor(client): refactor file name and directory structuresyuilo1-2/+2
2022-08-31refactor(client): align filename to component namesyuilo1-0/+0
2022-05-26fix lints (#8737)Johann1501-8/+8
* fix: emits use ev instead of e * fix: errors use err instead of e * fix: replace use of data where possible * fix: events use evt instead of e * fix: use strict equals * fix: use emoji instead of e * fix: vue lints
2022-03-09fix scroll (#8382)nullobsi1-0/+4
2021-11-19update linrsyuilo1-3/+3
2021-11-12refactoringsyuilo1-12/+11
Resolve #7779
2021-10-03:art:syuilo1-1/+1
2021-09-30fix: truncate image descriptions (#7699)Johann1501-4/+26
* move truncate function to separate file to reuse it * truncate image descriptions * show image description limit in UI * correctly treat null Co-authored-by: nullobsi <me@nullob.si> * make truncate Unicode-aware The strings that truncate returns should now be valid Unicode. PostgreSQL also counts Unicode Code Points instead of bytes so this should be correct. * move truncate to internal, validate in API Truncating could also be done in src/services/drive/add-file.ts or src/services/drive/upload-from-url.ts but those would also affect local images. But local images should result in a hard error if the image comment is too long. * avoid overwriting Co-authored-by: nullobsi <me@nullob.si>
2021-05-28Add image description support (#7518)nullobsi1-0/+238
* 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>