Skip to content

[mrc1/mrc2/muk]: Survey button component #21416

@aottr

Description

@aottr

Have you already checked if a similar item is present on muk?

  • Yes, I have already checked the existing components/hooks/utils.

What do you expect from this request?

Component

Description

Requested is a Button-component (similar to guide, but just a button) which redirects the user to a survey depending on the manager language and app.

Some of the target applications are still using MRCv1 so the change will have to be in all 3 libraries. (MRCv1 and MRCv2 for now, others following)

Where do you expect to use this?

Having a button component in coherent style + translations

Do you have mock-up?

yes, internal

When do you expect this to be delivered?

12-01-2026

Additional Information

The links have a structure, but we can not guarantee that this structure is always the same. My proposal is to accept a Record<string,string> as prop for the links where the key is the manager language and the value the link to the survey. If no value is present for the currently selected language, we don't display the button.

Attribute target="_blank" is important for the link since it will always be external.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions