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

feat(search-indexes): add search index signals COMPASS-7176 #4972

Merged
merged 6 commits into from
Oct 12, 2023

Conversation

mabaasit
Copy link
Contributor

Description

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Open Questions

Dependents

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@github-actions github-actions bot added the feat label Oct 10, 2023
} = state;
const stage = stages[stageIndex] as StoreStage;

return {
stageIndex,
isEnabled: !stage?.disabled,
insight: stage ? getInsightForStage(stage, env) : undefined,
stage,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to pass the stage here, if we pass also all stages and stageIndex? Or it can be accessed directly in the FocusModeModalHeader component?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The stages we pass to the component are mapped with only index and operator properties. The stage passed here is full stage.

@mabaasit mabaasit merged commit 0420416 into main Oct 12, 2023
5 checks passed
@mabaasit mabaasit deleted the COMPASS-7176-search-signals branch October 12, 2023 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants