Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7520

Improve theme management

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 5.5
    • Component/s: Themes (deprecated)
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      Removed now useless bank "nuxeo" and associated collections

      Show
      Removed now useless bank "nuxeo" and associated collections

      Description

      Current theme management has several issues that we'd like to address for an easier declaration and override of themes:

      • css declarations are merged with the layout structure template (lack of modularity + easier to handle pure css files for most users)
      • no possible merge of themes/pages/presets as well as external resources (scripts or css)

      And other needs are not filled right now:

      • possibility to change the theme "skin" or "flavour", but keeping the layout structure (so keeping the same page definition), by static contribution, or dynamically (local themes)
      • possibility to use the same global style for parts of the page that are common to several themes (header and footer for admin/dm/home views for instance)
      • easier Studio integration: avoid duplicating the entire theme + better presentation of what's customizable

      => this issue gathers all steps to prototype a solution to answer these problems and needs.

        Attachments

          Issue Links

          1.
          Extract css from themes as pure css files and reorganize them Sub-task Resolved Lise Kemen  
          2.
          Arbitrary class is not generated for the region fragment Sub-task Resolved Anahide Tchertchian  
          3.
          Link pages to external resources (css or script) Sub-task Resolved Anahide Tchertchian  
          4.
          Handle theme flavours Sub-task Resolved Jean-Marc Orliaguet  
          5.
          Split css by relevant topic for better modularity Sub-task Resolved Lise Kemen

          0%

          Original Estimate - 1 week
          Remaining Estimate - 1 week
          6.
          Fix link between the page and it styling Sub-task Resolved Anahide Tchertchian  
          7.
          Fix the theme editor Sub-task Resolved Jean-Marc Orliaguet  
          8.
          Link js resources to a page Sub-task Resolved Anahide Tchertchian  
          9.
          Migrate local theme feature to handle flavours instead of theme pages Sub-task Resolved Anahide Tchertchian  
          10.
          Fix support of class names with a "_" on new themes Sub-task Resolved Anahide Tchertchian  
          11.
          Fix styling of the body element Sub-task Resolved Jean-Marc Orliaguet  
          12.
          Align Studio to new model Sub-task Resolved Anahide Tchertchian  
          13.
          Theme export: make sure that external styles and that class="..." attributes are exported correctly Sub-task Resolved Jean-Marc Orliaguet  
          14.
          Add placeholders for custom js and css Sub-task Resolved Anahide Tchertchian  
          15.
          Clean up CSS files Sub-task Resolved Lise Kemen

          0%

          Original Estimate - 2 days
          Remaining Estimate - 2 days
          16.
          Use new theme and flavour system Sub-task Resolved Lise Kemen

          0%

          Original Estimate - 1 day
          Remaining Estimate - 1 day
          17.
          Fix classes and styles due to new style cascade Sub-task Resolved Lise Kemen

          0%

          Original Estimate - 1 day
          Remaining Estimate - 1 day
          18.
          Make it possible to extend a flavor Sub-task Resolved Anahide Tchertchian  
          19.
          Handle variable ${org.nuxeo.ecm.contextPath} replacement in theme CSS Sub-task Resolved Anahide Tchertchian  
          20.
          Update text leading to the theme manager Sub-task Resolved Anahide Tchertchian  
          21.
          Add palette preview to flavor configuration Sub-task Resolved Unassigned  
          22.
          Make it possible to declare styles/flavors on any theme page Sub-task Resolved Anahide Tchertchian  
          23.
          Document the new system and migration process Sub-task Resolved Anahide Tchertchian  

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 4 days
                  1w 4d
                  Remaining:
                  Remaining Estimate - 1 week, 4 days
                  1w 4d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified