-
Notifications
You must be signed in to change notification settings - Fork 6
feat: adds fuzzy search in the automation list page #71
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <script setup lang="ts"></script> | ||
|
|
||
| <template> | ||
| <div class="mx-auto max-w-2xl p-6 pb-12 w-full"> | ||
| <button | ||
| @click="$router.back()" | ||
| class="text-gh-muted hover:text-gh-text transition-colors flex items-center gap-2" | ||
| > | ||
| <span class="text-lg i-carbon:arrow-left"></span> | ||
| Go back | ||
| </button> | ||
|
|
||
| <div class="mt-8"> | ||
| <slot /> | ||
| </div> | ||
| </div> | ||
| </template> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
# Check if the file exists and review its content cat -n app/layouts/minimal.vueRepository: MatteoGabriele/agentscan
Length of output: 575
🏁 Script executed:
# Check the framework and dependencies head -30 package.jsonRepository: MatteoGabriele/agentscan
Length of output: 846
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 200
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 95
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 95
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 95
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 95
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 137
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 121
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 50
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 169
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 50
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 728
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 164
🏁 Script executed:
# Check the pages that likely use minimal layout cat -n app/pages/automations.vueRepository: MatteoGabriele/agentscan
Length of output: 5109
🏁 Script executed:
# Check privacy-policy page cat -n app/pages/privacy-policy.vueRepository: MatteoGabriele/agentscan
Length of output: 4444
🏁 Script executed:
# Check default layout to compare cat -n app/layouts/default.vueRepository: MatteoGabriele/agentscan
Length of output: 1948
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 50
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 94
🏁 Script executed:
# Check nuxt.config to see router setup cat -n nuxt.config.tsRepository: MatteoGabriele/agentscan
Length of output: 2103
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 477
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 50
🏁 Script executed:
Repository: MatteoGabriele/agentscan
Length of output: 341
🏁 Script executed:
# Check index.vue to understand the home page route cat -n app/pages/index.vueRepository: MatteoGabriele/agentscan
Length of output: 477
Use a more reliable check for back navigation fallback.
Direct visits to
/automationsor/privacy-policyhave no back history. Whenrouter.back()is called on a direct visit, it either does nothing or navigates to an external site (if the user came from external search). Add a fallback to navigate to home when there is no back entry available.For the history check, use
window.history.length > 1instead ofwindow.history.state?.back, which is more reliable and standard across browsers.Proposed fix
🤖 Prompt for AI Agents