app
app copied to clipboard
Claims button opens the inventory tab on click
Added a new state so whenever we need it we can specify a tab to open.
Describe your changes
- Added another state called "openedTab" whenever specified will open the tab that is set there.
- Now whenever the claims button is pressed when the character menu opens the inventory tab will be shown.
- if the openedTab is not specified the default tab will be opened which is Account for now.
What are the steps for a QA tester to test this pull request?
- Open character menu switch through the tabs of the equipment box.
- Then close and press inventory button to open the character menu with the inventory tab open.
Issue ticket number and link
https://github.com/webaverse/app/issues/3387
Screenshots and/or video
https://user-images.githubusercontent.com/55106546/183299215-33b512fb-8140-4d93-8dcb-e74c0a7c924e.mov
Checklist before requesting a review
- [x] I have performed a self-review of my code
- [x] I am not adding any irrelevant code or assets
- [x] I am only including the changes needed to implement the change
- [x] I have playtested and intentionally tried to find error cases but couldn't
Needs conflict resolution
Not resolved and cannot be tested.