Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Kitsukey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kio!
Kitsukey
Commits
0da47179
Verified
Commit
0da47179
authored
1 year ago
by
Mar0xy
Browse files
Options
Downloads
Patches
Plain Diff
upd: clicky click on replies
parent
5d40ca65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/backend/src/server/api/stream/types.ts
+1
-1
1 addition, 1 deletion
packages/backend/src/server/api/stream/types.ts
packages/frontend/src/components/MkNoteSub.vue
+8
-1
8 additions, 1 deletion
packages/frontend/src/components/MkNoteSub.vue
with
9 additions
and
2 deletions
packages/backend/src/server/api/stream/types.ts
+
1
−
1
View file @
0da47179
...
...
@@ -144,7 +144,7 @@ export interface NoteStreamTypes {
};
updated
:
{
updatedAt
:
Date
;
}
}
;
}
type
NoteStreamEventTypes
=
{
[
key
in
keyof
NoteStreamTypes
]:
{
...
...
This diff is collapsed.
Click to expand it.
packages/frontend/src/components/MkNoteSub.vue
+
8
−
1
View file @
0da47179
...
...
@@ -15,7 +15,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<Mfm
v-if=
"note.cw != ''"
style=
"margin-right: 8px;"
:text=
"note.cw"
:author=
"note.user"
:i=
"$i"
/>
<MkCwButton
v-model=
"showContent"
:note=
"note"
/>
</p>
<div
v-show=
"note.cw == null || showContent"
>
<div
v-show=
"note.cw == null || showContent"
@
click=
"noteclick(note.id)"
>
<MkSubNoteContent
:class=
"$style.text"
:note=
"note"
/>
</div>
</div>
...
...
@@ -52,6 +52,7 @@ import { $i } from '@/account.js';
import
{
userPage
}
from
"
@/filters/user
"
;
import
{
checkWordMute
}
from
"
@/scripts/check-word-mute
"
;
import
{
defaultStore
}
from
"
@/store
"
;
import
{
useRouter
}
from
'
@/router.js
'
;
const
props
=
withDefaults
(
defineProps
<
{
note
:
Misskey
.
entities
.
Note
;
...
...
@@ -63,8 +64,14 @@ const props = withDefaults(defineProps<{
depth
:
1
,
});
const
router
=
useRouter
();
const
muted
=
ref
(
checkWordMute
(
props
.
note
,
$i
,
defaultStore
.
state
.
mutedWords
));
function
noteclick
(
id
:
string
)
{
router
.
push
(
`/notes/
${
id
}
`
);
}
let
showContent
=
$ref
(
false
);
let
replies
:
Misskey
.
entities
.
Note
[]
=
$ref
([]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment