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

Render the result of the prompt real-time to make it more competitive #207

Open
github-actions bot opened this issue Nov 6, 2023 · 3 comments
Open
Labels
250 USDT help wanted Extra attention is needed P1 priority 1 issues todo

Comments

@github-actions
Copy link

github-actions bot commented Nov 6, 2023

https://api.github.com/aufacicenta/pulsemarkets/blob/675fe2a623a062c5e5d1b611b7e22665d15d9623/app/src/ui/pulse/prompt-input-card/PromptInputCard.tsx#L20

import { PromptInputCardProps } from "./PromptInputCard.types";
import styles from "./PromptInputCard.module.scss";

// @TODO Render the result of the prompt real-time to make it more competitive
// labels: 250 USDT, P1
export const PromptInputCard: React.FC<PromptInputCardProps> = ({
  onSubmit,
  className,

Create a new component that will render an preview image of the prompt that's being written while a game match is active. There should be a "preview" button next to the "submit" button that let's the user preview their prompt together with its score.

The main logic to work on is already implemented in reveal.ts. You should take from this file what works for this new API endpoint. The new image should be rendered either in a new Modal component, or above the PromptInputCard textarea.

@github-actions github-actions bot added 250 USDT help wanted Extra attention is needed P1 priority 1 issues todo labels Nov 6, 2023
@netpoe netpoe moved this to Todo in Prompt Wars Nov 6, 2023
@netpoe
Copy link
Contributor

netpoe commented Nov 6, 2023

@Udit-takkar this is a long-wanted feature. Let me know if you want to implement it.

@Dhoni77
Copy link

Dhoni77 commented Nov 11, 2023

Hi @netpoe can I work on this

@netpoe
Copy link
Contributor

netpoe commented Nov 25, 2023

Hi @netpoe can I work on this

@Dhoni77 apologies, someone was already working on this. I'll tag you in a new issue soon. Thanks for your interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
250 USDT help wanted Extra attention is needed P1 priority 1 issues todo
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants