New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Divider/Alias setup flow #9528
Comments
Also, the Also, small request to move the |
I wonder if there's a way to "auto create" a key (eg: |
Does this fit the requirement here? Maybe we can bump it up to 8 random chars to further reduce possibility of collisions. (Though I wonder will this ever happen even for 6 chars anyways...) Of course the above is just to show and confirm the randomly generated IDs. This should be the end result: One question I do have would be is this the expected outcome? Just wondering will the random chars be remotely "daunting" to non-technical users here. If it's deem not to, then I'll proceed with the current iteration with a PR. 👍 |
I love this!! Wondering if it would feel cleaner to do I think if we remove the category (eg: Also, we should be able to allow editing the key (in the advanced editor) for presentation-only fields, since there's no data there... but that's a question for the future. |
I think I would actually prefer going with the short hash here for this exact reason. Having |
Is this the expected "editing the key in advanced editor" here? Haven't modified anything since technically it's "hidden" on the new field flow area, but definitely still visible (and editable) in the advanced editor: |
Ahh, true! Though I don't know if you can edit it after the field is created, even through the advanced editor. |
ohh after it's created. Now I understand what the "no data" meant now 👍 Just tried to give it a shot, was able to apply the same "interfaces with hide label" logic to make the key editable, but unfortunately the API currently will hit an error, especially the "where directus/api/src/services/fields.ts Lines 293 to 313 in 975e0eb
|
I think we'll be adding the functionality to be able to edit any field key sometime in the future, so no need to add special logic now. 👍 |
The divider (and maybe all aliases or presentation types) should not have a "Default Value" or "Required" toggle. That's extra visual noise and might confuse users.
The text was updated successfully, but these errors were encountered: