Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
admin-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Pleroma
admin-fe
Merge requests
!126
Create route for single status
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Create route for single status
feature/route-for-status
into
develop
Overview
0
Commits
36
Pipelines
10
Changes
17
Merged
Angelina Filippova
requested to merge
feature/route-for-status
into
develop
4 years ago
Overview
0
Commits
36
Pipelines
10
Changes
17
Expand
Closes
#103 (closed)
Blocked by
pleroma!2543 (merged)
Edited
4 years ago
by
Angelina Filippova
0
0
Merge request reports
Compare
develop
version 9
f22485cc
4 years ago
version 8
b8184c47
4 years ago
version 7
fe1024be
4 years ago
version 6
20251b75
4 years ago
version 5
1c269147
4 years ago
version 4
3e4a3d26
4 years ago
version 3
7aea2447
4 years ago
version 2
4b701ced
4 years ago
version 1
9ecdddad
4 years ago
develop (base)
and
latest version
latest version
7fd8a813
36 commits,
4 years ago
version 9
f22485cc
34 commits,
4 years ago
version 8
b8184c47
33 commits,
4 years ago
version 7
fe1024be
29 commits,
4 years ago
version 6
20251b75
28 commits,
4 years ago
version 5
1c269147
23 commits,
4 years ago
version 4
3e4a3d26
22 commits,
4 years ago
version 3
7aea2447
17 commits,
4 years ago
version 2
4b701ced
15 commits,
4 years ago
version 1
9ecdddad
11 commits,
4 years ago
17 files
+
731
−
180
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
src/api/__mocks__/status.js
+
23
−
0
Options
@@ -6,6 +6,29 @@ export async function deleteStatus(id, authHost, token) {
return
Promise
.
resolve
()
}
export
async
function
fetchStatus
(
id
,
authHost
,
token
)
{
const
data
=
{
account
:
{
id
:
'
9n1bySks25olxWrku0
'
,
avatar
:
'
http://localhost:4000/images/avi.png
'
,
display_name
:
'
dolin
'
,
tags
:
[
'
strip_media
'
,
'
sandbox
'
,
'
disable_any_subscription
'
,
'
force_nsfw
'
],
url
:
'
http://localhost:4000/users/dolin
'
},
content
:
'
pizza makes everything better
'
,
created_at
:
'
2020-05-22T17:34:34.000Z
'
,
id
:
'
9vJOO3iFPyjNaEhJ5s
'
,
media_attachments
:
[],
poll
:
null
,
sensitive
:
false
,
spoiler_text
:
''
,
visibility
:
'
public
'
,
url
:
'
http://localhost:4000/notice/9vJOO3iFPyjNaEhJ5s
'
}
return
Promise
.
resolve
({
data
})
}
export
async
function
fetchStatusesByInstance
({
instance
,
authHost
,
token
,
pageSize
,
page
})
{
let
data
if
(
pageSize
===
1
)
{
Loading