Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

insights: remove interval step reset when toggling all repos during creation#39261

Merged
chwarwick merged 2 commits into
mainfrom
cw/fix-preview-range-shift
Jul 26, 2022
Merged

insights: remove interval step reset when toggling all repos during creation#39261
chwarwick merged 2 commits into
mainfrom
cw/fix-preview-range-shift

Conversation

@chwarwick

@chwarwick chwarwick commented Jul 21, 2022

Copy link
Copy Markdown
Contributor

During insight creation removes the changes to the step between data points when the user switches from scoped to all repos.

resolves https://github.com/sourcegraph/sourcegraph/issues/39103

Test plan

In Search Insight creation:

  • enter an repo and search query
  • update interval to 4 weeks
  • preview loads
  • check all repos
  • validate that time interval remains at 4 weeks

In Detect and Track Insight creation:

  • enter an repo and search query
  • update interval to 4 weeks
  • preview loads
  • check all repos
  • validate that time interval remains at 4 weeks

App preview:

Check out the client app preview documentation to learn more.

@chwarwick

Copy link
Copy Markdown
Contributor Author

@unclejustin @vovakulikov a friendly reminder that this is ready for review.

@vovakulikov vovakulikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @chwarwick (and thanks for reminder)

@chwarwick chwarwick merged commit d878c3b into main Jul 26, 2022
@chwarwick chwarwick deleted the cw/fix-preview-range-shift branch July 26, 2022 15:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

insights: create search insight changing from scoped to all repos modifies time granularity unit

2 participants