feat: catalogue rare-item campaign action + housekeeping server-statu… - #58
Merged
Conversation
…s panel Catalogue Rare Item action: - New CatalogueRareItem campaign action type. Picks the catalogue rare item (the catalogue_items row with sale_code 'rare_item') via the same furni picker as the Rewards screen (AJAX /api/hotel/furni/search + image preview). - On activate: applies the chosen definition_id and sets the rare page fuse to DEFAULT (visible to all). On deactivate: hides the page (fuse_catalogue_administrator), keeping the last-set definition. - Queues reload_catalogue. Reads page id via projection and updates the definition via raw SQL to avoid the phantom catalogue_items.sprite mapping. - Wired through the enum, handler factory, DI, executor reload routing, and the campaign Edit UI (option, picker form, submit/populate/summary). Housekeeping front page: - Add a "Server status" sidebar panel (Home only) showing a live server clock and the current Habbos-online count (players.online, refreshed via /api/hotel/online). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The Create News campaign action used a plain textarea; switch it to the same TinyMCE editor (and config) as the News admin pages so it supports HTML. Submit reads the body via tinymce getContent(); edit-mode populate writes it back via setContent(). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The pre-release image can be pulled using: docker pull ghcr.io/webbanditten/keplercms:prerelease-360096ee189ba2f56acf47b192bb08f210d6b1a2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…s panel
Catalogue Rare Item action:
Housekeeping front page: