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

Implement Clone and Open link button function with bitecs #5985

Merged
merged 2 commits into from
Mar 17, 2023

Conversation

takahirox
Copy link
Contributor

@takahirox takahirox commented Mar 8, 2023

This PR adds the implementation of object menu Clone and Open link button functions with bitecs.

This commit adds the implementation of Object menu Clone
and Open link button functions with bitecs.
@takahirox takahirox changed the title Implement object menu Clone button function with bitecs Implement Clone and Open link button function with bitecs Mar 8, 2023
// TODO: Currently only accounts for the simple case of an external url
// but should support other type actions(eg: avatar update for avatar
// url, room switch for Hubs room url).
// See src/components/open-media-button.js
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we aren't duplicated the object menus for every object, we could have each of these actions called from their own buttons if we wanted to, and then show/hide the buttons as needed. Otherwise, we'll need to set the text of the button for "use avatar" / "use scene" / "visit room" / "open link". It doesn't seem that important which way we choose, but since the only thing the buttons will have in common will be their position (not their text or functionality when clicked), I thought it might make sense to make them different buttons.

@takahirox takahirox mentioned this pull request Mar 14, 2023
50 tasks
@takahirox takahirox merged commit d15261f into master Mar 17, 2023
@takahirox takahirox deleted the BitECSCloneButton branch March 17, 2023 05:37
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.

None yet

2 participants