Skip to content

Making new resource in the UI should not always use name in subject #711

@Polleps

Description

@Polleps

Problem:

After a change in how new resources are created in databrowser it always prefers using a name or shortname when it has one while generating a subject instead of using a random string. This makes sense in a lot of cases but not when the name is defaulted to something like 'Untiled Folder' or 'Untitled Document' because it results in ugly subjects that end in 'Untitled-Folder-[random string]'
image

Possible Solutions:

  1. Add an option to useCreateAndNavigate to always generate random string
  2. Show name dialog when creating document or folder (Only fixes the problem for those two classes)
  3. Always use UUID's i.e. [driveSubject]/[UUID] - https://atomicdata.dev/51437179-c07c-4e6d-a94e-23cdae4d6f30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions