Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-28853

Automatically suggest new page titles if a page with the title already exists

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Problem: When you create a page with a title that's the same of another page in the space, you get this error:

      The user now has to switch back to the editor context and think of a new name.

      To improve this experience a bit, we should automatically suggest a new page title based on the parent page. We just pre-fix the parent page and suggest that to the user:

      (Old screenshot, UI needs to be updated, but you get the picture).

      We could get smarter with the logic:

      • Suggest the parent page pre-fixed
      • Fit there is no parent page, or the parent page suggested name above already exists, it pre-fixes it with a space key
      • If that fails it could pre-fix a date/timestamp?
      • etc...

      Whoever picks this up let me know.

        1. duplicate-name-alert.png
          154 kB
          Hank
        2. HTapia.png
          184 kB
          AdrienA

            [CONFCLOUD-28853] Automatically suggest new page titles if a page with the title already exists

            Don Willis added a comment -

            akazatchkov, Xavi tried merging it but it broke a few things. We intend to work the fix into our reliable save work, which should simplify things.

            Don Willis added a comment - akazatchkov , Xavi tried merging it but it broke a few things. We intend to work the fix into our reliable save work, which should simplify things.

            Anatoli added a comment -

            don.willis@atlassian.com, are you planning to schedule this ticket. It seems all it needs is just merging.

            Anatoli added a comment - don.willis@atlassian.com , are you planning to schedule this ticket. It seems all it needs is just merging.

            don.willis@atlassian.com Yes, the editor team owns this now.

            Xavier Sanchez added a comment - don.willis@atlassian.com Yes, the editor team owns this now.

            Don Willis added a comment -

            xtaixe is this left to the editor team to finish now? I think that's what you said in stand-up, right?
            aro was interested in doing something similar in her 20% time, but I think she was only doing the empty case, just with simple JS.
            And of course the editor team is hoping to return to its work on reliable save soon, which will probably mean moving large amounts of the checking to somewhere else.

            Don Willis added a comment - xtaixe is this left to the editor team to finish now? I think that's what you said in stand-up, right? aro was interested in doing something similar in her 20% time, but I think she was only doing the empty case, just with simple JS. And of course the editor team is hoping to return to its work on reliable save soon, which will probably mean moving large amounts of the checking to somewhere else.

            I think we shouldn't change the user's data inline, I think it irritates them because they don't understand what was the initial colliding name. On a similar principle, http://laurakalbag.com/labels-in-input-fields-arent-such-a-good-idea/ highlights how short is the user's memory. We should probably user-test it, though, in case people really like that.

            AdrienA (Inactive) added a comment - I think we shouldn't change the user's data inline, I think it irritates them because they don't understand what was the initial colliding name. On a similar principle, http://laurakalbag.com/labels-in-input-fields-arent-such-a-good-idea/ highlights how short is the user's memory. We should probably user-test it, though, in case people really like that.

            Actually that works really well I think. What do you think Adrien?

            Sherif Mansour added a comment - Actually that works really well I think. What do you think Adrien?

            AdrienA (Inactive) added a comment - - edited

            Chatted with htapia and smansour:

            • The dialog isn't a normal pattern. We're trying to solve the problem that the page reloads to validate the form and we should let the Safe Submit plugin take care of that.
            • The autosuggest in the dialog is unusual.
            • Validating the title when you leave it is a good idea.
            • We've discussed about having an icon on the right or making the background red. It's not easy, in either cases, to display suggestions: Should the user click on the icon? Should it then display an inline dialog with the suggestions?
            • We don't want to distract the user.
            • Finally, the best pattern/least disruptive way would be to display the suggested titles in a yellow warning Message when you leave the title field.
            • If the user presses Save, we do a full reload (or let the Safe Submit plugin handle an ajax reload) and let the Action validation display the same message in red.
            • The suggested titles will be displayed as a list.
              Also:
            • We'll limit to 3 suggestions.
            • If the name of the parent page already contains " - ", we don't get out of our way to strip it.
            • We didn't talk about non-English languages.

            See screenshot of our discussion:

            AdrienA (Inactive) added a comment - - edited Chatted with htapia and smansour : The dialog isn't a normal pattern. We're trying to solve the problem that the page reloads to validate the form and we should let the Safe Submit plugin take care of that. The autosuggest in the dialog is unusual. Validating the title when you leave it is a good idea. We've discussed about having an icon on the right or making the background red. It's not easy, in either cases, to display suggestions: Should the user click on the icon? Should it then display an inline dialog with the suggestions? We don't want to distract the user. Finally, the best pattern/least disruptive way would be to display the suggested titles in a yellow warning Message when you leave the title field. If the user presses Save, we do a full reload (or let the Safe Submit plugin handle an ajax reload) and let the Action validation display the same message in red. The suggested titles will be displayed as a list. Also: We'll limit to 3 suggestions. If the name of the parent page already contains " - ", we don't get out of our way to strip it. We didn't talk about non-English languages. See screenshot of our discussion:

            We should think about doing this inline as you type in the title it could do validation with the server add put a tick on it once the page title is unique. At the same time it could also have a dropdown that suggests 3 variations of your title:

            1. prefix with parent page title (possibly multiple levels)
            2. postfix with counter like "(1)" (needs to check which one is actually available
            3. postfix with current date

            Chris Kiehl added a comment - We should think about doing this inline as you type in the title it could do validation with the server add put a tick on it once the page title is unique. At the same time it could also have a dropdown that suggests 3 variations of your title: prefix with parent page title (possibly multiple levels) postfix with counter like "(1)" (needs to check which one is actually available postfix with current date

              Unassigned Unassigned
              smansour Sherif Mansour
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: