-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
[frogend] Emoji copy "Steal this look" #1222
Conversation
fe83fb0
to
b084dd6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great :D Just a few comments about readability and that's it; feel free to merge once you've decided what to do with those!
searchStatus(url); | ||
} | ||
|
||
return ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it worth refactoring this into smaller components to avoid all the nesting?
fine if you'd rather not, just checking
}); | ||
} | ||
|
||
return ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment here re: nesting.. though i guess if we're not going reuse any of these subcomponents elsewhere maybe there's not much point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked over at these again but don't think splitting it into separate components would improve readability too much, and we're not re-using them either
Allows pasting a remote toot url, which will then present the custom emoji in it for either copying or disabling on the local instance.
Shortcodes can be adapted, and will be validated against already existing local shortcodes.
Not actually tested yet, because the testrig can't fetch remote toots over federation, and already local emoji can't be copied