layer5io / layer5io/sistent

[components]: Create custom `Prompt` component

Open
#318 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component/components kind/enhancement v0.14.0-planning
Dominant language
TypeScript
Stars
137
Forks
239
Avg merge
4d 14h
Merged PRs (30d)
5

Description

Meshery UI has a PromptComponent, and it is also a React Class component.

Here is the file for reference: https://github.com/meshery/meshery/blob/master/ui/components/PromptComponent.js

Because it is a Class Component, it is important to convert to a React Function component in Typescript in sistent, so this can be reused in Meshery UI.


Contributor Guide

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced ui/components/PromptComponent.js implementation and identify the corresponding component location in sistent. Convert the Prompt component to a reusable React Function component in TypeScript, preserving its behavior and making it suitable for reuse in Meshery UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.