dgw
e5a6417a82
Scroll to newly joined/activated channels
...
Add a new utility function for scrolling elements into view with the
same, consistent options, and use it for both the new channel scrolling
behavior and the existing userlist scroll code.
Implements & resolves #2062
2018-03-08 10:30:07 -06:00
Pavel Djundik
884984f9b4
Cleanup sidebar to use flexbox
2018-03-08 08:50:04 +02:00
Pavel Djundik
73755ce973
Remove .chanlist wrapper
...
Added in 04046719c1
, but it's not necessary
2018-03-08 08:50:04 +02:00
Pavel Djundik
bb066ecb02
Do not listen to touch events until client is initialized
...
Fixes #2148
2018-03-07 10:02:02 +02:00
Pavel Djundik
e719e4ff81
Cleanup chat/userlist to use flexbox, fix a couple of bugs
2018-03-05 18:17:13 +02:00
Al McKinlay
04046719c1
Merge pull request #1867 from thelounge/yamanickill/867-collapsible-network
...
Add support for collapsing networks
2018-03-03 20:01:33 +00:00
Pavel Djundik
276266e24f
Center loading screen
2018-03-03 09:45:24 +02:00
Jérémie Astori
8deb056ecf
Merge pull request #1842 from thelounge/astorije/userlist-up-down
...
Move the user list client code to its own file and make it possible to navigate with keyboard
2018-03-03 02:32:09 -05:00
Al McKinlay
7fec928ba8
Make networks collapsable
2018-03-02 08:57:12 +00:00
Alistair McKinlay
9c5147ae09
Change ctrl/command up/down to alt/option up/down to align with other apps
2018-03-01 09:07:36 +00:00
Pavel Djundik
00681e876f
Merge pull request #1669 from edbrannin/edbrannin/autocomplete-chat-names-1459
...
add autocompleted names to private chats
2018-02-28 18:54:44 +02:00
Pavel Djundik
20a6133d73
Remove unintentionally included lodash in client build
2018-02-28 17:19:33 +02:00
Ed Brannin
4e67e55a7d
add autocompleted names to private chats
...
Fix #1459
https://github.com/thelounge/lounge/issues/1459
Add rawNicks() to more easily get the list of nicks for the current
channel or chat without overly complicating its caller.
2018-02-28 14:25:01 +02:00
Jérémie Astori
615353c582
Make sure a previously highlighted nick in the user list is highlighted when the list is refreshed
...
List is refreshed when there is a change in the channel (join/part/quit/nick).
2018-02-26 01:36:36 -05:00
Jérémie Astori
3070ae098a
Mark the first user list result as active for convenience
...
This _also_ reproduces behavior of autocompletion dropdown.
2018-02-26 01:36:36 -05:00
Jérémie Astori
81e1d15ee9
Override mouse position when clicking on user in userlist to open dropdown at correct position
2018-02-26 01:36:36 -05:00
Jérémie Astori
ee7272305a
Adjust user list scroll when active item is outside of the visible area
2018-02-26 01:36:35 -05:00
Jérémie Astori
bfc8959bb9
Share highlighting behavior of userlist between mouse hover and keyboard selection
...
This effectively reproduces the behavior of the autocomplete menu.
2018-02-26 01:36:35 -05:00
Jérémie Astori
649d60c119
Allow navigating through userlist results from keyboard
2018-02-26 01:36:35 -05:00
Jérémie Astori
25517f3ad7
Move the user list client code to its own file
2018-02-26 01:36:34 -05:00
Jérémie Astori
2dbb150463
Merge pull request #2109 from thelounge/xpaw/fix-stuck-rendering
...
Fix "rendering..." getting stuck on first connection
2018-02-23 20:27:56 -05:00
Jérémie Astori
f18a7b2fe6
Merge pull request #2107 from thelounge/xpaw/correct-scroller
...
Always correctly trigger sticky scroll on .chat container
2018-02-23 19:38:57 -05:00
Pavel Djundik
bd2907c13f
Use document.body when wrapping it in a jquery object
2018-02-23 21:22:05 +02:00
Pavel Djundik
7ce1f1cf9e
Fix "rendering..." getting stuck on first connection
2018-02-23 21:18:42 +02:00
Pavel Djundik
63828b95e0
Always correctly trigger sticky scroll on .chat container
...
`.chat` has the overflow on it, and not `.messages` so stuff like scrollTop only works on `.chat`
2018-02-23 18:21:42 +02:00
Pavel Djundik
59ec07be87
Update all links to thelounge repository
2018-02-21 22:47:52 -05:00
Al McKinlay
c09f06fccc
Change isOpInChannel to allow multiple different user roles
2018-02-21 15:05:02 +00:00
Pavel Djundik
c733e72e7a
Auto-fix code for padding-line-between-statements rule
2018-02-20 09:28:04 +02:00
Pavel Djundik
7724762c14
Fix active class not being removed when switching channels
2018-02-19 21:05:05 +02:00
Pavel Djundik
c97352905d
Merge pull request #1962 from thelounge/xpaw/no-var
...
Enable no-var rule
2018-02-19 20:12:31 +02:00
Pavel Djundik
8886459be9
Merge pull request #2049 from thelounge/xpaw/ui-network-status
...
Sync network status and security to client UI
2018-02-19 19:57:36 +02:00
Pavel Djundik
a3e448acf5
Enable no-var rule
...
Fixes #1961
2018-02-19 19:49:39 +02:00
Jérémie Astori
ab982ecc3c
Remove deprecated support for CSS filenames in theme configuration
2018-02-19 19:17:45 +02:00
Pavel Djundik
742929280d
Merge pull request #1919 from thelounge/yamanickill/image-size-error
...
Show error if image is greater than max prefetch size
2018-02-19 18:49:18 +02:00
Pavel Djundik
b82ceb162b
Merge pull request #2059 from thelounge/xpaw/motd
...
Render MOTD with a single message
2018-02-19 18:42:16 +02:00
Pavel Djundik
0044be266e
Merge pull request #1727 from thelounge/astorije/node-6
...
Switch to Node v6 as the minimal supported version
2018-02-19 18:41:23 +02:00
Pavel Djundik
558a6fba0a
Merge pull request #1915 from thelounge/xpaw/aria-tablist
...
Turn channel list into an accessible tablist
2018-02-19 18:33:28 +02:00
Jérémie Astori
416f45d1e3
Use some ES6/Node v4-only syntax when possible
2018-02-19 18:30:00 +02:00
Pavel Djundik
13a53706f0
Merge pull request #1760 from thelounge/astorije/rm-object.assign-polyfill
...
Get rid of `Object.assign` polyfill
2018-02-19 18:29:45 +02:00
Pavel Djundik
b57830b859
Sync network status and security to client UI
...
Co-Authored-By: Jérémie Astori <astorije@users.noreply.github.com>
2018-02-19 13:12:01 +02:00
Pavel Djundik
e448dc711c
Turn channel list into an accessible tablist
2018-02-18 09:58:44 +02:00
Pavel Djundik
d1e5a8f492
Render MOTD with a single message
2018-02-14 11:00:46 +02:00
Pavel Djundik
116a73c8d0
Remove actionTypes and check templates directly
2018-02-14 11:00:45 +02:00
Pavel Djundik
12bbaef4ab
Unbind image events after the image is loaded
2018-02-08 14:54:57 +02:00
Pavel Djundik
85cb039426
Still render link previews if image fails to load
2018-02-07 17:40:15 +02:00
Pavel Djundik
a9198b1cf6
Fix duplicate chat containers and unread markers when reconnecting
...
Fixes #1721
2018-02-06 11:10:11 +02:00
Pavel Djundik
60777b9b1f
Fix default theme not being correct
2018-02-04 19:54:07 +02:00
Pavel Djundik
51d5a4eff4
Fix #2028 - Messages are not condensed correctly
2018-02-03 10:43:39 +02:00
Jérémie Astori
91e3ca88bb
UI for "Image too large" errors
2018-02-01 21:14:37 -05:00
Pavel Djundik
6d6b5cb2a9
Remove deprecated jQuery calls
...
Fixes #2011
2018-02-01 12:15:51 +02:00