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

Personalized parent letter (story) #34017

Merged
merged 3 commits into from Apr 3, 2020
Merged

Conversation

islemaster
Copy link
Contributor

@islemaster islemaster commented Apr 3, 2020

Adds personalized variants of the parent letter introduced in #34016 along with associated storybook entries. Implements most of Part 1, Requirement 4 of this spec.

The personalized version also has variants for each login type:

Login type Letter
Picture passwords: image
Secret words: image
Personal logins: image
Clever: image
Google Classroom: image

Non-goals

We're intentionally not worrying about making this letter translatable yet. That follow-up work is tracked here.

Testing story

Developed entirely in storybook - nothing here will reach production yet.

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

<img src={secretPicturePath} style={{width: 60, margin: 10}} />
</span>
)}
</li>
<li>
If your student does not remember their picture password, please
email me and I will provide it
Copy link
Contributor

@Erin007 Erin007 Apr 3, 2020

Choose a reason for hiding this comment

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

We can remove this line from the custom version/when we know the secretPicturePath since they have the info they need right above. Same for word sections.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you! This is a detail in the spec that I forgot to implement.

@Erin007
Copy link
Contributor

Erin007 commented Apr 3, 2020

No need to address, but noting for general future consideration: LP has components strewn about apps/src. I know about ones in templates, code-studio/components, and lib/ui. I'd love to standardize on where we put new work like this.

@islemaster islemaster changed the base branch from generic-parent-letter to staging April 3, 2020 16:56
@islemaster
Copy link
Contributor Author

About to merge this, but have another wave of edits from Hadi to do so I'll open another PR very soon.

@islemaster islemaster merged commit 53c792b into staging Apr 3, 2020
@islemaster islemaster deleted the personalized-parent-letter branch April 3, 2020 18:42
@islemaster islemaster mentioned this pull request Apr 3, 2020
7 tasks
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