refactor: media-caption component as composition api #21

Merged
Johann150 merged 3 commits from :refactor/media-caption into main 2022-07-23 20:23:45 +00:00
Owner

Eslint will complain that DriveFile doesn't have a comment property. I have a patch for misskey.js to fix that here: 28f244479c

Eslint will complain that `DriveFile` doesn't have a `comment` property. I have a patch for misskey.js to fix that here: https://akkoma.dev/norm/foundkey.js/commit/28f244479cecaa9ed854f8edea054234ff3ba394
norm added 1 commit 2022-07-22 03:17:30 +00:00
refactor: media-caption component as composition api
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/lint-client Pipeline failed
f4df03fb78
Johann150 reviewed 2022-07-22 06:28:06 +00:00
@ -12,3 +2,1 @@
<MkButton inline primary :disabled="remainingLength < 0" @click="ok">{{ $ts.ok }}</MkButton>
<MkButton inline @click="cancel" >{{ $ts.cancel }}</MkButton>
</div>
<MkModal ref="modal" @click="done(true)" @closed="$emit('closed')">
Owner

This should also use emit.

This should also use `emit`.
norm marked this conversation as resolved
norm added 1 commit 2022-07-22 09:33:10 +00:00
refactor: use emit for MkModal @closed
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
c9925a7e89
norm added 1 commit 2022-07-23 20:10:51 +00:00
remove async from ok()
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
4d6e3d4cd7
Johann150 merged commit bbb16208ab into main 2022-07-23 20:23:45 +00:00
norm referenced this pull request from a commit 2022-08-28 14:46:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#21
No description provided.