-
Notifications
You must be signed in to change notification settings - Fork 351
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
Updated TabbarItemType to KeypadPageType. #676
Conversation
🦋 Changeset detectedLatest commit: 3854db3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
Size Change: 0 B Total Size: 847 kB ℹ️ View Unchanged
|
npm Snapshot: Published🎉 Good news!! We've packaged up the latest commit from this PR (afb3b41) and published it to npm. You Example: yarn add @khanacademy/perseus@PR676 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
| "Numbers" | ||
| "Fractions" | ||
| "Extras" | ||
| "Dismiss"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, now "Dismiss" feels wrong; though it's not really a "Tab" either. No action needed, just pointing it out.
dbdf792
to
3854db3
Compare
Summary:
This is a very simple PR that updates the name of the TabbarItemType to the more accurate/descriptive KeypadPageType.
Reason: After adding the Fractions page, not all of these elements are "TabbarItems" as we don't want the Fractions page to appear in the Tabbar. I decided on a name change as it seemed like the best course of action to ensure code readability. Otherwise the logic for showing the Fraction page would be much messier due to how we're currently switching between page views. This is also inline with our usage of the type on a few of variables/states called "selectedPage".
Issue: LC-1160
Test plan:
manual testing