Sebastian Castro
b06324ad80
css: improve gritters
...
- have two containers, one of the top, on of the bottom;
- remove gritting chat message when opening the chat.
2020-04-19 03:03:44 +02:00
Sebastian Castro
3e12b6d132
chat: fix coloring with dark background, and scrolling chattext when new message come in
2020-04-19 03:03:44 +02:00
Sebastian Castro
cbc6304243
css: add chat animation on opening
2020-04-19 03:03:44 +02:00
Sebastian Castro
9497db89c9
css: fix popup broken by new animation
...
fix connectivity
fix chat and users
2020-04-19 03:03:44 +02:00
Sebastian Castro
a482a94fb8
css: improve gritter
...
- rename DOM wrapper because is was blacklisted by some ad blocker
- make the template and the lib to add gritter more simple (remove unused
option, make template simpler)
- add style for gritter error message
2020-04-19 03:03:44 +02:00
Sebastian Castro
5fd6aeeea6
css: refactor element positioning
...
No more javascript to change css properties
Remove a number of useless tables
Try to stop positioning elements with absolute, but use flex-boxes instead
Adds comment to pad template, and move popups and chatbox inside editorcontainerbox (so absolute positioning is straightforward)
Make the design more consistent: always use base color, font-family and font-size. USe relative font size if necessary (.9rem instead of 11px for example)
Remove two columns in the popups, just use one column
Remove css meant to support old browser (like -webkit-box-shadow, -moz-box-shadow). Those css rules are quite common now, and If we want to support very old browser, we should use clean-css or other tools to add them automatically
2020-04-19 03:03:44 +02:00
John McLear
25bf460ac6
chat: in addMessage(), be tolerant when userId is missing
...
For whatever reason (a bug, a database corruption, ...) the userId field in
"msg" can sometimes be missing.
In this case, let's be defensive, use "unknown" as userId and issue a warning
in the console, instead of crashing the client.
Fixes #3731 (really a patch, the underlying issue is still present)
2020-03-30 22:15:51 +02:00
Neil Oosten
7a999ee398
hooks: allow to set the duration of the gritter notification when a new chat message arrives
...
This is done adding a new "duration" parameter to the chatNewMessage() client
side hook.
2020-03-27 02:39:29 +01:00
muxator
dc7e49f89d
Remove trailing whitespaces
...
Hoping to minimize future diffs. Not touching vendorized libraries.
2019-04-16 00:34:29 +02:00
John McLear
c903cb3925
fix alt c and escape
2015-05-06 00:32:36 +01:00
John McLear
35948989b3
make Alt C and Alt F9 and Escape work from anywhere
2015-03-31 13:45:11 +01:00
John McLear
19e83d5405
much better chat focus toggle behavior
2015-03-26 16:58:13 +00:00
John McLear
428b547d24
alt c to focus on chat and gritter and chat both now work with aria
2015-03-26 16:44:22 +00:00
John McLear
b216f9271b
should be final logic for chatandusers
2015-02-09 19:11:35 +00:00
John McLear
5245d2b797
and even mroe polish
2015-02-09 18:36:11 +00:00
John McLear
8c6507e78c
more styling stuff
2015-02-09 18:01:45 +00:00
John McLear
7adcd5cba4
cleaner fix for queue issue
2015-02-08 14:34:48 +00:00
John McLear
1652ed42c5
fix scroll issue where focus is not well managed
...
remove console logs
2015-02-07 23:26:02 +00:00
John McLear
f3e5682a0f
fix issue with load of showuserandchat
2015-01-24 18:31:19 +00:00
John McLear
753e8fdf0b
working logic
2015-01-21 16:08:54 +00:00
John McLear
941cc3c24b
url param
2015-01-21 15:37:55 +00:00
John McLear
63c65f784b
semi working example
2015-01-19 01:45:49 +00:00
John McLear
74eca43965
Merge pull request #2014 from eyesonlyhack/closeExtendedChatWindow
...
Close extended chat window
2014-12-28 20:17:30 +01:00
Grant Woodford
17666eaef7
Changed to not use inline JavaScript
2013-12-15 12:02:43 +02:00
Luc Didry
3d8452b143
Replace tabs indentation with spaces indentation
...
Some files are obviously external libraries, I didn't touch them
2013-12-05 08:41:29 +01:00
Grant Woodford
d1367484e3
Added a way to closed the extended chat window
2013-11-28 21:53:00 +02:00
Grant Woodford
383a216a7d
Added a way to closed the extended chat window
2013-11-28 21:48:08 +02:00
John McLear
3be1ee5967
slightly cleaner
2013-11-25 17:36:24 +00:00
John McLear
252be19885
make sticky chat mroe responsive to changes in top bar
2013-11-25 17:33:33 +00:00
j@mailb.org
a554552bed
Simpify CSS for sticky chat
2013-06-17 14:47:28 +02:00
Marcel Klehr
bcb92f25a6
Refactor chat notifications and the chatNewMessage hook
2013-03-19 20:21:27 +01:00
John McLear
7741f762e2
hook for chat msg
2013-03-19 02:21:53 +00:00
John McLear
babb33d825
add authorId to chat and userlist, possibly privacy/security issue?
2013-03-13 21:55:29 +01:00
John McLear
5b285e2ffa
Merge pull request #1430 from mluto/notification-on-startup
...
Don't show notifications when loading the chat-messages.
2013-01-30 06:33:47 -08:00
mluto
b5eeeb7dc2
Don't show notifications when loading the chat-messages.
2013-01-30 12:16:32 +01:00
John McLear
daaa650a1b
remove message about requiring comments
2013-01-29 12:15:11 +00:00
John McLear
a7361f5ce0
make tinycon update on all chat messages not just ones that mention your name
2013-01-29 12:09:16 +00:00
John McLear
1c7810783c
gritter now implemented
2013-01-29 01:55:36 +00:00
mluto
e31b9fd1bd
IE8 does not have a string.trim()-function, so use regex..
2013-01-16 18:48:25 +01:00
John McLear
bb9097e528
Merge pull request #1355 from mluto/chat-no-empty-line
...
prevent empty chat-messages from being sent
2013-01-14 14:25:46 -08:00
mluto
77401f2759
prevent empty chat-messages from being sent
2013-01-14 17:11:56 +01:00
mluto
bc05f9eb0a
converted load-more-link to button, added loading-gif, fixed typo
2013-01-07 19:15:55 +01:00
mluto
825b258d99
only load 20 messages when pressing the load-link, fixed whitespace
2013-01-07 17:43:03 +01:00
mluto
5f81daed0a
Added link to load more chat-messages using new GET_CHAT_MESSAGES
2013-01-07 17:36:03 +01:00
mluto
5592c4b0fe
client loads messages using the new client loads messages using new method, getChatMessages restructured and renamed to getLastChatMessages, added GET_CHAT_MESSAGES, getChatMessages restructured and renamed to getLastChatMessages
2013-01-06 16:11:48 +01:00
Iván Eixarch
9f1872afc1
use properties notation
2012-12-09 08:56:58 +01:00
Iván Eixarch
b01903202c
Added new strings to translate for js files
2012-12-07 05:24:40 +01:00
John McLear
b4680e42d7
add a keystroke check for chat and make it so the chat listens on event 13 aswell as event 10
2012-10-28 17:38:56 +00:00
Chad Weider
03bcd07741
Use packaged version of Tinycon.
2012-09-09 18:18:59 -07:00
Marcel Klehr
dc9eda9364
Use Tinycon to display chat mentions in favicon.
2012-07-12 20:18:33 +02:00