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

frontend: Set workflow layout title as either route or workflow display names #3174

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

septum
Copy link
Contributor

@septum septum commented Nov 13, 2024

Description

  • Sets workflow layout title as either route or workflow display names

Testing Performed

Manual

@septum septum requested a review from a team as a code owner November 13, 2024 20:23
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the block above required?, or may it need adjustment?

const heading = route.displayName
  ? `${workflow.displayName}: ${route.displayName}`
  : workflow.displayName;

Copy link
Contributor Author

@septum septum Nov 15, 2024

Choose a reason for hiding this comment

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

It is needed as the fallback if useWorkflowLayout is not enabled.

@septum septum merged commit edd2f15 into main Nov 18, 2024
8 checks passed
@septum septum deleted the wl-display-name branch November 18, 2024 16:42
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.

3 participants