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

[frontend] Use new GET custom_emoji admin api #908

Merged
merged 3 commits into from
Oct 13, 2022

Conversation

f0x52
Copy link
Contributor

@f0x52 f0x52 commented Oct 12, 2022

Fetches custom emoji from /api/v1/admin/custom_emojis (#902), also enables emoji detail pages although they don't provide any functionality yet (missing api)
image

@f0x52 f0x52 added the frontend Frontend-related stuff label Oct 12, 2022
@f0x52 f0x52 requested a review from tsmethurst October 12, 2022 16:50
<div>
<h1><BackButton to={base}/> Custom Emoji: {emoji.shortcode}</h1>
<p>Editing custom emoji isn&apos;t implemented yet</p>
<img src={emoji.static_url} alt={emoji.shortcode} title={`:${emoji.shortcode}:`}/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for the full size view you can use the url rather than the static url imo :)

and also probably render it a little bit smaller, cuz right now it's absolutely massive :')

@tsmethurst tsmethurst merged commit 3ca7164 into main Oct 13, 2022
@tsmethurst tsmethurst deleted the admin-settings-custom-emoji branch October 13, 2022 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend-related stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants