{ "id": "153079", "key": "ALOY-1729", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-11-13T14:40:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "griffin-app" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-04-06T13:28:20.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "When creating a widget it is common to have more than one view, style, controller set. Given the nature of a widget the elements would share a common style. However there is no current way to define a \"widget wide\" tss file as there is with the \"app wide\" app.tss file.\r\n\r\nThis means that the author has two choose between two poor coding techniques;\r\n\r\n- Duplicate the common styles for each tss file within the widget\r\n- Pollute the app.tss solely for the benefit of the widget/\r\n\r\nThis reduces the ability for a widget to fulfil the part of its original goal which was to be DRY and re-usable. The above problem highlights the lack or restrictions of re-usability.", "attachment": [], "flagged": false, "summary": "Add a \"widget wide\" tss file that serves as the base for the widget (think app.tss for app wide)", "creator": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "core13", "key": "core13", "displayName": "Malcolm Hollingsworth", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "370203", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "I've run in to this all the time and have had customers mention this as well. This is a necessary feature from POV.", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-11-13T14:47:02.000+0000", "updated": "2015-11-13T14:47:02.000+0000" }, { "id": "370694", "author": { "name": "joshuajensen", "key": "joshuajensen", "displayName": "Josh Jensen", "active": true, "timeZone": "America/New_York" }, "body": "+1 - I agree with Rick, this would be a great feature.", "updateAuthor": { "name": "joshuajensen", "key": "joshuajensen", "displayName": "Josh Jensen", "active": true, "timeZone": "America/New_York" }, "created": "2015-11-18T15:41:25.000+0000", "updated": "2015-11-18T15:42:24.000+0000" }, { "id": "454948", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Is there another way to have widget-wide styles that has been implemented already? cc: [~amukherjee] [~eharris]", "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-04-02T16:50:56.000+0000", "updated": "2020-04-02T16:50:56.000+0000" }, { "id": "454980", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This isn't supported to my knowledge (and I can't find any other tickets referencing this). It does totally seem useful to me, but I think we'd have to be careful on how this is implemented as no doubt whichever road which pick will break someone", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-04-06T12:17:41.000+0000", "updated": "2020-04-06T12:17:41.000+0000" }, { "id": "454981", "author": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "updateAuthor": { "name": "bhouse", "key": "bhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2020-04-06T13:28:20.000+0000", "updated": "2020-04-06T13:28:20.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }