Skip to content
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

feat: controls panel #3151

Merged
merged 8 commits into from
Jan 20, 2025
Merged

feat: controls panel #3151

merged 8 commits into from
Jan 20, 2025

Conversation

mihakrajnc
Copy link
Contributor

What does this PR change?

This adds the Controls panel to the main sidebar and a new hotkey (H) to open it.

How to test the changes?

  1. Launch the explorer
  2. Open the controls panel from the sidebar
  3. Open the controls panel with the shortcut (H)

Our Code Review Standards

https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

@mihakrajnc mihakrajnc linked an issue Jan 16, 2025 that may be closed by this pull request
@mihakrajnc mihakrajnc marked this pull request as ready for review January 17, 2025 14:35
@mihakrajnc mihakrajnc requested review from a team as code owners January 17, 2025 14:35
@RominaMarchetti RominaMarchetti self-requested a review January 20, 2025 12:37
Copy link
Contributor

@RominaMarchetti RominaMarchetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sidebar button is okay, while controls screen needs some adjustments:

  • Title font is incorrect. Must be Inter semi-bold. Now it's using Unity's default font.
  • Fix title, close button, and Decentraland logo X,Y margin. Is 30px for all.
  • Close button container color looks to bright compared to the design in Figma. Let's set for normal and selected #FFFFFF 5%, highlighted #FFFFFF 20%

@mihakrajnc
Copy link
Contributor Author

Sidebar button is okay, while controls screen needs some adjustments:

  • Title font is incorrect. Must be Inter semi-bold. Now it's using Unity's default font. Please, also set
  • Fix title, close button, and Decentraland logo X,Y margin. Is 30px for all.
  • Close button container color looks to bright compared to the design in Figma. Let's set for normal and selected #FFFFFF 5%, highlighted #FFFFFF 20%

Fixed, thanks!

@RominaMarchetti
Copy link
Contributor

Sidebar button is okay, while controls screen needs some adjustments:

  • Title font is incorrect. Must be Inter semi-bold. Now it's using Unity's default font. Please, also set
  • Fix title, close button, and Decentraland logo X,Y margin. Is 30px for all.
  • Close button container color looks to bright compared to the design in Figma. Let's set for normal and selected #FFFFFF 5%, highlighted #FFFFFF 20%

Fixed, thanks!

That was quick 🤩

@DafGreco
Copy link

PR main check on Windows:

  • Open the controls panel with the shortcut (H) ✅
  • Opening the panel multiple times ✅

Sanity check performed on windows :

  • Profile customization ✅
  • Chat interactions ✅
  • Skybox :✅
  • Camera functionality ✅
  • Notifications ✅
  • Teleport✅ : Dollhouse / the inn / Olavra / Metadynelabs
  • Map✅
  • Backpack (emotes & wearables)✅

Evidence of the H command functionality :

hcommand.mp4

Copy link

@Ludmilafantaniella Ludmilafantaniella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 I tested this PR on Mac, verifying the launch process, sidebar controls panel, and shortcut functionality (H). Everything is working as expected. Approving!

image

Smoke test performed:

  • General functionallity of Hotkey.
  • Teleport using GP Carrousel, Map and chat coords. Scene visited: The Inn, Metagamimall, Metadynelabs
  • Social interactions
  • Backpack
  • Emotes
  • Quests

@mihakrajnc mihakrajnc merged commit fa3efcc into dev Jan 20, 2025
9 checks passed
@mihakrajnc mihakrajnc deleted the feat/controls-panel branch January 20, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Controls view: add temporal button to the sidebar
5 participants