Steve Howell
9ce5d51bdc
user status: Fix tiny green dot in user popover.
...
We now compute the class that drives the tiny
green/orange/empty dot in the user popover using
the same logic as the buddy list.
This was broken in the early implementation of
set/clear-away, but it was never released.
Fixes #11413
2019-02-01 15:23:35 -08:00
Steve Howell
ab8b50453b
user status: Show status in user info popovers.
2019-02-01 15:23:35 -08:00
Steve Howell
cb691694d1
status: Add user menu options to set/revoke away status.
2019-01-02 09:23:20 -08:00
Cynthia Lin
4d97909764
popovers: Add guest avatar marker to user info popover.
2018-12-30 11:07:00 -08:00
Tim Abbott
fe8d400e3a
node: Fix test failure due to 'narrowed' removal.
...
This was broken in 67fa755158
.
2018-11-12 15:39:35 -08:00
Yashashvi Dave
54dd7f0a43
user info popover: Add user type/role in user information popover.
...
Add user role-- "Administrator", "Member", "Bot" or "Guest"
under 'Local time' in user information popover.
Fixes part of #10754
2018-11-12 15:13:44 -08:00
Yashashvi Dave
6622f995b0
user profile popover: Rename user last seen.
...
Rename "Last seen just now" to "Just now",
and "Unknown" to "More than 2 weeks ago"
in user profile popover.
2018-08-21 11:42:59 -07:00
Yashashvi Dave
1e27cb18eb
user profile popover: Hide popover when user clicks on edit-profile-btn.
2018-08-21 11:42:59 -07:00
Steve Howell
9accc2a3b6
refactor: Move operators_to_hash to hash_utils.
...
This breaks some unnecessary dependencies on
hashchange.js, in favor of hash_util, which
has fewer dependencies.
2018-08-04 09:32:27 -07:00
Steve Howell
42435db492
Add run_test helper for individual tests.
...
This run_test helper sets up a convention that allows
us to give really short tracebacks for errors, and
eventually we can have more control over running
individual tests. (The latter goal has some
complications, since we often intentionally leak
setup in tests.)
2018-05-15 08:24:44 -07:00
Tim Abbott
6e149a7594
lint: Add JS indentation eslint rules for node_tests.
...
The only difference between this as the main project's lint rules is
that we dont have the OuterIIFE setting.
2018-05-06 19:35:18 -07:00
Tim Abbott
3e49850d6b
popovers: Fix broken node test.
...
This seems to have been introduced when rebasing
7533796ea9
.
2018-04-23 17:29:15 -07:00
Steve Howell
617bfa9275
node tests: Add coverage for popovers.js.
2018-04-17 17:52:19 -07:00