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

Implement Initial UI with Dummy Values for DiceDB Playground #2

Closed
lucifercr07 opened this issue Sep 26, 2024 · 7 comments
Closed

Implement Initial UI with Dummy Values for DiceDB Playground #2

lucifercr07 opened this issue Sep 26, 2024 · 7 comments

Comments

@lucifercr07
Copy link
Contributor

lucifercr07 commented Sep 26, 2024

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 the initial UI for the DiceDB Playground as per the attached mockup, using NextJS as the framework and Bulma CSS for styling. The UI will include a mock CLI/Shell component and a Search component, with mock API responses in place.

Note: Implementation will be part of DiceDB playground frontend repo.

Components to Implement

  1. Search Component:

    • A search box to simulate command lookups with dummy values.
    • Display mock results on search as a dropdown or a list.
  2. Static UI elements:

    • Logo for DiceDB Playground at the top.
    • Mock cleanup timer (e.g., Cleanup in 14:40 mins).
    • Mock command triggers left (e.g., Command Triggers left: 998).

Technology Stack:

  • Frontend Framework: NextJS
  • CSS Framework: Bulma CSS

Tasks

  1. Setup the project using NextJS and configure Bulma CSS for styling.
  2. Implement the Search component with a simple search box and a list to display mock command results.
  3. Use mock data for API responses.
  4. Ensure responsiveness and a basic grid layout similar to the attached UI mockup.

Note: We need to just implement Base components and Search Component as part of this PR.

Screenshot 2024-09-27 at 00 50 15
@rishavvajpayee
Copy link
Contributor

hey would like to take this up @lucifercr07

@lucifercr07
Copy link
Contributor Author

@rishavvajpayee assigned, thanks for contributing.

@N3XT14
Copy link
Contributor

N3XT14 commented Sep 27, 2024

@rishavvajpayee I am working on #3. Let's connect to establish a solid initial structure before diving into individual tasks.

If you've already started working on a specific pattern or have any ideas in mind, we can build on that or I can share mine.

@rishavvajpayee
Copy link
Contributor

rishavvajpayee commented Sep 27, 2024

hey @N3XT14, you can check my open PR for initial code structure: #4. we can collab on that. this is the basic structure i created just to start things off. let me know if you have better config ideas.

we can add them to my Current PR or as a separate PR

@aks151
Copy link

aks151 commented Sep 27, 2024

hey @lucifercr07 is there anything on the frontend side i can work on

@rishavvajpayee
Copy link
Contributor

This is closed right @lucifercr07 ?

@lucifercr07
Copy link
Contributor Author

Merged as part of: #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants