-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
created function to allow change default values, fix loading search users #14177
Conversation
app/lib/client/lib/formatDate.js
Outdated
lastDay: `[${ lastDay }]`, | ||
sameDay, | ||
lastWeek: 'dddd', | ||
sameElse: 'MMM D', // TODO lastYear |
There was a problem hiding this comment.
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.
app/ui/client/views/app/room.js
Outdated
@@ -697,7 +697,7 @@ Template.room.events({ | |||
const hasMoreNext = RoomHistoryManager.hasMoreNext(this._id); | |||
|
|||
if ((isLoading === false && hasMore === true) || hasMoreNext === true) { | |||
if (hasMore === true && lastScrollTop <= height / 3) { | |||
if (hasMore === true && lastScrollTop <= height / 4) { |
There was a problem hiding this comment.
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.
package-lock.json
Outdated
@@ -5542,7 +5542,7 @@ | |||
}, | |||
"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", |
There was a problem hiding this comment.
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
.
No description provided.