-
Notifications
You must be signed in to change notification settings - Fork 124
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
Configu App #334
Comments
TBD: attach design @rannn505 |
DRAFT - initSuggestion
Motivation
ContextNo response |
PROMPTLets work on a new feature for the Configu oss, same structure as before for features with suggestion, motivation and context sections. please dont omit any details or fact I supplied on your output, use present tense, approchable lang, make it fluent and optimize it that our developers and designers can work on it smootly.
|
Suggestion
Develop a web interface for the Configu OSS project to provide an interactive, user-friendly environment for managing configuration data. This interface will be a single-page application (SPA) built using React and
Next.js
, incorporatingshadcn/ui
for UI components andMonaco Editor
for advanced code editing capabilities. This application will be accessible through the--interactive
flag alongside existing Configu CLI commands or directly via theconfigu app
command. The primary goal is to offer an alternative to the CLI, catering to users who prefer graphical interfaces or require a more integrated view of their Configu configurations.Motivation
The current Configu toolset includes a CLI and a proxy server, which, while powerful, can be enhanced with a graphical interface to accommodate a wider range of user preferences and to simplify complex configurations. The introduction of a web app aims to reduce the learning curve for new users, increase productivity by visualizing configuration data, and streamline the workflow for creating, editing, and managing configurations.
Context
Key Features and Functionalities:
App Launch and Main Interface: Users can launch the web app using
--interactive
with any Configu command or directly throughconfigu app
. The main interface displays the first.configu
file found, along with all related.cfgu
files. It categorizes data into sections like stores, schemas, and scripts, providing a comprehensive overview and easy management options.Stores Section: Lists all ConfigStores found in the
.configu
file, with an action menu for each store including "run test command". Features a main action button for adding new stores directly from the UI.Schemas Section: Displays all Schemas located in the
.configu
file and additional ones found in current or nested directories. Each schema entry comes with an action menu offering "edit schema" and a main action for "create schema". The schema creation supports both blank files in JSON/YAML format and selection from predefined ConfigSchema example templates.Scripts Section: Enumerates all scripts specified in the
.configu
file, providing an action menu with "run script" for each script and a main action for "create script".Dedicated Command Interfaces:
.cfgu
file editing and a component-based.cfgu
builder on the other, ensuring real-time synchronization between the two.Terminal Display: A terminal-like display is fixed to the bottom of the screen, showing the equivalent CLI command for the actions performed in the UI. This display adapts command syntax based on the user's OS, supports different styling formats (single line, semi, multiline), and allows for command execution, copying to clipboard, or integration into the script section. Future enhancements will include in-place command editing.
Design Guideline: @ttd-configu
See FigJam:
https://www.figma.com/file/mcGgSqMKGTbvstGfoDajeI/Features-drafts?type=whiteboard&node-id=145-625&t=HsbhHcaJz2LUsOJd-4
The text was updated successfully, but these errors were encountered: