4df18ccb0bb4ee2a0cf28c6060cb2fdad58f6add
* feat: add slug parameter to action-loader for programmatic identification
Add optional `slug` parameter to ActionLoaderHandle for easier identification via code or CSS. Update all loader.show() calls across the codebase to include descriptive slugs ('app-init', 'chat-rename', 'chat-delete', 'bulk-delete', 'chat-load', 'image-generation', 'legacy-loader'). Add data attributes (data-slug, data-loader-id, data-blocking) to toast content div. Expose slug via getter and make id private with getter.
* Apply suggestions from code review
Fix slug jsdoc wording
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix: Add identifier to second loader in img gen
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
SillyTavern
LLM Frontend for Power Users
Resources
- GitHub: https://github.com/SillyTavern/SillyTavern
- Docs: https://docs.sillytavern.app/
- Discord: https://discord.gg/sillytavern
- Reddit: https://reddit.com/r/SillyTavernAI
License
AGPL-3.0
Description
Languages
JavaScript
88.5%
HTML
8.2%
CSS
2.8%
Less
0.3%