Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
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
Essem
Sharkey
Commits
096fa16c
Commit
096fa16c
authored
1 year ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
enhance(frontend): TLの返信表示オプションを記憶するように
Resolve #12016
parent
04908bc9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+11
-0
11 additions, 0 deletions
CHANGELOG.md
packages/frontend/src/pages/timeline.vue
+5
-1
5 additions, 1 deletion
packages/frontend/src/pages/timeline.vue
packages/frontend/src/store.ts
+4
-0
4 additions, 0 deletions
packages/frontend/src/store.ts
with
20 additions
and
1 deletion
CHANGELOG.md
+
11
−
0
View file @
096fa16c
...
...
@@ -12,6 +12,17 @@
-->
## 2023.x.x (unreleased)
### General
-
### Client
-
Enhance: TLの返信表示オプションを記憶するように
### Server
-
## 2023.10.1
### General
-
Enhance: ローカルタイムライン、ソーシャルタイムラインで返信を含むかどうか設定可能に
...
...
This diff is collapsed.
Click to expand it.
packages/frontend/src/pages/timeline.vue
+
5
−
1
View file @
096fa16c
...
...
@@ -62,11 +62,15 @@ let queue = $ref(0);
let
srcWhenNotSignin
=
$ref
(
isLocalTimelineAvailable
?
'
local
'
:
'
global
'
);
const
src
=
$computed
({
get
:
()
=>
(
$i
?
defaultStore
.
reactiveState
.
tl
.
value
.
src
:
srcWhenNotSignin
),
set
:
(
x
)
=>
saveSrc
(
x
)
});
const
withRenotes
=
$ref
(
true
);
const
withReplies
=
$ref
(
false
);
const
withReplies
=
$ref
(
$i
?
defaultStore
.
state
.
tlWithReplies
:
false
);
const
onlyFiles
=
$ref
(
false
);
watch
(
$
$
(
src
),
()
=>
queue
=
0
);
watch
(
$
$
(
withReplies
),
(
x
)
=>
{
if
(
$i
)
defaultStore
.
set
(
'
tlWithReplies
'
,
x
);
});
function
queueUpdated
(
q
:
number
):
void
{
queue
=
q
;
}
...
...
This diff is collapsed.
Click to expand it.
packages/frontend/src/store.ts
+
4
−
0
View file @
096fa16c
...
...
@@ -357,6 +357,10 @@ export const defaultStore = markRaw(new Storage('base', {
where
:
'
device
'
,
default
:
false
,
},
tlWithReplies
:
{
where
:
'
device
'
,
default
:
false
,
},
}));
// TODO: 他のタブと永続化されたstateを同期
...
...
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