-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Prefill Relation Fields with Initiating Object Icon and Name #7355
Labels
for experienced contributor
prio: med
scope: front
Issues that are affecting the frontend side only
size: short
type: design improvement
Comments
Bonapara
added
scope: front
Issues that are affecting the frontend side only
size: short
type: design improvement
for experienced contributor
prio: med
labels
Sep 30, 2024
are you working on this @sid0-0 ? |
Yes @ehconitin a PR is raised. |
lucasbordeau
added a commit
that referenced
this issue
Oct 10, 2024
feat: #7355 Behaviour implemented: 1. Relation field name field is updated when relation type is updated 2. Icon is only prefilled in the beginning 3. If user manually edits the field name, then no subsequent updates are made to that field upon relation type change. https://github.com/user-attachments/assets/d372b106-8dcb-458d-8374-a76cd130f091 --------- Co-authored-by: sid0-0 <[email protected]> Co-authored-by: Lucas Bordeau <[email protected]>
Closed by #7363 |
Merged
lucasbordeau
added a commit
that referenced
this issue
Oct 11, 2024
@lucasbordeau forms are broken! revert - #7363 used useRelationSettingsFormInitialValues hook from that commit. TODO - figure out a way to change the relation name label from singular to plural and vice versa, until it is edited. related issue - #7355 --------- Co-authored-by: Lucas Bordeau <[email protected]>
harshit078
pushed a commit
to harshit078/twenty
that referenced
this issue
Oct 14, 2024
…q#7363) feat: twentyhq#7355 Behaviour implemented: 1. Relation field name field is updated when relation type is updated 2. Icon is only prefilled in the beginning 3. If user manually edits the field name, then no subsequent updates are made to that field upon relation type change. https://github.com/user-attachments/assets/d372b106-8dcb-458d-8374-a76cd130f091 --------- Co-authored-by: sid0-0 <[email protected]> Co-authored-by: Lucas Bordeau <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
for experienced contributor
prio: med
scope: front
Issues that are affecting the frontend side only
size: short
type: design improvement
Current Behavior
Today, when we create a relation:
user
icon as the default "Field on XXX" icon.Field name
as the "Field on XXX" placeholder.Desired Behavior
Since we know the object that initiates the relation creation, we want to prefill the "field on XXX" input and icon:
In the example above, the relation is initiated from the company object so the default "field on people" infos should be prefilled like this:
We should keep the
Field name
placeholder if the user removes theObject initiator name
text.The text was updated successfully, but these errors were encountered: