Issue #109 open

"Similar View" always shown on item create

Reimar Bauer avatarReimar Bauer created an issue

If "Similar View" needs an extra click it will be usually ignored on item create. The result of "Similar View" should be shown at item creation time.

We maybe should offer to enter the new name as alias to the given name after selection.

Or to use it as template for a new item

Or to return to the item where we used that name. So it can be corrected there.

Comments (6)

  1. Thomas Waldmann
    • changed status to open

    Show similar item names at item creation: yes, agreed, that is useful and we also do it in 1.9.

    adding aliases in the creation view: no. if you want to do that, you can just visit that other item and modify it. no need to make the usual item creation even more complex as it already is.

    It is unclear to me what line 4 in your issue means.

  2. Reimar Bauer

    line 4

    if you want to create a page and see a list of similar names you also can find one which is the one you want to create but has a typo in its name. Then you navigate to this one and fix the typo. This is another usecase of show similiar at item creation time.

  3. Alexander Dietrich

    Hi, I would like to try working on this, if possible.

    It seems that a NonExistent item should search for items with similar names (like similar_names() in views.py) and present suggestions via the template, right?

    I guess the findMatches() functionality could move from views.py to the items package.

  4. Thomas Waldmann

    note about server load:

    we have to expect links pointing to nonexisting items (from the outside as well as from the inside, to somehow valid item names as well as to just weird crap).

    if a crawler follows these links and http GETs a nonexisting item, this should not cause expensive operations (like automatically doing searches).

  5. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.