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

fix: Fetch flow settings in new views #3182

Merged
merged 1 commit into from
May 22, 2024

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented May 21, 2024

Context

This is a small fix / refactor I noticed when working on #3183. It was introduced in #3028.

This work in also included in the WIP PR #3183 - once this PR is merged I'll rebase that one to pick up the changes. I've pulled it out into its own PR to make it easier to test & review.

Problem

The new pages (e.g. /:flow/service) aren't correctly fetching team settings - this was only being done in /:flow/settings/:tab).

Solution

A shared function, getFlowSettings(), to handle this across routes in a consistent manner.

Testing

To test this works as expected, you should be able to view and edit settings for a flow via both routes. You'll need the EDITOR_NAVIGATION feature flag to do this (window.featureFlags.toggle("EDITOR_NAVIGATION"))

Copy link

github-actions bot commented May 21, 2024

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr requested a review from a team May 21, 2024 20:02
@DafyddLlyr DafyddLlyr marked this pull request as ready for review May 21, 2024 20:02
@DafyddLlyr DafyddLlyr merged commit c62309c into main May 22, 2024
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/missing-flow-settings-fetch branch May 22, 2024 13:27
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