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

Student homepage: only one UI tip should show #16368

Merged
merged 2 commits into from Jul 13, 2017

Conversation

breville
Copy link
Member

Now that there is a student homepage, make sure the existing UI tools only show for teachers. Students will get a single UI tip when they click the upper-left logo.

Now that there is a student homepage, make sure the existing UI tools only show for teachers.  Students will get a single UI tip when they click the upper-left logo.
@breville
Copy link
Member Author

cc @tanyaparker

{type: "triggered", position: {top: 80, right: 15}, text: i18n.homepageUiTipAlreadyHome(), triggerId: "logo_home_link", arrowDirection: "up_corner"}
]}
/>
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd split line 54 into multiple lines, as it's quite long.

Also, as an FYI the parens on lines 50/57 are unnecessary (though fine).

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I just started putting those parens in as a habit because I was bitten by needing them when there was an II in the expression.

@breville breville merged commit 3051bbd into staging Jul 13, 2017
@breville breville deleted the minimal-ui-tips-for-student-homepage branch July 13, 2017 01:05
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