You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started a sketch of a mention plugin. Perhaps prematurely but we can use this as a place to scope out high level features.
API
trigger with default to @
children
onSelect
onSearch with default to fuzzy search
UI
Do we have anything to reuse or do we need to create a ListItem component?
Is it possible to yield out the child render to the call site? This @ mention component could be used for an arbitrary object - users or other types of objects a user wants to query / insert into the page.
ember as an example
<ListItem>
<:child as |child|>
<Avatar>
{{child.name}}
</:child>
</ListItem>
Other
Keyboard navigation
Keyboard events like Esc and Enter
Feel free to add to this scope or discuss what constraints/features could be added
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I started a sketch of a mention plugin. Perhaps prematurely but we can use this as a place to scope out high level features.
API
trigger
with default to@
children
onSelect
onSearch
with default to fuzzy searchUI
ListItem
component?ember as an example
Other
Feel free to add to this scope or discuss what constraints/features could be added
Beta Was this translation helpful? Give feedback.
All reactions