Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1727] @import feature for Alloy TSS files

GitHub Issuen/a
TypeNew Feature
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsStyling
Labelsn/a
ReporterSebastian Klaus
AssigneeUnknown
Created2020-03-10T06:06:22.000+0000
Updated2020-03-10T18:31:05.000+0000

Description

To save codelines, I would appreciate to have the possibility to include parent TSS files. With this function, you can prevent a complete blown up app.tss oder same code in different files. Particularly interesting for required partial views
@import "../button.tss"
@import "../textfield.tss"
etc…
There is a workaround from Fokke: https://gist.github.com/FokkeZB/6011624 which could be used maybe as a code starter. Discussion can be followed here: https://ti-slack.slack.com/archives/C03CVQX2A/p1583484006295800

Comments

  1. Ewan Harris 2020-03-10

    I like the idea of this feature, it seems to have been raised before and never acted upon (ALOY-1194). I'll move this over to ALOY
  2. Ewan Harris 2020-03-10

    Prior art ltss - https://github.com/dbankier/ltss stss - https://github.com/RonaldTreur/STSS
  3. Ewan Harris 2020-03-10

    Updated gist here https://gist.github.com/ewanharris/23f41e0080c75148691de9fef739252f
  4. Sebastian Klaus 2020-03-10

    Thank you for roadmapping

JSON Source