question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking issues in updating to v0.13.12

See original GitHub issue

After updating to v0.13.12 from v0.13.9 I got the following error: image

And the grid items were no longer “Gridster-esque” they had bullet points and listed down vertically.

Here is my HTML code:

<div gridster="gridOpts">
        <ul>
            <li data-gridster-item data-sizex="card.size.x" data-sizey="card.size.y" data-row="card.position[0]"
                data-col="card.position[1]"
                ng-repeat="card in cards track by card.name + $index">
                <div style="height: 100%;">
                    <section ng-switch on="card.type" style="height: 100%;">
                        <card-setup ng-switch-when="setup"></card-setup>
                        <card-boards ng-switch-when="boards"></card-boards>
                        <!-- A lot more cards below this -->
                    </section>
                </div>
            </li>
        </ul>
    </div>

Here are my gridOpts:

$scope.gridOpts = {
            draggable: {
                handle: '.card-header'
            },
            swapping: true,
            outerMargin: false,
            resizable: {
                enabled: true,
                handles: ['e', 's', 'w', 'se', 'sw']
            }
        };

        getGridOpts();

        function getGridOpts() {
            var layout = _.get($scope.panel, 'layout', 'vertical');

            if (layout == 'horizontal') {
                $scope.gridOpts.maxRows = 6;
                $scope.gridOpts.columns = $scope.cards.length + 1;
                $scope.gridOpts.colWidth = '370';

            } else {
                $scope.gridOpts.columns = 12;
            }
        }

Sample card item:

{  
    "name":"recentMail",
    "title":"Mail",
    "size":{  
        "x":6,
        "y":4
    },
    "type":"topContent",
    "properties":{  
        // content rendered
    }
}

Let me know if you need anymore information, thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
danomaticcommented, Jul 20, 2016

The change was actually unintentional and came with a PR. The author of the PR was fixing a warning about having “main” point to minified CSS. Latest release will address this by pointing to non-minified CSS in the dist directory.

1reaction
mtraynhamcommented, Jul 20, 2016

@danomatic Curious why you decided to change bower to point at the less file. Tools like wiredep, which is a bower bundler look at these main files and automatigically wires them up into the html page or minify thems into a single build, but it doesn’t perform transformations like Webpack would. Honestly, I’m not sure why people mark non-browser deployables in the bower main field, but even Bootstrap does this

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release of Daml SDK v0.13.12 - Digital Asset Blog
BREAKING : Drop support for legacy identifier. The previously deprecated field name in Identifier message is not supported anymore. Use module_name and ...
Read more >
Releases · kubernetes-sigs/kind - GitHub
v0.15.0 contains important fixes for cluster reboots and various other improvements. Breaking Changes. The default node image is a Kubernetes v1.25.0 ...
Read more >
Predecessor Patch v0.2
Hey everyone! Our first major update for Predecessor, Patch v0.2, is going live on Thursday the 15th of December 2022 and we wanted...
Read more >
mithril-materialized - npm Package Health Analysis | Snyk
Fixed a bug for TextInput , where sometimes the active class was not added even if the input element had a value. v0.9.10...
Read more >
Truck Overhaul | Update v0.6.2.0 - SteamDB
To keep you busy until the Custom Difficulty Update comes out (soonTM), ... If you experience any issues or want to give feedback, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found