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

Add page title to form wizard #168

Merged
merged 1 commit into from
Jul 30, 2019
Merged

Conversation

teneightfive
Copy link
Contributor

This change sets the page title for form wizard steps. At the moment
the form wizard falls back to the default page title.

This change adds a new property to the wizard settings to use as
the page title. It also renames the heading property for each step
to be more consistent.

Before

image

After

image

Copy link
Contributor

@stevehook stevehook left a comment

Choose a reason for hiding this comment

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

One question...

@@ -13,6 +13,7 @@ const wizardConfig = {
controller: Form,
name: 'new-move',
journeyName: 'new-move',
journeyPageTitle: 'Create a move',
Copy link
Contributor

Choose a reason for hiding this comment

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

not sure how it works but it looks like this needs to be localisable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good spot. Glad you keep remembering this :)

This change sets the page title for form wizard steps. At the moment
the form wizard falls back to the default page title.

This change adds a new property to the wizard settings to use as
the page title. It also renames the `heading` property for each step
to be more consistent.
@codeclimate
Copy link

codeclimate bot commented Jul 30, 2019

Code Climate has analyzed commit afc9cf8 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.1% (0.0% change).

View more on Code Climate.

@teneightfive teneightfive merged commit d2f61bc into master Jul 30, 2019
@teneightfive teneightfive deleted the form-wizard/page-title branch July 30, 2019 11:21
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