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

Adding Project Menu to Play #33

Merged
merged 5 commits into from
Aug 21, 2024
Merged

Conversation

wu-emi
Copy link

@wu-emi wu-emi commented Aug 20, 2024

πŸ’Έ TL;DR

Changing "Export" in the top bar into a drop-down "Project" menu to add "Save" and "Load" to?

πŸ“œ Details

Screenshot 2024-08-20 at 3 09 34β€―PM

πŸ§ͺ Testing Steps / Validation

βœ… Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

@wu-emi wu-emi requested a review from gunsch August 20, 2024 18:20
@wu-emi wu-emi marked this pull request as ready for review August 20, 2024 18:20
src/elements/play-project-button.ts Outdated Show resolved Hide resolved
src/elements/play-pen-header.ts Outdated Show resolved Hide resolved
@wu-emi wu-emi requested a review from gunsch August 20, 2024 19:22
@wu-emi
Copy link
Author

wu-emi commented Aug 20, 2024

image Updated screenshot!

@query('play-settings-dialog')
private _settings!: PlaySettingsDialog

protected override firstUpdated(): void {
this.addEventListener('open-export-dialog', () => {
this.shadowRoot?.querySelector('play-export-dialog')?.open()
Copy link
Collaborator

Choose a reason for hiding this comment

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

curious why this instead of this._export.open() like was here before?

@gunsch gunsch changed the base branch from main to snoosweek August 21, 2024 15:59
@gunsch gunsch merged commit 2c2f7bd into snoosweek Aug 21, 2024
1 check passed
@gunsch gunsch deleted the adding-project-menu-to-play branch August 21, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants