Skip to content

created function to allow change default values, fix loading search users#14177

Merged
ggazzo merged 10 commits intodevelopfrom
chore-templates
Apr 22, 2019
Merged

created function to allow change default values, fix loading search users#14177
ggazzo merged 10 commits intodevelopfrom
chore-templates

Conversation

@ggazzo
Copy link
Member

@ggazzo ggazzo commented Apr 17, 2019

No description provided.

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-14177 April 17, 2019 18:35 Inactive
@ggazzo ggazzo temporarily deployed to rocket-chat-pr-14177 April 17, 2019 21:28 Inactive
@ggazzo ggazzo temporarily deployed to rocket-chat-pr-14177 April 17, 2019 22:02 Inactive
@ggazzo ggazzo temporarily deployed to rocket-chat-pr-14177 April 17, 2019 22:07 Inactive
lastDay: `[${ lastDay }]`,
sameDay,
lastWeek: 'dddd',
sameElse: 'MMM D', // TODO lastYear
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If moment version is >=2.14.0, use a function to add the year when it is not the current one.


if ((isLoading === false && hasMore === true) || hasMoreNext === true) {
if (hasMore === true && lastScrollTop <= height / 3) {
if (hasMore === true && lastScrollTop <= height / 4) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assign the height / 4 expression to a variable to make it more explicit as a scrolling threshold.

"doctrine": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
"resolved": "http://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if npm resolved these URLs from https to http before commit package-lock.json.

@ggazzo ggazzo changed the title created function to allow change default values created function to allow change default values, fix loading search users Apr 22, 2019
@ggazzo ggazzo merged commit 51e66ea into develop Apr 22, 2019
@ggazzo ggazzo deleted the chore-templates branch April 22, 2019 20:15
@rodrigok rodrigok mentioned this pull request Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments