Commit graph

371 commits

Author SHA1 Message Date
Jérémie Astori 51bd46b871
Fix time placeholder showing on mobile format for condensed messages
As an extra, make sure time placeholder cannot be selected anymore, and do not do an extra call to `tz` helper when time is not relevant/displayed.

I tried to entirely remove `time`/`from` blocks, but because of flexbox layout, that broke message alignment...
2017-08-23 02:23:54 -04:00
Pavel Djundik 0ac3ba28e1 Web Push Notifications 2017-08-22 10:54:18 +03:00
Jérémie Astori e5ee53fc1f
Use leading-zero notation to get closer to stylelint standard config 2017-08-21 02:22:40 -04:00
Jérémie Astori 5d77bcb7c8
Use double-colon on pseudo elements to get closer to stylelint standard config 2017-08-21 02:18:33 -04:00
Jérémie Astori 270fd8d4f9 Fix expanded status messages not taking up full line width 2017-08-15 20:06:18 -04:00
Jérémie Astori 853e646670
Move condense caret to the right, animate transition, add hover state (with transition), reuse thumbnail toggle style 2017-08-13 16:16:38 -04:00
Jérémie Astori b508783101
Improve UI of expanded/condensed status message selection in client settings 2017-08-13 16:14:38 -04:00
Jérémie Astori 0cdc2a0a04
Replace status message abbr with a tooltipped icon 2017-08-13 16:14:37 -04:00
Alistair McKinlay 499dfdfe92
Condense Joins 2017-08-13 14:30:30 -04:00
Jérémie Astori 5b60bb0b0c
Remove background blur filter/transition when opening the image viewer 2017-07-24 02:31:12 -04:00
Jérémie Astori 2a81af6949 Merge pull request #1365 from thelounge/astorije/image-viewer-previous-next
Add Previous/Next cycling buttons to the image viewer
2017-07-24 01:47:53 -04:00
Jérémie Astori b9f17b77ab
Add Previous/Next cycling buttons to the image viewer 2017-07-23 13:14:27 -04:00
Pavel Djundik 52d85559aa Fix link previews not truncating correctly 2017-07-22 12:33:49 +03:00
Pavel Djundik 74ca130d51 Hide overflow on entire message row
Fixes #1360
2017-07-21 15:00:42 +03:00
Jérémie Astori 1c8ea0b75c
Fix preserved whitespace-related issues for previews by separating them from main text 2017-07-21 01:50:09 -04:00
Jan Visser f0e6e397a4 Correctly handle multiple successive whitespace characters 2017-07-18 16:54:35 +02:00
Jérémie Astori e5bace1794
Hide empty preview divs when there are no previews loaded 2017-07-18 00:37:45 -04:00
Jérémie Astori 511b173b6f
Add an image viewer for thumbnails and image previews 2017-07-16 19:25:48 -04:00
Jérémie Astori a010973766
Fix some button styling 2017-07-15 12:27:39 -04:00
Jérémie Astori 1110097664
Remove "in" transition on autocomplete items to fix a visual glitch on value refresh 2017-07-14 20:43:47 -04:00
Pavel Djundik 199bc459b4 Merge pull request #1303 from thelounge/astorije/multiple-previews
Support multiple previews per message
2017-07-09 18:29:31 +03:00
Jérémie Astori 7fb527847e
Fix missing transitions 2017-07-08 21:17:03 -04:00
Jérémie Astori 28200830ed
Move preview toggle buttons next to their respective URLs and switch from ellipsis to caret 2017-07-08 04:36:26 -04:00
Pavel Djundik c62bc2fa35 Do not truncate link previews if viewport can fit more text
Fixes #1084
2017-07-04 09:51:35 +03:00
Pavel Djundik 14b2ad7938 Refactor link previews 2017-07-03 00:41:18 +03:00
Pavel Djundik c9f63fc699 Merge pull request #1217 from MaxLeiter/patch-3
Fix MOTD underline in Safari
2017-06-24 12:19:14 +03:00
Max Leiter e76019b82c Fix MOTD underline in Safari
before: https://sr.ht/mdPx.png

after: https://sr.ht/h45R.png

Basically, safari's user agent CSS applies an underline to <abbr> tags, which bootstrap already does as well (but bootstrap doesn't use text-decoration so it's not overriden).
2017-06-23 14:30:08 -07:00
Pavel Djundik 25fefd5e54 Hide link time element on small devices 2017-06-23 20:51:36 +03:00
Jérémie Astori 358852cecb Merge pull request #1253 from thelounge/xpaw/nick-fade-pos
Fix nick fade positioning
2017-06-23 02:02:43 -04:00
Pavel Djundik 714580e94a Fix nick fade positioning 2017-06-22 22:05:13 +03:00
Pavel Djundik 138111b16e Use stylelint-config-standard 2017-06-22 11:23:50 +03:00
Jérémie Astori ead4a7f791 Merge pull request #1233 from thelounge/xPaw/user-select
Make everything unselectable by default
2017-06-20 23:38:17 -04:00
Pavel Djundik 2091a5b41b Merge pull request #1120 from thelounge/xpaw/scroll-perf
Include trickery to reduce paints and improve performance
2017-06-20 13:18:06 +03:00
Pavel Djundik 04c67de1af Merge pull request #1158 from bews/bews/dev-10-usercut
Fade out for long usernames.
2017-06-20 13:15:43 +03:00
Pavel Djundik ef5b0d9e16 Make everything unselectable by default 2017-06-16 18:59:06 +03:00
Niko Bews fd983a7f6b Show seconds in timestamp 2017-06-10 14:53:15 +03:00
Pavel Djundik 518160a1fa
Include trickery to reduce paints and improve performance
Fixes #1083.
Fixes #1071.
2017-06-09 23:19:59 -04:00
Niko Bews 035d10005a Fade out for long usernames. 2017-05-11 03:37:11 +03:00
Jérémie Astori 0981605fae
Add autocomplete strategy for background colors 2017-05-01 02:49:35 +02:00
Pavel Djundik a3810dea06 Fix chat layout on small devices when users list is hidden
Fixes #1092
2017-04-28 21:58:00 +03:00
Jérémie Astori 927c40739e Fix network layout displaying the scrollbar incorrectly
This was introduced by https://github.com/thelounge/lounge/pull/856/files#diff-97db1f70168fb5f12457b238ff6052b5R773 (and L794-798): a right position got introduced for all channel containers, but default position for other types of containers was absent before this script.
2017-04-26 23:30:51 +02:00
Pavel Djundik 586dde7761 Merge pull request #856 from thelounge/astorije/fuzzy-match-user-list
Implement fuzzy-matching for the user list
2017-04-26 12:57:06 +03:00
Pavel Djundik dd5e50fc68 Merge pull request #1062 from thelounge/remove-cycle-nicks
Remove cycle nicks button
2017-04-26 11:41:51 +03:00
Jérémie Astori e000ba45df
Improve details of emoji/chan/nick/command autocompletion
- Make dropdown items match context menu items
- Disable transparency on dropdown item links
- Clean up help page additions
- Better align help page autocompletion characters
- Use ES6 features (`const`, arrow functions, method definition shorthands)
- Use `Array#filter` instead of `$.map`
- Do not display `@` in nick completion *when* only one `@` is used (to be less confusing and more consistent)
2017-04-26 13:58:43 +05:30
Yash Srivastav 785842cde5
Add emoji/nick/commands/chan autocomplete 2017-04-26 13:58:36 +05:30
Pavel Djundik c583d6edf9 Correctly update user list and search filtering on user updates 2017-04-23 18:18:56 -04:00
Pavel Djundik b1e9a7ffda Use separate container for search results 2017-04-23 18:18:56 -04:00
Pavel Djundik 98e3bd0ca2 Merge pull request #1054 from thelounge/astorije/friendly-date-marker
Use moment on the client to display friendly dates
2017-04-23 10:24:21 +03:00
Alistair McKinlay 1e504f4383 Add support for banlist messages 2017-04-22 13:51:28 +01:00
Jérémie Astori 648cfd12db Use moment on the client to display friendly dates
Also, unread and date markers are now half-transparent based on their colors and not parent opacity. This is necessary to display a non-translucide tooltip.
2017-04-22 00:38:19 -04:00