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

Add get redirect with full text #476

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vsseixaso
Copy link

@vsseixaso vsseixaso commented Jan 9, 2025

What problem is this solving?

For a large volume of data, searching for redirects is not feasible. This PR allows searching only for the exact term in the from variable (full text search).

The page starts with 1000 items loaded on the client. For these, the search does not need to be exact.

How should this be manually tested?

On the Redirects management page, it is possible to search for a from url that is not currently on the client. From this, a full text search will be performed with GraphQL.

Screenshots or example usage

from path to replicate the test scenario: /conjunto-menina-blusa-flores-e-aplique-de-laco-e-short-saia-jeans-com-babados-luluzinha-3396853/p

Request:
image

Response:
image

Type of changes

✔️ Type of Change
_ Bug fix
_ New feature
_ Breaking change
✔️ Technical improvements

How does this PR make you feel? 🔗

@vsseixaso vsseixaso self-assigned this Jan 9, 2025
Copy link
Contributor

vtex-io-ci-cd bot commented Jan 9, 2025

Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖

Please select which version do you want to release:

  • Patch (backwards-compatible bug fixes)

  • Minor (backwards-compatible functionality)

  • Major (incompatible API changes)

And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.

  • No thanks, I would rather do it manually 😞

@vtex-io-docs-bot
Copy link

vtex-io-docs-bot bot commented Jan 9, 2025

Beep boop 🤖

I noticed you didn't make any changes at the docs/ folder

  • There's nothing new to document 🤔
  • I'll do it later 😞

In order to keep track, I'll create an issue if you decide now is not a good time

  • I just updated 🎉🎉

@vsseixaso vsseixaso marked this pull request as draft January 9, 2025 19:13
@vsseixaso vsseixaso marked this pull request as ready for review January 9, 2025 20:25
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.

1 participant