[Script] WME Fix UI v2.57 -- 2021-07-25

Welcome to WME FixUI. This script is designed to overcome limitations and design flaws in the UI (user interface) of the Waze Map Editor. In particular, the aim is to improve usability of WME for users with smaller laptop screens, or who are struggling with low contrast.

Below is an angry rant explaining what I think of the WME developers and why I started this script. Reading it is not essential to using the script! :lol:
[hide]As a Waze editor, you are an unpaid volunteer. You work for Waze for nothing and your working environment is WME - the Waze Map Editor. The people who provide this environment treat us with contempt. :evil:

For many years it’s been obvious that the WME developers never use WME. They design the interface on lovely, big monitors, properly mounted on desks and in first-class condition, whilst utterly ignoring the conditions most of us are working with: the most-used screen size - as measured by global web site visitors - is 1366x768. The result is unfortunate for us: lots of wasted whitespace. The most obvious and annoying example has always been the left-hand panel where the segment details are shown: if your screen is anything less than full HD resolution, you will be constantly scrolling to see all the details.

But what’s worse than the bad design are the pointless changes they sometimes make to WME for no good reason. Remember I described WME as your working environment? Imagine one day you come to work and sit down at your desk - and someone has decided to alter your monitor height and fix it in a position that’s comfortable for them, but not you. Or they’ve glued the keyboard to the desk in their preferred position. Or they’ve changed your favourite mouse for a trackball. You might be able to get used to these changes, but it will always take you time and you may never work as well as you used to.

The straw that broke the camel’s back for me came in May 2016. Waze moved the zoom bar from the right side of the screen to the left - for no reason they have EVER explained. So I decided it was time to use my long-rusty programming skills and give something back to the community. The script rapidly grew from there as I worked on improving the WME UI for myself and other people made requests - and as Waze continued to screw up the interface with things like the new layers menu.

Then, in 2017, Waze announced they were going to completely re-design WME. Staff promised us that feedback from users would be taken into account. In October they released the new WME design to beta testers - and it was a direct slap in the face! Apart from incorporating a couple of ideas from WME Clicksaver, the new UI was good-looking, consistent - and a quantum leap backwards in usability. The V2 interface wasted, if anything, slightly more space than V1, whilst also eliminating nearly all contrast from the UI. Buttons lost their button appearance, whilst some menus were now styled as buttons. AND THEY MOVED THE ZOOM CONTROL AGAIN AND REMOVED THE SLIDER! It is awful - and whilst beta testers were still identifying new problems with the V2 interface, Waze released it without warning to production! It took me nearly 2 months to re-write just about every part of this script, to make old features work again and deal with the new screwups.

When they announced they were working on the new design, I foolishly expressed the hope this script would become redundant. Instead it’s more necessary than ever. :cry:[/hide]WME FixUI is designed only to work with the WME UI. It has been designed to have minimal performance impact on WME. It doesn’t load any 3rd-party frameworks and it doesn’t do any work in the background. Most of the changes it makes are performed by adding CSS information to the page to alter the appearance and for most of the options, the script performs no action except when you change one of the options.

Whilst there have been scripts in the past (WME Maximized, WME UI Bugs) that alter the WME UI, they were just big blocks - either on or off. WME FixUI is designed to present a range of individual options that can be turned on or off - and when they are off they should have no effect on WME at all.

Version 2 of the WME user interface, released in October 2017, was a massive step backwards in usability with an extreme reduction in contrast. That led to version 2 of this script with variable contrast and compression enhancement. Prior to that, the options were simply on or off. Now, as well as controlling which improvements are active, you can independently control the degree of compression and contrast improvement each option applies.

The most common screen size is 1366x768, but some netbooks may be as small as 1024x600. At maximum compression, this script should make WME usable on a netbook. The image below shows the difference between standard WME and fully-compressed on such a screen when the layers menu, chat window and a UR panel are all open whilst a segment is selected:
WME.gif
This script is called WME Fix UI, or WMEFU for short. If you think that is open to mis-interpretation, you’re wrong. The interpretation is completely correct: it’s what I feel like saying to those in charge of the WME UI. :twisted:

The following options are available:

  • These are simple on/off options:

  • Move the Zoom control back to the top left and restore full functionality. This also adds a zoom level indicator with mousover information about what can be selected.

  • Expand External Providers details for places.

  • Move Chat icon & panel back to the right.

  • Highlight Invisible mode.

  • Permalink Checker. When WME is opened, a button in the toolbar will show the number of segments/places/nodes/comments/cameras in the URL. You can compare to the number of objects actually selected to spot discrepancies. Clicking the button will attempt to re-select all objects in the URL.

  • Show all options in the Layers menu.

  • Darken the screen overlay that appears when saving.

  • Move the GPS layer below the Segments layer.

  • Show map-blocking WME bugs. Highlight map areas blocked by WME bugs

  • Hide Links panel to give more space in the side-panel

  • Fix/disable Bridge button

  • Start calendars on Monday in Closures & Restrictions dialogues

  • ISO date format in Restrictions dialogue

  • Disable Kinetic Panning of map

  • Disable scroll-to-zoom

  • Disable map blocking during save

  • Change green turn arrows to blue - for colour-blind users

  • Hide toolbar menu labels - because the new WME toolbar design isn’t working well for small screens.

  • Move floating buttons from map area: Layers/Refresh buttons back into toolbar, Share button into footer.

  • Move User Info and Notification buttons - because settings & info buttons should be on the left with all the other settings - not lumped in with the editing controls.

  • Minimise GSV drag handle - change the drag handle for altering GSV width from a large, map-blocking element that’s easy to grab by mistake, to a small button.

  • Enlarge geo/junction nodes - Handy for people like me with ageing eyesight!

  • Enlarge geo handles - See above.

  • These options are affected by the variable compression/contrast controls:

  • Compress/enhance bars above the map. This also replaces text button labels with icons and incorrect icons with correct ones in the WME toolbar. The black bar that covers the top of the map is also made into a click-through element, so it doesn’t reduce editing space.

  • Compress/enhance side panel contents

  • Compress/enhance layers menu.

  • Two-column layers menu - only enabled if some compression is applied to the layers menu.

  • Compress/enhance report panels - UR and MP details.

  • Compress/enhance Chat panel.

  • Reduce width of side panel. You really need this for smaller screens, but it does have unavoidable minor problems with some of the buttons. It also has issues for some script tabs.

  • These are additional functions that don’t fit in the above categories:

  • Aerial Shifter. There used to be a standalone script, but it is no longer maintained. This allows you to shift the Aerials layer when the Google images don’t line up with GPS tracks. You can also reduce the opacity of the Aerials layer to help the segments stand out better.

  • GSV Image Adjust. You can control both the contrast and brightness of the GSV images - to deal with overly dull or bright images. You can also invert the images - sometimes helpful when looking for speed limit signs.

  • GSV Panel Default Width Control. With the GSV Adjust controls, you can now control the default width of the GSV image panel.

  • Minimise GSV drag handle from an invisible, map-blocking element to a visible control.

  • Warning highlight when Comments layer is disabled. It’s rarely wise to edit when you might miss a Map Comment concerning what you’re editing. And if you need to turn Comments off temporarily, it’s easy to forget to turn them back on. This non-optional function turns the tool bar orange/yellow whilst the Comments layer is off.

  • Show full timestamps for Last Edited & Created. Again, not an option: it’s always on.

  • Temporarily hide junction nodes - for when a point Map Comment/Place gets hidden under a junction node.

  • Panel Swap - allow access to other tabs whilst a map element is selected.

  • Control disabled WME warnings - adds a new section to the default WME settings tab that allows you to see warning pop-ups that have been disabled and re-enable them.

  • Disable turn arrow popups - because the new dialogue that pops up when you mouseover a turn arrow gets in the way and isn’t needed most of the time.

The script can be installed from the Greasy Fork Website. I have no plans to package it as a Chrome extension at this time. It is been tested in Chrome and Firefox, in the Beta editor and with RTL languages. Please report any problems.

Update history, known issues and roadmap are in the next post.

Notice: since Iain’s sad departure, future updates will be provided via a new script instead: WME Fix UI Memorial Edition

Known Issues

  • Creating the Zoom bar causes 3 errors in the Chrome console due to missing OpenLayers images. Again, not a problem - as soon as I create the bar, I remove the image references.

On the roadmap (in no particular order):

  • Work on closures tab
  • Format/mouseover for alternate place names
  • Look at more tweaks to increase overall map display
  • Infinite number of re-writes as I learn more about what I’m doing. See XKCD

Update History
v2.57 - 2021-07-25

  • Updates for background changes in WME map model

v2.56 - 2021-07-06

  • New Feature: Enlarge geo/junction nodes
  • New Feature: Enlarge geo handles
  • Minor fixes/changes

v2.55 - 2021-05-09

  • Adjustments for pointless changes made to WME toolbar
  • Fixed hiding of Headlights Required

v2.54.2 - 2021-04-11

  • Adjustments for new WME Presets script

v2.54.1 - 2021-02-28

  • Remove accidentally-released feature under test

v2.54 - 2021-02-25

  • Adjustments now the report panel bug introduced 23rd Feb has been fixed by Waze

v2.53 - 2021-02-25

  • Fixes for problematic changes in WME Production update 23rd Feb

vv2.52 - 2021-02-20

  • New feature: Auto-expanded element history items
  • Updates to GSV functions
  • Removed code to handle the old Event mode

v2.51.3 - 2020-12-15

  • Fix for layers menu with lots of added layers

v2.51.2 - 2020-12-09

  • Fix for moved Share button de-selecting segments

v2.51.1 - 2020-12-08

  • Minor fix for some WME pop-ups

v2.51 - 2020-12-03

  • Add names to Live Users and remove map-blocking
  • Update ‘Move User Info/Notification button’ to fix formatting
  • Update ‘Remove floating buttons’ for new Share button
  • Remove function to make future closure arrows grey - now native
  • Fix colour-blind arrows

v2.50 - 2020-10-24

  • Move new notification button away from edit controls

v2.49 - 2020-10-02

  • Prevent aerial/GSV controls making images disappear
  • Improved compression in side panel
  • Remove Headlights Required control for countries where it’s invalid

v2.48.2 - 2020-09-16

  • More (side-panel) fixes for UI changes in WME update 7th September 2020
  • Fix ‘Hide Links Panel’ function

v2.48.1 - 2020-09-09

  • More fixes for UI changes in WME update 7th September 2020

v2.48 - 2020-09-08

  • Initial fixes for UI changes in WME update 7th September 2020

v2.47 - 2020-08-05

  • Initial fixes for functions broken by WME update 5th August 2020

v2.46 - 2020-06-30

  • Workaround for disappearing Layers/Refresh buttons
  • Minor updates for WME back-end changes

v2.45.1 - 2020-04-19

  • Fix icons in new WME version
  • Bugfix for GSV border handle

v2.45 - 2020-02-12

  • Distinguish future closure arrows
  • Fix native WME bug - closed node icons hide junction nodes
  • Minor updates to deal with recent WME releases

v2.44 - 2020-01-19

  • Fix for Hide Links Panel function

v2.43 - 2020-01-14

  • Restored all the Chat-related code removed in v2.40

v2.42 - 2019-11-22

  • Permalink Checker can now reselect segments, places, nodes, map comments, cameras
  • Fixed Zoom Level Indicator in Zoom bar

v2.41 - 2019-11-20

  • Fixes/changes for WME version released 20th November
  • Removed fix for area comments covering places/segments

v2.40 - 2019-11-18

  • Remove all code for now-defunct Chat & Live Users
  • Permalink checker now handles Places
  • Resetting GSV width removes width remembered by WME Street View Availability

v2.39.1 - 2019-09-30

  • Re-implement fix for Map Comments covering segments/places

v2.39 - 2019-09-29

  • Pin layers menu function when using auto open/hide restored
  • Improvements to layers menu compression

v2.38 - 2019-09-27

  • Layers menu functions re-written following new WME version

v2.37 - 2019-09-07

  • New feature: Minimise GSV drag handle
  • Temporary fix for Map Comments covering segments
  • Other bugfixes/adjustments

v2.36 - 2019-09-01

  • Adjustments for new WME release - changed toolbar button layout

v2.35 - 2019-08-19

  • New feature: Control GSV Default Width
  • Tweaks & bugfixes for Layers mouseover & User Info

v2.34 - 2019-08-16

  • New feature: Move User Info button
  • Removed Feature: Hide User Info in sidepanel
  • Tweaks for Layers Menu mouseover
  • Various tweaks for latest WME Production release

v2.33 - 2019-08-11

  • Various minor improvements/tweaks

v2.32.1 - 2019-08-04

  • Minor bug fix

v2.32 - 2019-08-04

  • New feature: Move Layers/Refresh buttons back unto toolbar
  • Compression enhancements for toolbar

v2.31 - 2019-08-02

  • Move GSV/Location buttons with Zoom bar again
  • Extend Toolbar compression to floating buttons

v2.30 - 2019-07-24

  • Adjustments for new WME version

v2.29 - 2019-07-08

  • New feature: Hide toolbar menu labels
  • More adjustments for new WME toolbar

v2.28 - 2019-06-12

  • Intermediate fix for new Beta WME v2.34

v2.27 - 2019-05-17

  • New feature: Hide turn arrow popup dialogues
  • New feature: Change green turn arrows to blue for colour-blind users
  • Minor improvements/tweaks

v2.26 - 2019-02-26

  • New feature: Disable map blocking on save
  • New feature: Control disabled WME warnings
  • Bug fix: Fixed clash with WME Chat Addon
  • Removed feature: Fix bridge button no longer required

v2.25 - 2019-02-03

  • New feature: WME Permalink Checker completely replaced
  • Removed feature: Un-darken aerials no longer required

v2.24 - 2018-08-15

  • Second attempt at publishing 2.23 :oops:

v2.23 - 2018-08-15

  • Quick fix for new WME Save menu

v2.22 - 2018-05-28

  • New feature: WME Panel Swap function added to WME FixUI
  • Improvements to the Permalink Checker

v2.21 - 2018-05-12

  • Compression enhancements for Parking Lots

v2.20 - 2018-05-08

  • New feature: New warning for shifted aerials
  • New feature: Disable scroll-to-zoom
  • Bug fix: Fix text covering icon when a place has pending updates

v2.19 - 2018-04-26

  • Bug fix: Fix for moved map controls when GSV is open
  • Added Map controls to highlighted map blockers

v2.18 - 2018-04-25

  • New/old feature: Create zoom bar & move controls to top left
  • New feature: Disable Kinetic Panning of map
  • Updates for changes in latest WME production release

v2.17 - 2018-04-12

  • Removed feature: Hide ASC controls
  • Updates for WME changes currently in Beta

v2.16 - 2018-04-08

  • New feature: Temporarily hide junction nodes

v2.15 - 2018-03-28

  • Fix for ISO date format in Restrictions dialogue

v2.14 - 2018-03-27

  • New feature: Fix/disable Bridge button
  • New feature: Start calendars on Monday
  • New feature: ISO date format in Restrictions dialogue
  • Compression improvements for alt names

v2.13 - 2018-03-09

  • New: Highlight Invisible Mode
  • Hide Links in side panel now a separate option
  • Improvements to contrast in Feed panel
  • Minor tweaks to my tab UI

v2.12 - 2018-02-26

  • Updates for Beta WME changes - no impact on Production WME

v2.11 - 2018-01-28

  • New: Highlight map areas blocked by WME bugs
  • Removed: Fix GSV marker position - bug fixed by Waze
  • Bug fixes

v2.10 - 2018-01-02

  • New: Side-panel enhancements for Map Comments
  • New: Enhanced Feed Refresh button
  • Tweaks for WME Panel Swap
  • Make Map Comment text visible to all
  • Minor fixes

v2.9 - 2017-12-27

  • New feature: Fix GSV marker position

v2.8 - 2017-12-26

  • New feature: un-darken aerial images
  • Minor style improvements

v2.7.2 - 2017-12-08

  • Internal changes for move GPS layer below segments layer

v2.7.1 - 2017-12-06

  • Bug fix for move GPS layer below segments layer

v2.7 - 2017-12-06

  • Layer enhancements completely re-written for new WME UI
  • New feature: move GPS layer below segments layer
  • Improvements to side-panel compression
  • Side-panel adjustments for various scripts

v2.6.1 - 2017-11-29

  • Minor tweaks to Chat Enhancement
  • Minor bug fixes
  • Turn off Chat Enhancement when Chat UI Fix is detected

v2.6 - 2017-11-27

  • Completely new enhancements for Chat panel
  • Minor bug fixes

v2.5 - 2017-11-19

  • Compression/enhancement for UR/MP panel completely re-written for new WME UI
  • Narrow Side Panel completely re-written for new WME UI
  • Check for Chrome version <62 and warn user
  • Toolbar button replacement now more robust
  • Draggable UR/MP panel re-instated

v2.4.1 - 2017-11-13

  • Minor tweaks for the black bar above the map

v2.4 - 2017-11-12

  • Compression/enhancement for the top bars completely re-written
  • Recovery from WME units change and House Number mode implemented
  • Minor tweaks to side panel compression

v2.3 - 2017-11-08

  • The zoom bar is back, with permanent level indicator

v2.2 - 2017-11-03

  • Enhancements for Place details now updated for new UI
  • New feature to darken the map overlay that shows when saving
  • Minor tweaks to Segment details enhancments

v2.1 - 2017-10-28

  • Turn off non-WMEV2-compatible options during script update and warn when turning them on again:

  • Zoom level indicator

  • Shrink bars above map

  • Compress/enhance report panels

  • Reduce the width of the side panel

v2.0.1 - 2017-10-27

  • Restore “Fix external providers”

v2.0 - 2017-10-25

  • Beta removed as WME v2 is in production

  • New operation with variable & independent compression/contrast enhancements

  • Updated handling for Feed, Drives and Areas

  • Segment edit panel updates completed

  • Several features that are no longer needed removed:

  • Disable map blocking on save

  • Layers menu autohide

  • Make place address clickable

  • Fix external providers

v2.0beta2 - 2017-10-22

  • More changes for Beta WME only. Fix for settings saving problems.

v2.0beta1 - 2017-10-20

  • Changes for Beta WME only. No changes to production WME operation.

v1.12 - 2017-09-27

  • Fix for tabs in WME Beta editor

v1.11.5 - 2017-09-26

  • Fix for ‘more AMs’ dropdown in Beta
  • Formatting fix for buttons in WME Image Overlays

v1.11.4 - 2017-08-19

  • Fix for collapsed dropdown boxes on gas station brand and parking lot operator

v1.11.3 - 2017-08-16

  • Fix issues caused by change in default WME URL

v1.11.2 - 2017-03-30

  • Bug fix:

  • Fix for gap above layers menu when top bars are shrunk

  • Restore functionality to automatically enable “more options” in layers menu

  • Minor new feature:

  • Fix for bottom of sidebar not showing on Safari browser

v1.11.1 - 2017-03-19

  • Bug fix:

  • Fix for GSV panel width when side panel is narrowed

v1.11 - 2017-03-16

  • Feature Addition:

  • Auto-select More Options in Layers menu on page load

v1.10 - 2017-03-14

  • Feature Additions following new WME release:

  • Move the Chat icon back to the right

  • Make the new Layers menu auto show/hide

v1.9 - 2017-03-12

  • Feature Additions:

  • New Permalink checking function

  • Compress the Layers menu

  • Compression tweaks for Map comments and some features in Beta

  • Bug Fix:

  • Style tweak to fix interaction with WME GIS script

v1.8 - 2017-01-24

  • Feature Addition:

  • Make the entire Place address a click-to-edit link

v1.7.2 - 2017-01-22

  • Bug fix:

  • Added some error checking when trying to hide the “Chat is here!” message

v1.7.1 - 2017-01-16

  • Feature Addition:

  • Set the “Chat is here!” message to be hidden

v1.7 - 2017-01-15

  • Feature Addition:

  • Adjust brightness/contrast/colour of GSV images

v1.6.2 - 2017-01-14

  • Resolve timing issue with Keep My Layers script

v1.6.1 - 2016-12-31

  • Fix bug with Map Comments highlight that interfered with Feed item selection

v1.6 - 2016-12-31

  • Fix character counter in UR panels as per https://www.waze.com/forum/viewtopic.php?f=1525&t=213612
  • Compression tweaks to Feed tab, Drives tab, TBR dialogues
  • Time-date format fix left in deliberately to show time
  • Toolbar background goes orange if Map Comments layer is turned off
  • Modal popup dialogue on script update with brief update comments

v1.5.4 - 2016-11-21

  • Fix for missing UR dates when using UK English - a problem with WME, not my script! :wink:

v1.5.3 - 2016-11-21

  • Updated temporary date fix again to handle localisation issues and closures date format.

v1.5.2 - 2016-11-20

  • Updated temporary date fix to abbreviate month and show year.

v1.5.1 - 2016-11-20

v1.5 - 2016-07-26

  • Fixes:

  • “Hide average speed camera controls” now really fixed :lol:

  • Toolbar dropdown menu positions altered for when black bar is hidden

v1.4 - 2016-07-12

  • Feature Addition:

  • Highlighting on zoom level indicator

  • Fixes

  • Fix “Hide average speed camera controls” for WME updates

v1.3 - 2016-07-07

  • Feature Additions

  • Black bar above map now completely banished

  • Separate option to fix External Providers UI for places

  • Draggable UR/MP panel if WME Toolbox is installed

  • Minor tweak - shuffle toolbar buttons apart

v1.2 - 2016-07-03

  • Various additional tweaks - see the main release post for details
  • New internal mechanism for adding/removing changes

v1.1 - 2016-06-29

  • Feature Additions:

  • Zoom-level indicator

  • Aerial Shifter

  • Yet more tweaks to report panel (UR/MP)

  • Improved console logging

  • Bug fixes:

  • Average Speed Camera hiding for Beta Editor

v1.0 - 2016-06-22

  • Completely re-written initialisation routines

  • Feature additions:

  • Hide average speed camera section in segment details

v0.10 - 2016-06-17

  • Bug fix - improve code dealing with MTE to prevent issues in Firefox

v0.9 - 2016-06-16

  • Minor improvements:

  • Select Entire Street & House Number buttons on one line

  • Text on new coloured buttons changed to black for better contrast

  • Bug fixes:

  • Problem with window.resize method used to resize map area

  • Tab now re-created when exiting MTE mode

v0.8 - 2016-06-15

  • No new features, but code re-factored to use more reliable & consistent methods

  • Bug fixes

  • House number entry element no longer disappears when black bar is shrunken

  • Offset between mouse pointer and drawing position for geometry tools fixed

  • Segment unselectable on right of screen when side bar is narrowed - fixed

v0.7 - 2016-06-14

  • Feature additions:

  • Improvement to highlighting on address “button”

  • Improvement to UR panel, reducing margins to show more text

  • WME Keep My Layers button now moved above tabs when Hide User Info is active

  • Bug fixes:

  • Narrow Side Panel now works in RTL languages

  • WME Panel Swap buttons now properly moved above tabs when Hide User Info is active

v0.6 - 2016-06-11

  • Feature additions:

  • Disable map blocking after save

  • Narrow side panel from 330 to 250 pixels

  • Bug fixes:

  • Fix CSS leakage from yellow street name background

  • Fix WMEFP PM All button position in UR panel

v0.5 - 2016-06-08

  • Feature addition:

  • UI improvements for UR & MP panels

v0.4 - 2016-06-07

  • Improved compression on side panel

  • Bug Fixes

  • Inadvertent changes to UR dialogue

  • Move zoom bar now works with RTL languages

  • When shifting UR dialogue for zoom bar move, WMETB zoom level indicator is now accounted for

v0.3 - 2016-06-03

  • Feature additions:

  • hide user info

  • shrink black bar

  • compress side panel

v0.2 - 2016-05-30

  • First publication of the script

Version 0.2 (30th May 2016) is the first release of the script to the “public”. :smiley:

This introduces a means to move the Zoom control (along with the Street View and My Location buttons) back to the left-hand side of the editor window.

This will also move the WME Toolbox zoom-level indicator along with the zoom bar. It also, incidentally fixes a minor bug with that indicator: when you open Street View, the zoom bar moves to the left but the zoom-level indicator does not. I think that bug will be fixed in the next Toolbox version anyway.

Lastly, this option will also shuffle UR/MP panels to the right when the Zoom control is on the left, so they don’t cover it.

Thanks for this simple script, it’s nice to have the zoom bar back on the left side.
One little bug, when you activate the house number editor, the zoom bar does not move into the HN editor window, it remains where it was and gets half covered up.

Thanks. I was already starting to get used to right to left reading :smiley:

My first attempts to deal with this didn’t work. However, it isn’t too bad, so I’ve stuck a pin in this issue for now. Once I’ve had more practice, I’ll look at it again. :wink:

In the meantime, version 0.3 is now out! :mrgreen:

  • Hide user info in the side panel
    Yes - I know other scripts can do this, particularly WME Toolbox and URO+. But it’s a natural fit for a script that manipulates the UI, plus it gives me practice on the easy stuff as I learn. Plus, it means you don’t have to install those other scripts - although you are insane if you don’t anyway! :lol:
    I also noticed that hiding the user info puts the button for WME Panel Swap over the tabs - so I push that button up when the tabs are showing.
  • Shrink the black bar at the top of the map
    This bar was another gift to us from the Waze UI team. Nobody wanted it, it used up valuable map space and it interferes with at least one other script. :x I haven’t worked out how to banish it yet, but at least I can make it smaller. :slight_smile:
  • Compress the contents of the side panel
    This is a big one for me, and the main reason for this release. Even without extras like WME Speedhelper, the standard layout for segment details means that they won’t all show on my 1600x900 laptop screen. Anything up to a third of the information isn’t visible without scrolling and it’s a royal pain in the bum.
    This feature reduces font sizes, element heights and margins to vertically compress the segment details. It means that, for the first time in a long time, I can see who created a segment without scrolling - and even my rapidly-deteriorating eyesight can still read the text.SidePanelBeforeAfter.jpg
2 Likes

I also like the compressed side panel for the same reason as you, it now all fits on my screen without needing to scroll. Thanks!

Just what I was looking for, and I hadn’t even asked for them yet! w00t!

Good work, Iain!

Would you mind to try keeping most of your fixes user-selectable?

Sent from a touch display, which took care of perfectly scrambling my thoughts.

Looks like they are.

Iain, compressing makes Comments section in URs too small… could it be not minimised? :smiley:

That is one of the reasons for writing this script. WME Maximized had some of these UI alterations, but the whole thing is one monolithic block which is either active or not. This script is far more complex because I have provided a user interface to control the changes and all changes are reversible without re-loading the page.

Having said that, I still have to group the changes somewhat, otherwise my UI will rapidly become a mass of checkboxes. For example, “compress side panel” currently changes something like 20 CSS attributes. :slight_smile:

I can see that. :frowning: Very few elements in the WME UI have unique identifiers, so I’m modifying a lot of class-based CSS. Obviously the comment box shares a class with something in the side panel. Shouldn’t be too hard to fix. Re-formatting URs and MPs is on my roadmap already.

1 Like

Only “tested” this quickly in the Firebug console and in WME Production, so no guarantees it’ll work in Chrome or in WME Beta, or that it won’t royally bugger up another script along the way, but it may be helpful as a starting point… I’m sure there’s also a more elegant way to script the DOM node traversal from WazeMap in order to set all the parent element height styles, but I leave that as an exercise for the reader (as all the best sci/eng text books are legally obliged to mention at least once per chapter :smiley: )

document.getElementById("street-view-container").style.height="100%";
document.getElementById("street-view-container").childNodes[1].style.height="100%";
document.getElementById("WazeMap").style.height="100%";
document.getElementById("WazeMap").parentElement.style.height="100%";
document.getElementById("WazeMap").parentElement.parentElement.style.height="100%";
document.getElementById("WazeMap").parentElement.parentElement.parentElement.style.height="100%";
document.getElementById("WazeMap").parentElement.parentElement.parentElement.parentElement.style.height="100%";
document.getElementById("topbar-container").style.display="none";

Oh yes, and if there are any other generic UI tweaks you want to adopt from URO+ (e.g. background colour alteration), feel free to shamelessly rip the relevant parts of the code and reuse them as you see fit.

You may, or may not, also be interested in considering the effects of the following line of code…

document.getElementsByClassName('save-popover-container')[0].getElementsByClassName('close-popover')[0].click();

…particularly if you’re starting to get a tad irritated by the oh so cheery “Saved Successfully!” popup that blocks further editing for a few seconds after each save operation. I was planning to do something about this in the next URO+ release, but if you want to make use of it instead then be my guest.

@Twister-UK: Thanks for the code. I’m too tired to think tonight, but I’ll look at it over the weekend. Just a quick scan tells me I’m going to learn something already! I started this script as no more than ripping bits out of other scripts, Googling how to do extra things and masses of experimentation. It’s going to be quite a while before I’m anywhere near your level of expertise and by then, I’ll probably re-write all my early stuff. :lol:

And yes, I may well steal some generic UI tweaks. Things that generally affect the UI (like hiding the user info) make a good fit with this script, so I want to include the options - even if they are available in other scripts. Of course, the possible downside is that the rest of you will leave these fixes to me - and it will be my job to panic every time WME gets a new version. :stuck_out_tongue: But then I’ve watched the efforts you guys have put in for years when this happens. I don’t mind if it’s my turn.

Thanks for the script.
Thre are some issues for right-to-left interface, such as in Hebrew mode.
In Hebrew mode, the default location of the zoom bar is at the left side, and the UR dialog appears at the right side.

issue 1:
When FU script is enabled, the zoom bar moves to the left. The UR dialog is also on the left side, so, cannot use the zoom bar while UR dialog is open.
issue 2:
If selecting “Move zoom bar to left”, the bar moves to the left. the UR dialog also moves to the left. but almost all of it is now outside of the window and it hides the zoom bar. So, both the zoom bar and the UR dialog are inaccessible.

You aren’t kidding! God only knows what Waze have done here! :roll:

My script actually never does nothing to the zoom bar & UR box. It either sets the CSS to put them on the left or on the left. But in RTL mode, setting the UR box to position “left:70px” does, indeed, put it almost entirely off the LH side of the screen. I had to increase it to “left:370px” just to get it back again!

I don’t know whether this is because of how WME has been coded, or how my script is coded. To be honest, I had never even considered how it would operate with RTL mode. In the next version, if I can’t fix it, I’ll see if I can code an RTL check to disable the zoom bar moving.

By the way, there has been a lot of speculation as to why Waze decided to screw us all up by arbitrarily moving the zoom bar to the right. I’ve seen some comments about how it’s for parity with RTL languages because Waze is Israeli. I took those for jokes, but having seen the RTL interface, maybe they are not. It wouldn’t surprise me in the slightest to find that the Waze UI team decided to move the zoom bar because “that’s where we like it in RTL layout” - and a big middle finger to editors everywhere who don’t use RTL. :evil:

Please, can you enable me to remove the time lost when the save popup messagge stay in front of all and block me to continue editing?
In the last wme version, this time is increased :frowning:

Paolo

Pretty much every time something in WME gets changed, I get the feeling it’s due to someone in the WME dev team having what seems to them to be a “really great idea” and then refusing to acknowledge any criticism of said change, let alone accept that their idea might actually be, even just the tiniest bit, flawed. If there isn’t at least one big fan of Steve Jobs within the senior dev team, I’d be quite surprised - their approach to product development and user feedback management reminds me all too often of the way the Jobs-era Apple would behave. And I don’t mean that as a compliment…

RTL mode and the left/right offset values for absolute-positioned elements don’t appear to follow the usual rules of sanity or logic, and you’re therefore probably best off avoiding them entirely.

Note that the UR box is actually contained in its own element within panel-container, so a cleaner solution to moving the UR box appears to be to leave panel-container well alone and just manipulate the offset of the box element itself:

document.getElementById('panel-container').children[0].style.left="70px";

This also works on MP and PUR boxes too…