Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28806

As a developer I want to define the SiteAccess name

    Details

    • Story Points:
      1

      Description

      Context:

      In order to simplify the interface and create a better editorial experience, we would like to "hide" the SiteAccess code. This value does not make sense for the end user. It will be better to display the name of the website (human readable).
      Interfaces where this can apply:

      • Page builder (SiteAccess switcher in the top navigation)
      • Content Preview (SiteAccess switcher in the dropdown menu)
      • Page creation modal window (when coming from Content Structure)

      Technical

      It was decided that we would keep using the translation system, as was done for field definition groups and custom tags.
      The domain is called `ezplatform_siteaccess`, and the siteaccess name is used as the key.

      In app/Resources/translations/ezplatform_siteaccess.yml:

      fr: Tatestfull Planet France
      en: Tastefull Planet
      

        Issue Links

          Activity

          Sylvain Guittard created issue -
          Sylvain Guittard made changes -
          Field Original Value New Value
          Rank Ranked higher
          Sylvain Guittard made changes -
          Status Backlog [ 10000 ] Specification [ 10002 ]
          Assignee Sylvain Guittard [ sylvain.guittard@ez.no ]
          Sylvain Guittard made changes -
          Remote Link This issue links to "Specifications (Web Link)" [ 18037 ]
          Sylvain Guittard made changes -
          Status Specification [ 10002 ] Specification Review [ 10038 ]
          Bertrand Dunogier made changes -
          Description h2. Context:
          In order to simplify the interface and create a better editorial experience, we would like to "hide" the SiteAccess code. This value does not make sense for the end user. It will be better to display the name of the website (human readable).
          Interfaces where this can apply:
          - Page builder (SiteAccess switcher in the top navigation)
          - Content Preview (SiteAccess switcher in the dropdown menu)
          - Page creation modal window (when coming from Content Structure)

          h2. Technical

          h3. First option (SiteAccess name is not translatable)
          In app/config/ezplatform.yml:
          {code}
          system:
              fr:
                  name: Tastefull Planet France
                  languages: fr
          {code}

          h3. Second option (SiteAccess name has to be translatable)
          In app/Resources/translations/siteaccess.yml
          {code}
          fr: Tatestfull Planet France
          en: Tastefull Planet
          {code}
          Note: Same approach used on custom tags.
          h2. Context:
          In order to simplify the interface and create a better editorial experience, we would like to "hide" the SiteAccess code. This value does not make sense for the end user. It will be better to display the name of the website (human readable).
          Interfaces where this can apply:
          - Page builder (SiteAccess switcher in the top navigation)
          - Content Preview (SiteAccess switcher in the dropdown menu)
          - Page creation modal window (when coming from Content Structure)

          h2. Technical
          It was decided that we would keep using the translation system, as was done for field definition groups and custom tags.
          The domain is called `ezplatform_siteaccess`, and the siteaccess name is used as the key.

          In {{app/Resources/translations/ezplatform_siteaccess.yml}}:
          {code}
          fr: Tatestfull Planet France
          en: Tastefull Planet
          {code}
          Anonymous made changes -
          Status Specification Review [ 10038 ] Specification Done [ 10003 ]
          Bertrand Dunogier made changes -
          Sprint [2.1] Sprint 5 [ 99 ]
          Bertrand Dunogier made changes -
          Rank Ranked lower
          Bertrand Dunogier made changes -
          Link This issue relates to EZEE-372 [ EZEE-372 ]
          Roland Benedetti made changes -
          Component/s Landing Page Manager [ 14065 ]
          Bertrand Dunogier made changes -
          Story Points 5
          Sylvain Guittard made changes -
          Sprint [2.1] Sprint 5 [ 99 ] [2.2] Sprint 1 [ 101 ]
          Sylvain Guittard made changes -
          Rank Ranked lower
          Sylvain Guittard made changes -
          Sprint [2.2] Sprint 1 [ 101 ] [2.2] Sprint 2 [ 102 ]
          Sylvain Guittard made changes -
          Rank Ranked lower
          Dawid Parafiński made changes -
          Assignee Sylvain Guittard [ sylvain.guittard@ez.no ] Dawid Parafiński [ david.parafinski@ez.no ]
          Dawid Parafiński made changes -
          Assignee Dawid Parafiński [ david.parafinski@ez.no ] Sylvain Guittard [ sylvain.guittard@ez.no ]
          Dawid Parafiński made changes -
          Assignee Sylvain Guittard [ sylvain.guittard@ez.no ] Dawid Parafiński [ david.parafinski@ez.no ]
          Dawid Parafiński made changes -
          Status Specification Done [ 10003 ] Development [ 3 ]
          Sylvain Guittard made changes -
          Story Points 5 1
          Sylvain Guittard made changes -
          Sprint [2.2] Sprint 2 [ 102 ]
          Sylvain Guittard made changes -
          Rank Ranked higher
          Dawid Parafiński made changes -
          Status Development [ 3 ] Development Done [ 5 ]
          Dawid Parafiński made changes -
          Status Development Done [ 5 ] Documentation [ 10010 ]
          Dawid Parafiński made changes -
          Assignee Dawid Parafiński [ david.parafinski@ez.no ]
          Magdalena Zuba made changes -
          Assignee Magdalena Zuba [ magdalena.zuba@ez.no ]
          Magdalena Zuba made changes -
          Status Documentation [ 10010 ] Documentation Done [ 10040 ]
          Assignee Magdalena Zuba [ magdalena.zuba@ez.no ]
          Barbara Grajczyk made changes -
          Status Documentation Done [ 10040 ] Closed [ 6 ]
          Resolution Done [ 9 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Sylvain Guittard
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: