Skip to content
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

[Multi-links field] Delete url from list #5117

Closed
Tracked by #3607
thaisguigon opened this issue Apr 23, 2024 · 0 comments · Fixed by #5313
Closed
Tracked by #3607

[Multi-links field] Delete url from list #5117

thaisguigon opened this issue Apr 23, 2024 · 0 comments · Fixed by #5313
Assignees
Labels
scope: back+front Issues requiring full-stack knowledge

Comments

@thaisguigon
Copy link
Contributor

thaisguigon commented Apr 23, 2024

Context

For this issue:

  • In the Links field cell, when the edit mode drodpown is open, display on link item hover a "Vertical dots" button for each item, except for the primary link.
  • On the "Vertical dots" button click, a dropdown opens with only one option (for now): Delete.
  • On click, the "Delete" option removes the link from the Links field value.
  • For the primary link, display a "Bookmark" icon.

Figma

https://www.figma.com/file/xt8O9mFeLl46C5InWwoMrN/Twenty?type=design&node-id=28571-77520&mode=design&t=8H0WXoGxe5R9TkbE-11

@thaisguigon thaisguigon self-assigned this Apr 23, 2024
@thaisguigon thaisguigon added the scope: back+front Issues requiring full-stack knowledge label Apr 23, 2024
thaisguigon added a commit that referenced this issue May 6, 2024
thaisguigon added a commit that referenced this issue May 7, 2024
thaisguigon added a commit that referenced this issue May 8, 2024
thaisguigon added a commit that referenced this issue May 15, 2024
thaisguigon added a commit that referenced this issue May 17, 2024
thaisguigon added a commit that referenced this issue May 20, 2024
charlesBochet added a commit that referenced this issue May 22, 2024
Closes #5117

TO FIX in another PR: right now, the "Vertical Dots" LightIconButton
inside the Dropdown menu sometimes needs to be clicked twice to open the
nested dropdown, not sure why 🤔 Maybe an `event.preventDefault()` is
needed somewhere?

<img width="369" alt="image"
src="https://github.com/twentyhq/twenty/assets/3098428/dd0c771a-c18d-4eb2-8ed6-b107f56711e9">

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: back+front Issues requiring full-stack knowledge
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant