srosro / deepspring-shellmate

MIT License
97 stars 7 forks source link

Interaction states for suggestions #82

Closed maryldyer closed 2 months ago

maryldyer commented 2 months ago

Adding in a hover and focused state for the suggestion cards so we can provide better feedback to the user. The primary goal is showing feedback that the suggestion text has been copied.

https://www.figma.com/design/cY3HB9J6jQROjDX7V9gqo8/ShellMate?node-id=259-8996&t=yulgsy9WrT9N5DzJ-11

Screenshot 2024-07-02 at 10 20 43 AM
maryldyer commented 2 months ago

Focused state should remain for 300ms after a users mouse click, then return to the hover/enabled state based on where their mouse is.

delattre1 commented 2 months ago

@srosro, please test it and close it if you think it is good enough. Otherwise, let me know if you find any problems.

delattre1 commented 2 months ago

Reviewed with Mary.