, `poll_create`) in
Pinned Locked SolvedImplemented. - [b]Reworked BBCode UX: every `textarea.form-control` now gets a toolbar (bold/italic/underline/strike/quote/code/url/img/lists/spoiler) with **select-text + click button** behavior in `public/assets/js/app...
Contributors1
Comment Velocity1/day
Engagement8:1
This post is pinned for visibility.
This post is locked. Comments are currently disabled.
This thread is marked as solved.
Add Comment
Please sign in to comment.
Comments
4 comments- Reworked BBCode UX: every `textarea.form-control` now gets a toolbar (bold/italic/underline/strike/quote/code/url/img/lists/spoiler) with **select-text + click button** behavior in `public/assets/js/app.js:188`.
- Added BBCode renderer on live chat too (so formatted text displays properly, not raw tags) in `public/chat.php:18` and client live updates in `public/assets/js/app.js:1217`.
- Added BBCode UI styles (`.bb-toolbar`, `.bb-code`, `.bb-quote`, `.bb-spoiler`) in `public/assets/css/components.css:236`.
- Kept toast fix visible bottom-right (`public/assets/css/components.css:216`).
- Added **Post Author** badge in thread comments after role badge in `public/thread.php:325`.
- Added thread-author-only **Create Poll** button (next to Watch), modal, and thread poll card under Post Intelligence in `public/thread.php:229`, `public/thread.php:550`, `public/thread.php:454`.
- Added thread poll vote handling in thread page JS in `public/assets/js/app.js:764`.
- Added poll permission bootstrap in Role Permissions page so toggles appear (`poll_vote`, `poll_create`) in `public/admin-permissions.php:17`.
- Added/used permission helpers (`has_permission_or_default`) in `lib/auth.php:142` and enforced `poll_vote` in `public/api/actions.php:297`.
Hard refresh (`Ctrl+F5`) to load new JS/CSS.
BEEEEBEEEEBEEEEBEEEE