Advanced settings on grid view
Configure the maximum number of cards for background loading of card popups in the grid view
Before 2.3.1, Mingle loaded all card popup data in the grid view in the background. Therefore, if you had a lot of cards in the grid view, you may have experienced slowness while the card popup data was loading. To achieve better performance Mingle now only loads the card popup data if there are 100 cards or less in the grid view. If there are more than 100 cards in the grid view, we do not pre-load the card popup data. The number of cards in the view that will limit background card popup loading is configurable.
To change the limit:
- Identify the directory where Mingle 2.3.1 is installed
- Go to /config/initializers/
- Open the grid_view.rb file
MAX_CARD_POPUPS=100
MAX_GRID_VIEW_SIZE=200
The value for MAX_CARD_POPUPS represents the maximum number of cards in the grid view that will allow background card popup loading. You can change this number to alter when card popup data will be loaded. To see the effect of this change you will need to restart the Mingle server.
Configure the maximum number of cards before a warning appears on the grid view
The capability of the system to load cards in the grid varies. Mingle 2.3.1 provides an informative message when this view has more than the ideal number of visible cards. The default number of cards is set to 200 which is the average maximum number of cards that many systems can bear. This number is however, configurable.
To change the limit:
- Identify the directory where Mingle 2.3.1 is installed
- Go to /config/initializers/
- Open the grid_view.rb file
MAX_CARD_POPUPS=100 MAX_GRID_VIEW_SIZE=200
The value for MAX_GRID_VIEW_SIZE represents the maximum number of visible cards that the grid view can load without causing any system slowdown. If you have more visible cards than indicated by the MAX_GRID_VIEW_SIZE, then the warning message will be displayed to inform users of possible system slowness. To see the effect after reconfiguring the maximum number of cards you need to restart the Mingle server.
We highly recommend that you DO NOT increase the MAX_GRID_VIEW_SIZE. We only expect this limit to be decreased, if necessary, as there may be systems that cannot handle even the average number of 200 cards.
Configuring the MAX_GRID_VIEW_SIZE will have the same effect on the tree view as well as the grid view.
If a card is part of a grid lane which is not visible in the current grid or it's parent node is collapsed in tree view, then this is not a visible card and does not count towards the MAX_GRID_VIEW_SIZE.