Release notes for Matrix 1.2

By Anton Babushkin posted on 16 Jul 2013

Selected items can be deselected

When a user viewed the ‘selected items’ using the ‘selected items’ tab, they couldn’t deselect them.

Syntax Highlighter saves all assets

Syntax Highlighter stopped some asset contents from being saved

The following assets were affected:

  • Asset builder layouts
  • Simple edit layouts

The fix included adding the ‘layout’ screen as a supported asset type.

Lock helper displays time remaining correctly

The lock helper showed the time left incorrectly when the lock length was set to 10 minutes, i.e. it showed there were only 60 seconds remaining when there were 10 minutes.

MyMatrix button stays highlighted in Firefox

When a user switched tabs in Firefox, the MyMatrix button would appear as though it had been deselected even though MyMatrix was still active.

The fix included adding a listener for the ‘myMatrix-HighlightButton’ event to the Firefox plugin core code.

Seamless save icon now in the right place

When the Save button wasn’t anchored to the bottom frame, the ‘saving’ icon and ‘saved icons’ still appeared anchored to the bottom. This looked strange.

The fix included removing "position: fixed" style and adding a "display: inline-block". We also changed the order of the div so it's always to the left of the commit button.

Lock Helper works in all versions of Matrix

This wasn't an issue with Matrix versions, but more the way the ‘warning’ and ‘critical’ classes were attached.

Lag removed when user switched tabs

When the user switched tabs the Matrix admin interface tab froze for about three seconds. The gBrowser load event would fire eight times and caused the TabSelect event to bind eight times. Every time a user switched tabs, the boostrap method would also be called eight times, causing a lag if there was a high-memory load.

We’re unsure why the gBrowser load event would bind so many times, but I’ve added a temporary work around with an ‘if’ condition to stop this happening.

Smart type selector has a search box

It was hard to find asset types not in the content document or file sections. The browser search feature can be used, but it would really need to be part of the widget itself for good usability practice.

Plugins load reliably

Sometimes some plugins didn't fully load. This caused the page to ‘error out’.

This happened on slow page loads. The objectHasLoaded function checks five times every 30 milliseconds to see if a plugin has loaded and then gives up if it hasn't. We increased this to 20 times every 100 milliseconds.

Cache buster needed for current assets

It's quite common that a user would:

  1. Edit a Standard Page / JavaScript / CSS asset;
  2. Navigate to Tools > Clear Matrix Cache and then clear the Matrix cache on that asset, and then
  3. Preview the page using those elements to see if everything works correctly.

This plugin combats this issue so the user can quickly clear the cache on an existing asset. Standard Page assets could also have a convenient ‘Preview’ button on top of the page (perhaps next to the Clear Cache button?).

The UI still needs to be worked out for this plugin. One for the new year.


Comments


There are currently no comments for this article. Why not be the first to post a comment?

Build your own search

By Ladoo posted on 20 Oct 2011

You can create your own personal Search Page to assist with locating and editing the content you look after. This can be especially helpful in larger systems where quick search becomes less accurate.

Output content to a file

By Ladoo posted on 17 Nov 2011

As well as HTML and text, Matrix can be configured to directly output XML, iCal, RTF and even Word and Excel documents, so that users can directly download and work with these files.

Squiz Matrix Keyboard Shortcuts

By Nathan Cram posted on 18 May 2009

Keyboard shortcuts can save you time when working in the administration interface by helping you quickly move around the asset map.

Unfolding the Asset Map

By Nathan Cram posted on 16 May 2009

The Asset Map shows the hierarchy of the assets that comprise your website and allows you to manage them.

Comment all you want

By Liam Coltman posted on 08 Sep 2011

Using a combination of an Asset Builder and an Asset Listing in Mysource Matrix can allow you to create a comment area in your website and can be used for blogs.

Sharing content

By Ladoo posted on 29 Apr 2012

An examination of the pros and cons of different sharing techniques within Squiz Matrix.

Use fewer design customisations

By Ladoo posted on 26 Jun 2012

Matrix Design and Design Customisations offer a great degree of flexibility in how an HTML design can be created and modified. They are so powerful in fact, they tend to be overused and can become real roadblocks for productivity when best practices for using Designs are not followed.

Hiding web paths

By Ladoo posted on 24 Jan 2012

If you have a group of assets that only exist for the purpose of appearing in a list, you ideally don't want these assets to be accessible to the public at all.

Matrix PHP API - Creating Standard Page Assets

By Anton Babushkin posted on 28 Feb 2011

Using the Matrix PHP API can allow you to do more than you previously would have thought possible. This article will teach you how to create Standard Page assets as well as give you some insight into when you could utilize the PHP API in the real world.

Pretty as a picture Image Gallery

By Liam Coltman posted on 13 Nov 2010

Image Galleries can help to add a bit of colour to your website. With a little bit of tinkering you can make an image gallery that will rival the Louvre

Paint Layouts

By Liam Coltman posted on 06 Mar 2010

The best way to think of a Paint Layout is a Design File for your page content.

Search

By Ladoo posted on 23 Feb 2012

Most content management systems only offer basic search functionality, and Matrix is no exception.

News delivered to your doorstep

By Liam Coltman posted on 10 Sep 2010

With users becoming more and more demanding on their news and website updates RSS provides the perfect option to keep readers up to date with what is happening on your site.

Dynamic Asset Listings

By Liam Coltman posted on 14 Aug 2010

Learn how to make you asset listings dynamic so they can be reused across multiple pages on your site

Trigger happy images

By Liam Coltman posted on 23 Aug 2010

Triggers are a very powerful feature in MySource Matrix. Learn how to set up a trigger to create image varieties