-
Notifications
You must be signed in to change notification settings - Fork 706
Fix gutter ads, move in-game add to bottom right corner. #1214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis update revises the layout and styling for ad and control panel components. It adjusts error handling and rendering logic in the gutter ad modal, changes container widths and backgrounds, and restructures the bottom UI to stack the control panel and left ad vertically in a fixed-width column. No public API changes were made. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant GutterAdModal
participant window.ramp
User->>GutterAdModal: loadAds()
alt window.ramp is not available
GutterAdModal->>GutterAdModal: hide()
else window.ramp is available
GutterAdModal->>window.ramp: load ad
alt Ad load throws error
GutterAdModal->>GutterAdModal: hide()
else Ad loads successfully
GutterAdModal->>GutterAdModal: display ad
end
end
Possibly related PRs
Suggested labels
Poem
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
npm error Exit handler never called! 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (4)
⏰ Context from checks skipped due to timeout of 90000ms (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Move the in-game add to underneath the control panel, ensure both are 320px. Remove black squares on home page when user has ad blocker - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors regression is found: openfront <img width="420" alt="Screenshot 2025-06-17 at 7 13 51 PM" src="https://github.com/user-attachments/assets/2177e0b3-de1b-4196-afd7-2ceca412e9fe" />
Description:
Move the in-game add to underneath the control panel, ensure both are 320px.
Remove black squares on home page when user has ad blocker
Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
openfront