Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
176
Issues
176
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Compare Revisions
0e207bfc8d83103ae273670275fb2c8ca3dea357...586421cc79bbd81def8d931bbee83ba9a1d066de
Source
586421cc79bbd81def8d931bbee83ba9a1d066de
Select Git revision
...
Target
0e207bfc8d83103ae273670275fb2c8ca3dea357
Select Git revision
Compare
Commits (2)
(fix) check if list property is in the entity
· 83f2a4fb
Juan Manuel Solaro
authored
1 hour ago
83f2a4fb
(fix) update snapshots
· 586421cc
Juan Manuel Solaro
authored
1 hour ago
586421cc
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
149 additions
and
17 deletions
+149
-17
Activity.js.snap
__tests__/activity/components/__snapshots__/Activity.js.snap
+64
-8
ChannelScreen.js.snap
__tests__/channel/__snapshots__/ChannelScreen.js.snap
+24
-0
MediaView.js.snap
__tests__/common/components/__snapshots__/MediaView.js.snap
+8
-0
NewsfeedList.js.snap
__tests__/newsfeed/__snapshots__/NewsfeedList.js.snap
+40
-0
BlogsViewScreen.js
src/blogs/BlogsViewScreen.js
+6
-4
DiscoveryScreen.js
src/discovery/DiscoveryScreen.js
+1
-1
ActivityScreen.js
src/newsfeed/ActivityScreen.js
+6
-4
No files found.
__tests__/activity/components/__snapshots__/Activity.js.snap
View file @
586421cc
...
...
@@ -17,7 +17,14 @@ exports[`Activity component renders correctly 1`] = `
<Pinned
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -74,7 +81,14 @@ exports[`Activity component renders correctly 1`] = `
<OwnerBlock
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -147,7 +161,14 @@ exports[`Activity component renders correctly 1`] = `
<ActivityActionSheet
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -248,7 +269,14 @@ exports[`Activity component renders correctly 1`] = `
<ExplicitText
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -316,7 +344,14 @@ exports[`Activity component renders correctly 1`] = `
<Translate
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -380,7 +415,14 @@ exports[`Activity component renders correctly 1`] = `
<MediaView
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -450,7 +492,14 @@ exports[`Activity component renders correctly 1`] = `
<Actions
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
@@ -513,7 +562,14 @@ exports[`Activity component renders correctly 1`] = `
<ActivityMetrics
entity={
ActivityModel {
"__list": null,
"__list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"allow_comments": true,
"attachment_guid": false,
"blurb": false,
...
...
This diff is collapsed.
Click to expand it.
__tests__/channel/__snapshots__/ChannelScreen.js.snap
View file @
586421cc
...
...
@@ -19,6 +19,14 @@ exports[`Channel screen component should renders correctly 1`] = `
"state": Object {
"params": Object {
"entity": Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid0",
...
...
@@ -273,6 +281,14 @@ exports[`Channel screen component should renders correctly 1`] = `
"state": Object {
"params": Object {
"entity": Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid0",
...
...
@@ -317,6 +333,14 @@ exports[`Channel screen component should renders correctly 1`] = `
"state": Object {
"params": Object {
"entity": Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid0",
...
...
This diff is collapsed.
Click to expand it.
__tests__/common/components/__snapshots__/MediaView.js.snap
View file @
586421cc
...
...
@@ -22,6 +22,14 @@ exports[`Media view component renders correctly 1`] = `
<ExplicitImage
entity={
Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid0",
...
...
This diff is collapsed.
Click to expand it.
__tests__/newsfeed/__snapshots__/NewsfeedList.js.snap
View file @
586421cc
...
...
@@ -46,6 +46,14 @@ exports[`newsfeed list screen component should renders correctly 1`] = `
data={
Array [
Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid0",
...
...
@@ -77,6 +85,14 @@ exports[`newsfeed list screen component should renders correctly 1`] = `
},
},
Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid1",
...
...
@@ -108,6 +124,14 @@ exports[`newsfeed list screen component should renders correctly 1`] = `
},
},
Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid2",
...
...
@@ -139,6 +163,14 @@ exports[`newsfeed list screen component should renders correctly 1`] = `
},
},
Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid3",
...
...
@@ -170,6 +202,14 @@ exports[`newsfeed list screen component should renders correctly 1`] = `
},
},
Object {
"_list": Object {
"viewed": Object {
"addViewed": [Function],
"viewed": Map {
"1019155171608096768" => true,
},
},
},
"attachment_guid": false,
"blurb": false,
"container_guid": "activityguid4",
...
...
This diff is collapsed.
Click to expand it.
src/blogs/BlogsViewScreen.js
View file @
586421cc
...
...
@@ -108,10 +108,12 @@ export default class BlogsViewScreen extends Component {
await
this
.
props
.
blogsView
.
loadBlog
(
guid
);
}
this
.
props
.
blogsView
.
blog
.
_list
.
viewed
.
addViewed
(
this
.
props
.
blogsView
.
blog
,
this
.
props
.
blogsView
.
blog
.
_list
.
metadataService
);
if
(
this
.
props
.
blogsView
.
blog
&&
this
.
props
.
blogsView
.
blog
.
_list
)
{
this
.
props
.
blogsView
.
blog
.
_list
.
viewed
.
addViewed
(
this
.
props
.
blogsView
.
blog
,
this
.
props
.
blogsView
.
blog
.
_list
.
metadataService
);
}
}
catch
(
error
)
{
logService
.
exception
(
error
);
...
...
This diff is collapsed.
Click to expand it.
src/discovery/DiscoveryScreen.js
View file @
586421cc
...
...
@@ -233,7 +233,7 @@ export default class DiscoveryScreen extends Component {
removeClippedSubviews
=
{
false
}
columnWrapperStyle
=
{
columnWrapperStyle
}
keyboardShouldPersistTaps
=
{
'
handled
'
}
//
onViewableItemsChanged={this.onViewableItemsChanged}
onViewableItemsChanged
=
{
this
.
onViewableItemsChanged
}
viewabilityConfig
=
{
this
.
cols
==
3
?
undefined
:
this
.
viewOptsFeed
}
/
>
);
...
...
This diff is collapsed.
Click to expand it.
src/newsfeed/ActivityScreen.js
View file @
586421cc
...
...
@@ -60,10 +60,12 @@ export default class ActivityScreen extends Component {
this
.
entityStore
.
loadEntity
(
urn
);
}
params
.
entity
.
_list
.
viewed
.
addViewed
(
params
.
entity
,
params
.
entity
.
_list
.
metadataService
);
if
(
params
.
entity
&&
params
.
entity
.
_list
)
{
params
.
entity
.
_list
.
viewed
.
addViewed
(
params
.
entity
,
params
.
entity
.
_list
.
metadataService
);
}
}
/**
...
...
This diff is collapsed.
Click to expand it.