Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4280

Create element templates

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 72
    • Component/s: Studio Designer

      Description

      Problem
      It is hard for a user to create a new element that integrates well (both functionally and regarding styles)

      Proposal
      Create template the user can start from with the correct binding, styling and structure.

      Templates

      Document Page

      • Add document as propriety
      • Header with string "Custom document page"
      • Main content with paper card with
        • String "This is a page for <document title>
        • Another line with "This is your starting point for a document page"

      Drawer Page

      • Header with string "Custom document page"
      • Main content with "This is your starting point for a drawer page"

      Main Page

      • Add user as property
      • Header with string "Custom document page"
      • Main content with paper card with "This is your starting point for a drawer page"

      Dialog Action

      • Attributes
        • icon
        • label
      • A dialog with
        • "This dialog appear after user taps icon."
        • "Change this dialog accordingly."
        • "You have close and ok method to override."
        • a close button
        • an ok button
      • Template with a button icon that will open dialog on tap
      • methods for close and ok on dialog

      Script action

      • Attributes
        • icon
        • label
      • method "run" empty with comment "add your code to this method"
      • template with the icon that that runs "run" method on tap

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d