Skip to content

Conversation

@miles-grant-ibigroup
Copy link
Collaborator

The previous issue reporting email template left a lot to be desired in terms of user experience. This PR attempts to make the template more user friendly.

French translations are now obsolete and need to be updated @binh-dam-ibigroup

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Conditional approval upon merging #542.

…emplate-qbd

Update issue reporting template qbd
Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup left a comment

Choose a reason for hiding this comment

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

Some code structure thoughts... but still approving since my opinion might not be the best here!

)
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

This feels like it would work well as a functional component.

const { buttonTypes, reactRouterConfig, reportConfig } = this.props

const buttonComponents = []
buttonTypes.forEach((type) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

How about a map to map buttonTypes to buttonComponents?

@miles-grant-ibigroup
Copy link
Collaborator Author

You're definitely right on both fronts and I think we should do both of these fixes when we move this file to Typescript, hopefully soon!

@miles-grant-ibigroup miles-grant-ibigroup merged commit 7d368b6 into dev Feb 8, 2022
@miles-grant-ibigroup miles-grant-ibigroup deleted the update-issue-reporting-template branch February 8, 2022 15:17
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.

4 participants