Skip to content
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

Merged
merged 10 commits into from
Apr 22, 2019

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
app/emoji/client/emojiParser.js Outdated Show resolved Hide resolved
app/highlight-words/client/client.js Outdated Show resolved Hide resolved
app/lib/client/lib/formatDate.js Show resolved Hide resolved
app/lib/client/lib/formatDate.js Outdated Show resolved Hide resolved
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.

app/lib/client/lib/formatDate.js Outdated Show resolved Hide resolved
app/threads/client/flextab/thread.js Outdated Show resolved Hide resolved
app/lib/client/lib/formatDate.js Show resolved Hide resolved
@@ -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) {
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.

@@ -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",
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.

None yet

3 participants