Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Post Reply
Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

[Script] WME Chat Resizer and Auto Scroll

Post by rickzabel
WME Chat Resizer and Auto Scroll

https://greasyfork.org/en/scripts/6225- ... uto-scroll

New version
0.2.3 - I moved around the resizer header so that it is inside the existing header. also added mouse code to copy the Waze header. I shrunk the room title and jumper icons and text down a little bit, I also made the hidden user chats 35px wider. altogether this should look less goofy.

Currently for some and in the near future for the rest, the chat header had gotten to crowded. I think the best solution for everyone was to move the chat resize and auto scroll buttons into their own area. the message window height might be a bit off, but people are not talking at 1am to fill the chat so i will tweak it when I can.

This script has a handful of chat related features
1.) Removes the space on the right of the chat window.
2.) Has buttons to hide or show the user list.
3.) Has buttons to make the list taller or the normal height
4.) Per request there is now a button for a mini chat.
5.) Auto Scrolling of the chat. This can be found on the left of the chat’s text entry box there is a “v” for auto scroll and “-“ for disabled. When enabled it will force the chat to the bottom every 5 seconds.
6.) Auto Scroll’s on/off Status is saved and reapplied next time the map editor is loaded.


Some things you might notice!
To fit in the title bar I had to tweak some things
1.) I had to shrink down the chat room name, and the visible / invisible dropdown.
2.) For those who use chat jumper I also shrunk down “Jump” and the “X”.
3.) For those who use “Chat addon” I chose to put my buttons on the left of the chat addon’s settings icon. Users without chat addon will have an empty space where the settings icon would normally be.
4.) The mini chat buttons are only shown when the user list is shown.

Feedback and suggestions are welcome
Thanks
Rick Zabel
rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times

POSTER_ID:16988742

1

Send a message
Last edited by rickzabel on Thu Nov 27, 2014 6:28 am, edited 3 times in total.
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel

Post by ct13
Awesome job with this script! Thanks for putting in the hard work to maximize the usable space in WME.
ct13
US Waze Champs
US Waze Champs
Posts: 441
Has thanked: 144 times
Been thanked: 214 times
Send a message

Post by ct13
The auto-scroll button disappears when in invisible mode. Is there someplace else you can move it?
ct13
US Waze Champs
US Waze Champs
Posts: 441
Has thanked: 144 times
Been thanked: 214 times
Send a message


rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times
Send a message
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel

Post by rickzabel
I moved the auto scroll buttons into their own div so they show up when the editor has chat in invisible mode.
rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times
Send a message
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel

Post by rickzabel
vince1612

After a few hours of testing I do not think that my script is causing the problem. I believe this problem is being caused between the Chat Jumper and Chat Addon scripts. Since each of those scripts adds a jump icon to each user in the userlist who ever loads first seems to win.

To test I disabled all scripts except Chat Addon and Chat Jumper then I added code to each script so I could alternately delay the startup of chat Addon or Chat Jumper by 10 seconds.

I swapped the delay back and forth several times and reloaded the editor several times each way and the results are constant.

If Chat Addon loads first; when clicking in the user list the Chat Jumper buttons don’t show up.

If Chat Jumper loads first; when clicking in the user list the Chat Jumper buttons show up.

Try disabling Chat Addon and see if Jumper is still having issues

Thanks
rick zabel
rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times
Send a message
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel

Post by rickzabel
sketch wrote:Suggestion: Update the version number and changelog in the OP of this thread if you can.
Thanks
This is the first script i posted anywhere, usually the code i write ends up behind the scene. Do you want the full change log posted or just the last change or the last few changes with the oldest dropping off?
rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times
Send a message
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel

Post by rickzabel
New version
0.2.1

Currently for some and in the near future for the rest, the chat header had gotten to crowded. I think the best solution for everyone was to move the chat resize and auto scroll buttons into their own area. the message window height might be a bit off, but people are not talking at 1am to fill the chat so i will tweak it when I can.
rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times
Send a message
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel

Post by rickzabel
New version
0.2.2 - now that chat is going this morning i was able to fix the message list heights for all the different views
rickzabel
Map Editor - level 3
Map Editor - level 3
Posts: 222
Been thanked: 277 times
Send a message
https://www.waze.com/wiki/images/5/5a/W ... M_only.png
Chicago Illinois Suburbs , Main areas Downers Grove, Naperville, and Auroa
https://wiki.waze.com/wiki/User:Rickzabel