This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 828
fix last_active_ago timestamps, tab completion ordering, and implement currently_active semantics #226
Merged
Merged
fix last_active_ago timestamps, tab completion ordering, and implement currently_active semantics #226
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2265d1a
fix display of null last_active_ago timestamps
ara4n ce833c9
deobfuscate last_active_ago ordering
ara4n 58d4682
take null last_active_ago values into account correctly when ordering…
ara4n 500b88d
implement currently_active
ara4n e7ec616
allow tab-complete to start from a blank text-input. this lets us aut…
ara4n 50e33d3
never try to tab-complete yourself, doofus
ara4n 6acfc8f
comment currentlyActive
ara4n 11a146e
oops
ara4n 84278a4
fix copy-paste bug caught by PR review
ara4n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ module.exports = React.createClass({ | |
className: React.PropTypes.string, | ||
presenceState: React.PropTypes.string, | ||
presenceActiveAgo: React.PropTypes.number, | ||
presenceCurrentlyActive: React.PropTypes.bool, | ||
showInviteButton: React.PropTypes.bool, | ||
shouldComponentUpdate: React.PropTypes.func, | ||
onClick: React.PropTypes.func, | ||
|
@@ -88,6 +89,7 @@ module.exports = React.createClass({ | |
<img className="mx_EntityTile_chevron" src="img/member_chevron.png" width="8" height="12"/> | ||
<div className="mx_EntityTile_name_hover">{ this.props.name }</div> | ||
<PresenceLabel activeAgo={this.props.presenceActiveAgo} | ||
currentlyActive={this.props.presenceCurrentlyActive} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done. |
||
presenceState={this.props.presenceState} /> | ||
</div> | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why is this changing? it scares me
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.
as the commit says, it lets you hit tab on an empty textarea to start tab-completing the most recently active nick