Pavel Djundik
bf2a80a7b5
Count quits as parts in condensed messages to reduce information density
...
See https://github.com/thelounge/thelounge/pull/2383#discussion_r183915328 for discussion
2018-04-25 21:08:06 -04:00
Pavel Djundik
f6b7ce7383
Fix your own nick in auto completion
2018-04-23 15:34:22 +03:00
Jérémie Astori
ccb01d964c
Merge pull request #2355 from Jay2k1/Jay2k1-opvoice
...
Add 'op' and 'voice' user context menu items
2018-04-21 22:12:41 +02:00
Jay2k1
808b2b249b
add 'op' and 'voice' context menu entries
2018-04-21 00:53:59 +02:00
Jérémie Astori
1762db8bd4
Make "Show older messages" style consistent with other buttons
...
Also store the loading text in a `data` attribute instead of duplicate in template + JS, in order to help with future internationalization
2018-04-18 00:12:24 +02:00
Jérémie Astori
31646f2a28
Merge pull request #2337 from thelounge/xpaw/remove-nick-edit
...
Remove nick editor
2018-04-16 19:53:17 +02:00
Pavel Djundik
73b1124dce
Fix nicks with special characters being colored incorrectly in messages
...
Fixes #2362
2018-04-16 14:45:08 +03:00
Pavel Djundik
a392a08c7a
Remove nick editor
2018-04-15 22:17:30 +03:00
Pavel Djundik
f86d73972d
Implement network editing UI and object updating
2018-04-12 10:38:35 +03:00
Jérémie Astori
b08b23d59e
Merge pull request #2328 from thelounge/astorije/local-themes
...
Local themes
2018-04-12 00:23:11 -04:00
Jérémie Astori
39ca8f74ae
Merge pull request #2272 from thelounge/astorije/improve-previews
...
Improve UI of previews
2018-04-12 00:21:38 -04:00
Jérémie Astori
6f3c88663a
Merge pull request #2317 from creesch/syncDefault
...
Enable sync on empty localstorage, force sync, sync on both load and reconnect.
2018-04-11 01:30:03 -04:00
Jérémie Astori
bb16b3e30b
Simplify showing/hiding "More" button of a new preview on active channel
2018-04-09 21:39:41 -04:00
Jérémie Astori
d55420faae
Bind a single resize event, debounced, instead of one handler per preview
2018-04-09 21:39:41 -04:00
Jérémie Astori
ac02bd370b
Do not compute preview "More" buttons on mobile
2018-04-09 21:39:40 -04:00
Jérémie Astori
dbabdd83dc
Lighten the "More" button handler when checks are not necessary
2018-04-09 21:39:40 -04:00
Jérémie Astori
8d255fc331
Only bind preview "More" buttons on link previews
2018-04-09 21:39:40 -04:00
Jérémie Astori
1ccdeb015c
Trigger the correct event directly instead of resize when opening/closing a menu
2018-04-09 21:39:39 -04:00
Jérémie Astori
53a2101de3
Make sure preview "More" button computation does nothing when preview is collapsed
2018-04-09 21:39:39 -04:00
Jérémie Astori
5bff07f6f6
Fix handling preview More buttons on inactive channels
2018-04-09 21:39:38 -04:00
Jérémie Astori
527cac4c75
Debounce resize event to avoid performance bottleneck
2018-04-09 21:39:38 -04:00
Jérémie Astori
7355db94d6
Improve UI of previews
...
- Remove margins around thumbnails and images, increase radius, etc. for a fresher look overall
- Increase preview body contrast just enough to pass AA standards
- Add a `More`/`Less` button to expand previews that take more than one line. Button is added only when necessary
- Use a zoom-in cursor on hover for thumbnails
- Improve preview message errors
2018-04-09 21:39:38 -04:00
Jérémie Astori
62fb5524ae
Switch client to default theme when it is using a theme that has been removed
2018-04-02 23:51:59 -04:00
creesch
63c84cd362
Don't use event delegation for sync button
2018-03-31 22:28:39 +02:00
Jérémie Astori
7591088982
Merge pull request #2290 from lol768/feature/join-alias-query-param
...
Add ?channels=x,y,z alias for ?join=x,y,z
2018-03-31 14:05:25 -04:00
creesch
95dc519019
Sync on both load and reconnect.
2018-03-30 09:49:02 +02:00
creesch
107749e91a
Enable sync on empty localstorage
2018-03-30 09:46:59 +02:00
creesch
e967859d5f
Force sync button
2018-03-30 09:32:20 +02:00
Jérémie Astori
09a6c8b067
Fix autocomplete selection when hitting Enter
2018-03-29 22:04:08 -04:00
Jérémie Astori
fe08547d6b
Merge pull request #2289 from lol768/master
...
Add auto-prepend behaviour for unprefixed channel names
2018-03-29 01:19:45 -04:00
Al McKinlay
ce08201d13
Merge pull request #1878 from thelounge/yamanickill/refactor-context-menu
...
Pull context menu code out of lounge.js and make it more generic
2018-03-29 06:04:24 +01:00
Jérémie Astori
7d057a9ca7
Fix bug preventing to click on channels/queries
...
This bug is present both in channel list, #channel in messages, etc.
2018-03-27 19:28:20 -04:00
Al McKinlay
edba18375f
Merge pull request #2286 from thelounge/xpaw/input-history
...
Reimplement input history
2018-03-27 17:38:49 +01:00
Pavel Djundik
a2440e665f
Do not close sidebar when collapsing networks
...
Fixes #2293
2018-03-27 12:07:19 +03:00
Pavel Djundik
3aea9d34e9
Reimplement input history
2018-03-26 11:23:10 +03:00
Al McKinlay
1dc356a8f2
Pull context menu code out of lounge.js and make it more generic
...
Add separate call for divider in context menu factory
2018-03-26 09:08:43 +01:00
Adam Williams
25dee77600
Add auto-prepend behaviour for unprefixed channels
...
This change adds behaviour to automatically prefix channel names passed in via the "?join=x,y,z" query string/search parameter which do not appear to include an appropriate channel symbol.
2018-03-24 22:17:32 +00:00
Adam Williams
950bad1d7a
Add ?channels=x,y,z alias for ?join=x,y,z
...
For backwards compat. with Iris and other systems.
2018-03-24 16:54:26 +00:00
Jérémie Astori
13768a7d28
Merge pull request #2285 from thelounge/xpaw/consistent-as-needed
...
quote-props: consistent-as-needed
2018-03-24 02:29:13 -04:00
Pavel Djundik
beb2af73b7
Merge pull request #2284 from thelounge/xpaw/fix-2209
...
Hide autocompletion menu when input is submitted
2018-03-23 22:40:59 +03:00
Pavel Djundik
f82edcd7e7
quote-props: consistent-as-needed
2018-03-23 16:15:59 +02:00
Pavel Djundik
3886c2a82f
Hide autocompletion menu when input is submitted
...
Fixes #2209
2018-03-23 12:20:53 +03:00
Pavel Djundik
051f6c5a7f
Autocomplete bracket and quote characters like in a modern IDE
2018-03-23 12:03:36 +03:00
Pavel Djundik
6f47a78afd
Unfocus input on touch devices to close the keyboard
...
Fixes #2257
2018-03-22 12:47:15 +02:00
Pavel Djundik
0be544676b
Do not condense actions that are performed or related to the user
2018-03-21 14:48:07 +02:00
Jérémie Astori
dbe81f1e59
Merge pull request #2254 from thelounge/astorije/sign-out-settings
...
Empty local storage on sign out and move the sign out button to the settings
2018-03-20 21:06:44 -04:00
Pavel Djundik
528d2b5fb7
Scroll channel list only when using keybinds
2018-03-20 19:27:07 -04:00
Jérémie Astori
d7d8a51332
Merge pull request #2262 from realies/master
...
stop propagation, prevent input history call when alt is involved
2018-03-20 19:23:22 -04:00
realies
72af0a4947
stop propagation, prevent input history call when alt is involved
2018-03-20 21:00:03 +02:00
Pavel Djundik
3c1db1d7d6
Bind formatting hotkeys on input element
...
And bind only one event for all of the hotkeys
2018-03-20 20:57:19 +02:00