Open lucifercr07 opened 2 months ago
Can you please assign this to me
@tanbirali assigned, thanks for contributing. Please let me know if any other details required.
hey @tanbirali let me know if if can help in this
@tanbirali please fix the changes according to the issue description.
Hello @tanbirali,
There has been no activity on this issue for the past 5 days. It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.
hey if required i can take this up. @arpitbbhayani @lucifercr07 . i already worked on the /search on the playground-web side so i have a context to this.
I have submitted a PR that intends to resolve this issue This is the PR https://github.com/DiceDB/playground-mono/pull/14 I have made the changes requested
Hello @tanbirali,
There has been no activity on this issue for the past 5 days. It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.
I have added the unit test and asked @lucifercr07 for a review
@lucifercr07, This issue is holding up the implementation of Issue 732.
@harsha-mangena would you like to pick up https://github.com/DiceDB/dice/issues/728 has been on hold from some time.
@lucifercr07, Sure.
@harsha-mangena please let me know if any help is required.
Sure. Thanks Much.
Sorry for holding you guys for so long, I tried from my side probably wasn't ready enough solve this problem
@tanbirali it's fine, you can co-ordinate with @harsha-mangena on this, let me know if you guys need any help.
Description
DiceDB Playground is an interactive platform that allows users to experiment with DiceDB commands in a live environment, similar to the Go Playground. Users will be able to submit and execute commands directly through a web interface. The initial implementation will focus on enabling users to search for and trigger commands.
For more details about DiceDB playground you can check here.
Implement an API endpoint that allows users to search for DiceDB commands using a query parameter. The API should return a list of commands that match the search query along with relevant metadata, including syntax, description, and documentation links. The primary use case is to enable users to easily discover and learn how to use DiceDB commands in the Playground.
Note: Implementation will be part of DiceDB playground backend repo.
API Details
Request
URL:
GET /search
Query Parameters:
q
: The search term to look for in command names. Supports wildcard matching (*
).Example Request:
GET /search?q=SET*
Response
application/json
200 OK
: The request was successful and returns search results.400 Bad Request
: Invalid query or missing query parameter.Example Response
Tasks
1. Implement Search API
/search
that accepts the query parameterq
.*
) queries for partial matches.<b>
tags for matched portions).2. Validation
q
parameter).