Skip to content

Fix history results clear logic & Make sure results cleared #3525

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

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from

Conversation

Jack251970
Copy link
Contributor

@Jack251970 Jack251970 commented May 10, 2025

Follow on with #3524 to fix two issues in that PR.

1. Clear existing results for history results query function

We also need to check shouldClearExistingResults when querying history results.

2. Make sure results cleared when update tasks are not called

When update tasks are not called, we need to clear results manually afterwards. This can fix an issue that results are not cleared when Home Page feature is off, and QueryTaskAsync and QueryHistoryTask are not called.

@Jack251970 Jack251970 added this to the 1.20.0 milestone May 10, 2025
@Jack251970 Jack251970 requested a review from Copilot May 10, 2025 13:23
@Jack251970 Jack251970 self-assigned this May 10, 2025
@Jack251970 Jack251970 added the Dev branch only An issue or fix for the Dev branch build label May 10, 2025
@prlabeler prlabeler bot added the bug Something isn't working label May 10, 2025
@Jack251970 Jack251970 enabled auto-merge May 10, 2025 13:23
@Jack251970 Jack251970 removed the bug Something isn't working label May 10, 2025
@Jack251970 Jack251970 requested a review from jjw24 May 10, 2025 13:23
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to fix the history results clear logic by checking the shouldClearExistingResults condition when querying history results. Key changes include:

  • Removing redundant blank lines for cleaner formatting.
  • Introducing a new variable, shouldClearExistingResults, to determine if existing results should be cleared.
  • Updating the _resultsUpdateChannelWriter.TryWrite call to pass the additional parameters including token, reSelect, and shouldClearExistingResults.
Comments suppressed due to low confidence (2)

Flow.Launcher/ViewModel/MainViewModel.cs:1460

  • Ensure that the new parameter 'shouldClearExistingResults' is correctly positioned in the _resultsUpdateChannelWriter.TryWrite call and that the method signature has been updated accordingly.
var shouldClearExistingResults = ShouldClearExistingResults(query, currentIsHomeQuery);

Flow.Launcher/ViewModel/MainViewModel.cs:1460

  • [nitpick] Consider refining the comment to explicitly state that the flag determines whether to clear existing results to display only plugin-specific action keywords.
var shouldClearExistingResults = ShouldClearExistingResults(query, currentIsHomeQuery);

Copy link

gitstream-cm bot commented May 10, 2025

Be a legend 🏆 by adding a before and after screenshot of the changes you made, especially if they are around UI/UX.

This comment has been minimized.

Copy link
Contributor

coderabbitai bot commented May 10, 2025

📝 Walkthrough
## Walkthrough

This change introduces a private boolean `_needClearResults` in `MainViewModel` to defer clearing search results when queries are cancelled rapidly, preventing flicker. It updates `QueryResultsAsync` to set this flag on cancellation and clear results later. Additionally, `OnLoaded` in `MainWindow.xaml.cs` was changed from asynchronous to synchronous.

## Changes

| File(s)                                   | Change Summary                                                                                 |
|-------------------------------------------|-----------------------------------------------------------------------------------------------|
| Flow.Launcher/ViewModel/MainViewModel.cs  | Added `_needClearResults` flag to defer clearing results on cancellation; updated `QueryResultsAsync` to set this flag and conditionally clear results after plugin queries; modified `ShouldClearExistingResults` to clear results if deferred. |
| Flow.Launcher/MainWindow.xaml.cs           | Changed `OnLoaded` method signature from `async void` to synchronous `void` without other logic changes. |

## Sequence Diagram(s)

```mermaid
sequenceDiagram
    participant User
    participant MainViewModel
    participant ResultsUpdateChannel

    User->>MainViewModel: Call QueryResultsAsync(query)
    MainViewModel->>MainViewModel: Initialize resultsCleared = false
    MainViewModel->>MainViewModel: Launch plugin query tasks
    loop For each plugin query task
        MainViewModel->>MainViewModel: Set _lastQuery, _previousIsHomeQuery
        MainViewModel->>MainViewModel: resultsCleared = true
        MainViewModel->>ResultsUpdateChannel: Write results
    end
    MainViewModel->>MainViewModel: Await all plugin tasks
    alt Cancellation requested
        MainViewModel->>MainViewModel: Set _needClearResults = true
        MainViewModel-->>User: Return early without clearing results
    else No cancellation and no resultsCleared
        MainViewModel->>MainViewModel: Clear Results immediately
    end
    MainViewModel->>MainViewModel: On next update, ShouldClearExistingResults clears if _needClearResults true

Possibly related PRs

Suggested labels

kind/ux

Suggested reviewers

  • jjw24
  • taooceros

Poem

A hop and a skip, results held tight,
Cleared not too soon, but just right.
When queries cancel, no flicker in sight,
Deferred clearing makes the UI bright.
A rabbit’s code, so smooth and light! 🐇✨


</details>

<!-- walkthrough_end -->


---

<details>
<summary>📜 Recent review details</summary>

**Configuration used: CodeRabbit UI**
**Review profile: CHILL**
**Plan: Pro**


<details>
<summary>📥 Commits</summary>

Reviewing files that changed from the base of the PR and between 3436ac9280a6f0ad40bc41497899d87beb3a348a and 08447dab45f8725389f3f0f0c1a879725b63f221.

</details>

<details>
<summary>📒 Files selected for processing (1)</summary>

* `Flow.Launcher/ViewModel/MainViewModel.cs` (8 hunks)

</details>

<details>
<summary>🚧 Files skipped from review as they are similar to previous changes (1)</summary>

* Flow.Launcher/ViewModel/MainViewModel.cs

</details>

<details>
<summary>⏰ Context from checks skipped due to timeout of 90000ms (3)</summary>

* GitHub Check: gitStream workflow automation
* GitHub Check: gitStream.cm
* GitHub Check: build

</details>

</details>
<!-- internal state start -->


<!-- DwQgtGAEAqAWCWBnSTIEMB26CuAXA9mAOYCmGJATmriQCaQDG+Ats2bgFyQAOFk+AIwBWJBrngA3EsgEBPRvlqU0AgfFwA6NPEgQAfACgjoCEYDEZyAAUASpETZWaCrKNwSPbABsvkCiQBHbGlcSHFcLzpIACIAMXgAD0gERAIXP2lvXGQGSOdIL3wieAZIADJIAFk0AGsPB38Mhy9sxjz/WmjIAHc0ZAcBZnUaejlIbERKSAApNAYagCYAVgBGAE4AdgAGdGRbSAxHASmAZiXl/ixcWA9Ywu6NABk0bAwGG75/bnxEdXwXDQwFLWOwAM3wPnw3WQ2G4l3QPH8Eng+Amnh8GSCIUgAAozGcFgAWACU6Aw9DQtFo/kQk2QuG6+BQtOCyH8XmoUQIbRIzngGCITSyyH5YRuySQaXkNOFkCx6VBrzEKIwGiM8QoqQANChQmQGtIxdQxR4AAaIWCory0ADC7QAoglJfyiDZMi1EKaFOT1CrmYwbvMot0blh5bIXRLUv9pe7sjqQyVYP7y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NflNBhrDOHaBencSLDatBIhfW+MTcQ+55CmJAsqPqlp0b5O0B246zaRGKI8Jqq0owSDgxixFeQoLUhRBxClHGyZtzkGCh4ZEvxLwxdtUHcNMGMDwCMjDET5h77Vs7rW3F9bRAcga92Tyn420uyiJ27A3bSi9vEP2qAlQYbCvsPAIgGBqDgUXBi2gU6Z0jtGaZlj+BE32ewyHHEggRBiEGeSSgOobBLLoPab1uBcIUCIMgaBvzICACTCNCS2Vz8c245nbRd9uTEO19E7eAzsXauzdyAd3D0bqktum9v7yRQnB6ad9p6V5fp3TDsmDwANAfPp6UDD1p6z2TpFFSLwCBQc7lEbu7Be75PsI4Qe8hh4VyoFXCetdp5JxzkMXA0Dw2IGgVbR8tBoGAxdlPBOHOTgbBWAADg2GsAAbMuFYSwTi0Gl0saXCxaDy/l9LlYyutgLBUKCDYCwGBbFoCsEgWwlja7FwTyASwNjS8JKCWXoIGAbFBAIEChJTdy4YLQUEWwtiEiWISC3axA/a5OPL1QhJzx1wl4SF3tAtjS4V/rrYAhCSEgEPLlYGwNi0AEKsSXJwSACA2CcNYvuzcJ6WPbjnhuVg59WFsNAse1i0BT7LsPKue+247/LtYJwFgkBr2sdPoJCQLCbw3SA8uSB+5OAwTXy4BAZ6pCsC3+u/YLE12boPcxQQLA2OH1vSx5fz4gIwDPGeGA14EAweXSxl8nGlycN3aAVgLBOCcAQbvT3AAqPNYX/aXY4FYG/KAE4QkWPOYNYA/YfYPSkCPZ/QkFYQkTYDPbvWXY4AQE4TvFPRPdnBfdPXPYvFQMPN3U3FXDPUEL/LYYPBgFYNAWXTYZYfPL/BYBYKAuuB3budQHnWgPnAXOgaBFOMXIAA= -->

<!-- internal state end -->
<!-- finishing_touch_checkbox_start -->

<details open="true">
<summary>✨ Finishing Touches</summary>

- [ ] <!-- {"checkboxId": "7962f53c-55bc-4827-bfbf-6a18da830691"} --> 📝 Generate Docstrings

</details>

<!-- finishing_touch_checkbox_end -->
<!-- tips_start -->

---

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

<details>
<summary>❤️ Share</summary>

- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai)
- [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai)
- [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

</details>

<details>
<summary>🪧 Tips</summary>

### Chat

There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=Flow-Launcher/Flow.Launcher&utm_content=3525):

- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
  - `I pushed a fix in commit <commit_id>, please review it.`
  - `Explain this complex logic.`
  - `Open a follow-up GitHub issue for this discussion.`
- Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples:
  - `@coderabbitai explain this code block.`
  -	`@coderabbitai modularize this function.`
- PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
  - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.`
  - `@coderabbitai read src/utils.ts and explain its main purpose.`
  - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.`
  - `@coderabbitai help me debug CodeRabbit configuration file.`

### Support

Need help? Create a ticket on our [support page](https://www.coderabbit.ai/contact-us/support) for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

### CodeRabbit Commands (Invoked using PR comments)

- `@coderabbitai pause` to pause the reviews on a PR.
- `@coderabbitai resume` to resume the paused reviews.
- `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
- `@coderabbitai full review` to do a full review from scratch and review all the files again.
- `@coderabbitai summary` to regenerate the summary of the PR.
- `@coderabbitai generate docstrings` to [generate docstrings](https://docs.coderabbit.ai/finishing-touches/docstrings) for this PR.
- `@coderabbitai generate sequence diagram` to generate a sequence diagram of the changes in this PR.
- `@coderabbitai resolve` resolve all the CodeRabbit review comments.
- `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository.
- `@coderabbitai help` to get help.

### Other keywords and placeholders

- Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed.
- Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description.
- Add `@coderabbitai` anywhere in the PR title to generate the title automatically.

### CodeRabbit Configuration File (`.coderabbit.yaml`)

- You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository.
- Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json`

### Documentation and Community

- Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit.
- Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback.
- Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.

</details>

<!-- tips_end -->

This comment has been minimized.

@prlabeler prlabeler bot added bug Something isn't working enhancement New feature or request labels May 11, 2025
@Jack251970 Jack251970 changed the title Fix history results clear logic Fix history results clear logic & Make sure results cleared May 11, 2025
@@ -1445,6 +1447,11 @@ await PluginManager.QueryHomeForPluginAsync(plugin, query, token) :
{
App.API.LogError(ClassName, "Unable to add item to Result Update Queue");
}
else
{
// Only update the clear flag when we successfully write to the channel
Copy link
Member

Choose a reason for hiding this comment

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

Do we actually get failure writes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we should still take that into consideration.

Copy link
Member

@jjw24 jjw24 May 11, 2025

Choose a reason for hiding this comment

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

Hmm we probably should take into consideration.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But that will cause issue as below

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted

@@ -1376,6 +1375,9 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
// nothing to do here
}

// If results are not cleared, we need to clear the results
if (!resultsCleared) Results.Clear();

Copy link
Member

Choose a reason for hiding this comment

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

Is this really necessary? This could cause unexplained/unexpected flicker

Copy link
Contributor Author

@Jack251970 Jack251970 May 11, 2025

Choose a reason for hiding this comment

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

We must need it. This is used to make sure results are cleared when there are not any update tasks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Think about one situation. Home page feature is off and you just change query text from e to empty. You will find the results will not be cleared because there are not any update tasks. So we should force call Results.Clear() here when it is not be called in QueryResult or QueryHistory functions.

Copy link
Member

Choose a reason for hiding this comment

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

When you say not any update task are you referring to one example where you toggle off home page in settings and results are not cleared?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Let me give you one demo video

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jjw24 It seems that I have issues when uploading video here. Please see more in Discord.

@jjw24 jjw24 removed bug Something isn't working enhancement New feature or request 1 min review labels May 11, 2025

This comment has been minimized.

This comment has been minimized.

@prlabeler prlabeler bot added bug Something isn't working enhancement New feature or request labels May 11, 2025
@Jack251970 Jack251970 removed bug Something isn't working enhancement New feature or request labels May 12, 2025

This comment has been minimized.

Copy link

gitstream-cm bot commented May 14, 2025

🥷 Code experts: onesounds

Jack251970, onesounds have most 👩‍💻 activity in the files.
Jack251970, onesounds have most 🧠 knowledge in the files.

See details

Flow.Launcher/MainWindow.xaml.cs

Activity based on git-commit:

Jack251970 onesounds
MAY 130 additions & 33 deletions 5 additions & 1 deletions
APR 69 additions & 45 deletions 5 additions & 1 deletions
MAR 1141 additions & 1076 deletions 327 additions & 141 deletions
FEB 1 additions & 1 deletions 8 additions & 4 deletions
JAN
DEC 5 additions & 10 deletions

Knowledge based on git-blame:
Jack251970: 68%
onesounds: 14%

Flow.Launcher/ViewModel/MainViewModel.cs

Activity based on git-commit:

Jack251970 onesounds
MAY 513 additions & 315 deletions
APR 35 additions & 28 deletions
MAR 695 additions & 628 deletions 293 additions & 201 deletions
FEB 63 additions & 21 deletions 23 additions & 25 deletions
JAN 17 additions & 21 deletions
DEC 59 additions & 63 deletions

Knowledge based on git-blame:
Jack251970: 40%
onesounds: 9%

To learn more about /:\ gitStream - Visit our Docs

@Jack251970 Jack251970 requested a review from jjw24 May 14, 2025 07:24
@Jack251970
Copy link
Contributor Author

Fixed flickering issue when typing very fast

@jjw24
Copy link
Member

jjw24 commented May 14, 2025

I haven't had time to sit down and think about this. Will find some in the upcoming days.

@jjw24 jjw24 added review in progress Indicates that a review is in progress for this PR and removed 1 min review labels May 14, 2025
@Jack251970
Copy link
Contributor Author

I haven't had time to sit down and think about this. Will find some in the upcoming days.

Get it.

@prlabeler prlabeler bot added bug Something isn't working enhancement New feature or request labels May 14, 2025

This comment has been minimized.

This comment has been minimized.

Copy link

@check-spelling-bot Report

🔴 Please review

See the 📂 files view, the 📜action log, or 📝 job summary for details.

❌ Errors and Warnings Count
❌ forbidden-pattern 24
⚠️ non-alpha-in-dictionary 13

See ❌ Event descriptions for more information.

Forbidden patterns 🙅 (1)

In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves.

These forbidden patterns matched content:

s.b. workaround(s)

\bwork[- ]arounds?\b
If the flagged items are 🤯 false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

@Jack251970
Copy link
Contributor Author

I do not know why, but sometimes if I input whitespace, the results are not cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Dev branch only An issue or fix for the Dev branch build enhancement New feature or request review in progress Indicates that a review is in progress for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants