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

Homepages: remove privacy announcements #22863

Merged
merged 3 commits into from Jun 5, 2018
Merged

Conversation

breville
Copy link
Member

@breville breville commented Jun 3, 2018

Removes the privacy announcements from signed-in teacher homepage and the signed-out homepage.

Also cleans up the signed-in teacher homepage announcement code. It no longer supports an array of announcements.

This is a followup to #22430.

Homepage is back to this:

screenshot 2018-06-04 07 29 46

* @param {object} override - An optional override announcement.
* @return {object} An announcement to display.
*/
function getTeacherAnnouncement(override) {
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm sure there's a better way to scope this function. @islemaster or @joshlory, thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure what you mean here. Since this goes through our Webpack pipeline, this function is currently private to this file, which seems appropriately scoped to me.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, that's good to know. Thanks.

Copy link
Contributor

@Erin007 Erin007 left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning up the announcements array - it's been lingering on my backlog for a long time!

@breville breville merged commit 7984374 into staging Jun 5, 2018
@breville breville deleted the remove-privacy-announcements branch June 5, 2018 04:38
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

3 participants