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

Short arrival text #207

Merged
merged 4 commits into from
Jan 12, 2018
Merged

Short arrival text #207

merged 4 commits into from
Jan 12, 2018

Conversation

allierowan
Copy link

@allierowan allierowan commented Jan 12, 2018

Issue

We'd like a shorter arrival text option to save space- this adds a short option for both the upcoming and default arrival texts. For other languages, I copied over their regular default and upcoming phrases for now.

Tasklist

  • Add sentences for languages
  • Add tests (added a test for upcoming too because it hadn't been tested)
  • Add changelog entry
  • Review

Copy link
Contributor

@mcwhittemore mcwhittemore left a comment

Choose a reason for hiding this comment

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

Seems good to me. One small question.

Object.keys(fixture.instructions).forEach((l) => {
// ignore custom instructions that don't get compiled
if (!fixture.step) return;
Copy link
Contributor

Choose a reason for hiding this comment

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

What does this solve?

Copy link
Author

Choose a reason for hiding this comment

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

this code was trying to test the new fixtures I added, but they don't get compiled by default, you have to specifically grab them by the right path. The fixtures I created don't have steps connected to them, so I just added this line so they don't get included

@allierowan allierowan merged commit ea1b595 into master Jan 12, 2018
@allierowan allierowan deleted the short-arrival branch January 12, 2018 21:15
@allierowan allierowan mentioned this pull request Jan 24, 2018
3 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.

2 participants