[PR #3433] [MERGED] Emoji Autocomplete #16941

Closed
opened 2025-11-02 12:22:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3433
Author: @modmew8
Created: 1/30/2018
Status: Merged
Merged: 2/3/2018
Merged by: @lafriks

Base: masterHead: emojiAutocomplete


📝 Commits (7)

  • fe4be89 Implemented emoji autocomplete.
  • cf877ae Changed emoji access url.
  • 27c89bd Reverted vendor css to default, moved all style changes to _tribute.less
  • 1f77796 Made no-results overwriteable, added missing autocomplete to edit issue field.
  • 859c052 Replaced counter variable with array length.
  • d466f99 Fixed wrong fmt.
  • 96d2f7f Merge branch 'master' into emojiAutocomplete

📊 Changes

6 files changed (+64 additions, -17 deletions)

View changed files

📝 public/css/index.css (+1 -1)
📝 public/js/index.js (+1 -0)
public/less/_tribute.less (+26 -0)
📝 public/less/index.less (+1 -0)
📝 public/vendor/plugins/tribute/tribute.css (+3 -16)
📝 templates/base/footer.tmpl (+32 -0)

📄 Description

Implements #3316.

emojiautocomplete

Uses the same plugin (tribute) and the same style as #3136.

To prevent performance issues, the resultset is limited to 6 elements (substring search). The emojilist is taken from the emojify plugin directly in javascript (emojify.emojiNames).

The image path is crafted using src="{{AppSubUrl}}/vendor/plugins/emojify/images/' + emojiname + '.png".


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3433 **Author:** [@modmew8](https://github.com/modmew8) **Created:** 1/30/2018 **Status:** ✅ Merged **Merged:** 2/3/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `emojiAutocomplete` --- ### 📝 Commits (7) - [`fe4be89`](https://github.com/go-gitea/gitea/commit/fe4be8947e48a1ff41a9673ce0c426ca66b26861) Implemented emoji autocomplete. - [`cf877ae`](https://github.com/go-gitea/gitea/commit/cf877ae43770b7c86e29332f148ed5d035ce6e4f) Changed emoji access url. - [`27c89bd`](https://github.com/go-gitea/gitea/commit/27c89bd67ec7e72f046b46df2e0ef3d8efc27f37) Reverted vendor css to default, moved all style changes to _tribute.less - [`1f77796`](https://github.com/go-gitea/gitea/commit/1f77796cde0412ac0aa9a6364b4c98ef308a481a) Made no-results overwriteable, added missing autocomplete to edit issue field. - [`859c052`](https://github.com/go-gitea/gitea/commit/859c052959142cb17ac33647c702a0e97c102017) Replaced counter variable with array length. - [`d466f99`](https://github.com/go-gitea/gitea/commit/d466f992286a0409728803198a8aa662bb3cdce7) Fixed wrong fmt. - [`96d2f7f`](https://github.com/go-gitea/gitea/commit/96d2f7f1205c991608fbada8b32ad643fea63173) Merge branch 'master' into emojiAutocomplete ### 📊 Changes **6 files changed** (+64 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+1 -1) 📝 `public/js/index.js` (+1 -0) ➕ `public/less/_tribute.less` (+26 -0) 📝 `public/less/index.less` (+1 -0) 📝 `public/vendor/plugins/tribute/tribute.css` (+3 -16) 📝 `templates/base/footer.tmpl` (+32 -0) </details> ### 📄 Description Implements #3316. ![emojiautocomplete](https://user-images.githubusercontent.com/6024058/35557732-41a90b38-05a6-11e8-98a6-a31288cfc9f3.png) Uses the same plugin (tribute) and the same style as #3136. To prevent performance issues, the resultset is limited to 6 elements (substring search). The emojilist is taken from the emojify plugin directly in javascript (`emojify.emojiNames`). The image path is crafted using `src="{{AppSubUrl}}/vendor/plugins/emojify/images/' + emojiname + '.png"`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:22:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16941