-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
TerminalenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
English
I propose designing a flow for the terminal system, starting with a main menu that offers three primary options:
- Select an existing data template.
- Create your own data template.
- Exit.
If option 1 (select a template) is chosen:
- Show a list of existing templates (examples):
- Person (name, age, job, address, etc.)
- Employee
- Store
- Location (address, longitude, latitude)
- Users can create new templates, assign unique names, and share creative ideas.
If option 2 (create your own) is chosen:
- Show a menu with all existing data types.
- The last two options in this menu:
- Generate the selected data
- Return to the previous menu
- Example flow: If the user wants to generate: first name + last name + phone number + salary + workplace + job title, each step will include a menu for controlling field details (such as value conditions, name types, gender, duplicates, etc.).
- When a field definition is done, offer a DONE option and return to the main creation menu.
- At each stage, show at the top the components chosen so far. When finished, allow the user to finalize the template.
Extensions & further ideas (for separate issues):
- Add additional conditions for each field (e.g., value lists, assigning quantities to each value).
- Validate if user-defined quantities match the total generated data.
- Encourage the community to suggest more creative ideas for field logic and menu flow.
עברית
אני מציע לתכנן פלואו למערכת בטרמינל, כך שיהיה תפריט פתיחה עם 3 אופציות עיקריות:
- לבחור תבנית של נתונים קיימת.
- להכין תבנית נתונים בעצמך.
- יציאה.
אם נבחרה אופציה 1 (בחירת תבנית):
- יוצג למשתמש רשימת טמפלייטים קיימים (דוגמאות):
- בן אדם (שם, גיל, עבודה, כתובת וכו')
- עובד
- חנות
- מיקום (כתובת, קו אורך, קו רוחב)
- המשתמשים יוכלו ליצור תבניות חדשות ולתת להן שמות ייחודיים ולשתף רעיונות יצירתיים.
אם נבחרה אופציה 2 (יצירה עצמית):
- יוצג תפריט עם כל סוגי הנתונים הקיימים.
- שתי אופציות אחרונות בתפריט:
- לג'נרט את מה שנבחר
- יציאה לתפריט הקודם
- דוגמה לפלואו: אם המשתמש רוצה להדפיס למשל: שם + שם משפחה + מספר טלפון + שכר + מקום עבודה + תפקיד, כל שלב יכלול תפריט עם אפשרות לשלוט בפרטי השדה (סוגי שמות, תנאים, כפילות, מגדר וכו').
- בסיום הגדרת שדה, תוצג אפשרות DONE, ויחזור לתפריט הראשי של יצירת התבנית.
- בכל שלב יוצגו בחלק העליון של התפריט המרכיבים שנבחרו עד כה, ובסיום אפשר לסיים את הגדרת התבנית.
הרחבות ורעיונות להמשך (Issues נפרדים):
- אפשר להוסיף תנאים נוספים על כל שדה (למשל רשימות ערכים לבחירה, או שיוך של ערכים וכמויות לכל ערך).
- יש לבצע בדיקות אם המספרים שהוזנו גדולים או קטנים ממספר הנתונים הכללי שנדרש לג'נרט.
- עידוד קהילה להציע עוד רעיונות יצירתיים לפלואו ולתנאים על שדות.
אם משהו לא מספיק מובן מוזמנים לתייג אותי ולשאול ואשמח להסביר.
Metadata
Metadata
Assignees
Labels
TerminalenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers