[Bug 1355901] Re: Empty cards attributes are ignored
** Changed in: unity8 (Ubuntu) Importance: Undecided => High ** Changed in: unity8 (Ubuntu) Assignee: (unassigned) => Michał Sawicz (saviq) ** No longer affects: unity8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
I needed to have a second attribute display on a new line so I added the center tuple (with Value as empty string) and the result was that only first attribute displays instead of the final attribute (time_s) displaying on a new line as I wanted: us::VariantBuilder attrs; attrs.add_tuple({ {value, us::Variant(date_s.toStdString())} }); attrs.add_tuple({ {value, us::Variant()} }); attrs.add_tuple({ {value, us::Variant(time_s.toStdString())} }); res[attributes] = attrs.end() phablet@ubuntu-phablet:/tmp$ apt-cache policy libunity-scopes3 libunity-scopes3: Installed: 0.6.4+14.10.20140828.1-0ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
learned on irc one needs to have declare the attributes like this: attributes: {field: attributes, max-count: 4}, And then have a tuple with an empty Value key to act I guess like a newline, like this, which works: us::VariantBuilder attrs; attrs.add_tuple({ {value, us::Variant(date_s.toStdString())} }); attrs.add_tuple({ {value, us::Variant()} }); attrs.add_tuple({ {value, us::Variant(time_s.toStdString())} }); attrs.add_tuple({ {value, us::Variant()} }); res[attributes] = attrs.end() -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
** Changed in: unity8 Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
This bug was fixed in the package unity8 - 8.00+14.10.20140827.2-0ubuntu1 --- unity8 (8.00+14.10.20140827.2-0ubuntu1) 14.09; urgency=low [ Michał Sawicz ] * Implement scope header customization options * Don't ignore empty attributes in CardAttributes.qml and improve its encapsulation (LP: #1355901) * Add support for preview button color customization. Deprecate support for action icons. * Add table preview widget * Make See Less get stuck at the bottom of the view * Support alternative navigation in the dash. * Add scope settings UI * Add scope favoriting support * Passcode, not PIN (LP: #1361114) [ Jussi Pakkanen ] * Use nullptr instead of NULL. [ Albert Astals ] * Add table preview widget * Make See Less get stuck at the bottom of the view * Support alternative navigation in the dash. * Make the PageHeaderLabelTest pass under valgrind [ Benjamin Zeller ] * Add support for scope:// url in the dash (LP: #1361349) [ Marcus Tomlinson ] * Handle the openScope signal in tempScopeItem (ScopesOverview.qml) as is done with scopeItem (Dash.qml) (LP: #1356410) [ Daniel d'Andrada ] * Make See Less get stuck at the bottom of the view [ Andrea Cimitan ] * Fix right padding on overlay card * Add scope settings UI [ Michael Zanetti ] * use a smaller asset for the app's dropshadow (LP: #1359157) -- Ubuntu daily release ps-jenk...@lists.canonical.com Wed, 27 Aug 2014 15:37:05 + ** Changed in: unity8 (Ubuntu RTM) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
** Changed in: unity8 (Ubuntu) Status: New = In Progress ** Also affects: unity8 (Ubuntu RTM) Importance: Undecided Status: New ** Changed in: unity8 (Ubuntu RTM) Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
** Branch linked: lp:ubuntu/utopic-proposed/unity8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
This bug was fixed in the package unity8 - 8.00+14.10.20140827.2-0ubuntu1 --- unity8 (8.00+14.10.20140827.2-0ubuntu1) utopic; urgency=low [ Michał Sawicz ] * Implement scope header customization options * Don't ignore empty attributes in CardAttributes.qml and improve its encapsulation (LP: #1355901) * Add support for preview button color customization. Deprecate support for action icons. * Add table preview widget * Make See Less get stuck at the bottom of the view * Support alternative navigation in the dash. * Add scope settings UI * Add scope favoriting support * Passcode, not PIN (LP: #1361114) [ Jussi Pakkanen ] * Use nullptr instead of NULL. [ Albert Astals ] * Add table preview widget * Make See Less get stuck at the bottom of the view * Support alternative navigation in the dash. * Make the PageHeaderLabelTest pass under valgrind [ Benjamin Zeller ] * Add support for scope:// url in the dash (LP: #1361349) [ Marcus Tomlinson ] * Handle the openScope signal in tempScopeItem (ScopesOverview.qml) as is done with scopeItem (Dash.qml) (LP: #1356410) [ Daniel d'Andrada ] * Make See Less get stuck at the bottom of the view [ Andrea Cimitan ] * Fix right padding on overlay card * Add scope settings UI [ Michael Zanetti ] * use a smaller asset for the app's dropshadow (LP: #1359157) -- Ubuntu daily release ps-jenk...@lists.canonical.com Wed, 27 Aug 2014 15:37:05 + ** Changed in: unity8 (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1355901] Re: Empty cards attributes are ignored
Works great, thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1355901 Title: Empty cards attributes are ignored To manage notifications about this bug go to: https://bugs.launchpad.net/unity-scopes-shell/+bug/1355901/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs