-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Gd 564 implement player info panel move to up #7952
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
Gd 564 implement player info panel move to up #7952
Conversation
- Adjusted z-index values in the SASS file to ensure proper stacking order of elements in the campaign view. - Standardized z-index values for buttons and overlays, enhancing visual hierarchy and user interaction clarity.
- Introduced a new user status section in the Pug template for Catalyst users, enhancing visibility of player information. - Updated SASS styles to style the user status elements, including player level, gems, and hero icons, improving overall aesthetics. - Ensured conditional rendering of user status based on user type, maintaining clarity for both Catalyst and non-Catalyst users.
- Simplified the display of anonymous player names in the Pug template for Catalyst users, enhancing clarity. - Added new SASS styles for star icons and language buttons, improving visual consistency and user interaction. - Adjusted margins and padding in the campaign view styles to enhance layout and responsiveness.
- Introduced a new utility controls section in the Pug template, enhancing the layout for volume and language selection buttons. - Added SASS styles for utility controls, including button hover and active states, improving user interaction feedback. - Removed deprecated button elements to streamline the template and improve clarity.
- Changed margin-top to a fixed value of 50px and set margin-bottom to -60px for better spacing in the campaign view. - Adjusted margin-top for the campaign element to -30px, enhancing the overall layout and visual consistency.
Caution Review failedThe pull request is closed. WalkthroughThis pull request updates several parts of the application. In the localization file, it shortens the anonymous player's name. The experiment logic in the user model has been refined to distinguish Catalyst experiment activation. Multiple SASS files have been enhanced with new classes, variables, and layout improvements for campaign and achievement features. The Pug template and CampaignView controller now include new structures and event handling to support a Catalyst view with specialized interactions and display logic. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant CV as CampaignView
participant M as Modal
U->>CV: Click on AI League icon
CV->>CV: Trigger onAILeagueIconClick
CV->>M: Open AI League modal
M-->>CV: Confirm modal open
U->>CV: Click on Portal Campaign element
CV->>CV: Invoke onClickPortalCampaign
CV->>CV: Check isCatalyst flag
alt Catalyst Experiment
CV->>CV: Process Catalyst-specific campaign logic
else Standard Flow
CV->>CV: Execute standard portal campaign handling
end
Possibly related PRs
Suggested reviewers
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. 🔧 ast-grep (0.31.1)app/locale/en.js📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (6)
✨ Finishing Touches
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:
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 (
|
Summary by CodeRabbit
New Features
Style