mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
feat: Add emoji usage tracking and sorting by frequency
This commit is contained in:
@@ -54,7 +54,6 @@ Item {
|
||||
}
|
||||
|
||||
if (!EmojiService.loaded) {
|
||||
Logger.d("EmojiPlugin", "Service not loaded yet, showing loading state");
|
||||
return [
|
||||
{
|
||||
"name": I18n.tr("plugins.emoji-loading"),
|
||||
@@ -66,10 +65,8 @@ Item {
|
||||
];
|
||||
}
|
||||
|
||||
Logger.d("EmojiPlugin", "Service loaded, processing query");
|
||||
const query = searchText.slice(6).trim();
|
||||
const emojis = EmojiService.search(query);
|
||||
Logger.d("EmojiPlugin", `Found ${emojis.length} emojis for query: "${query}"`);
|
||||
return emojis.map(formatEmojiEntry);
|
||||
}
|
||||
|
||||
@@ -96,4 +93,4 @@ Item {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user