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

Add Block Editing Functionality #25

Merged
merged 31 commits into from
Aug 4, 2024
Merged

Add Block Editing Functionality #25

merged 31 commits into from
Aug 4, 2024

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    241effc View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    01170c5 View commit details
    Browse the repository at this point in the history
  2. feat: add codebaseInfo field to the CodeGeneratorContext

    - add codebaseInfo to code generator context
    - add use effect to code generator component to set codebaseInfo on change
    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    a3ebb6b View commit details
    Browse the repository at this point in the history
  3. remove log

    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    1bd412c View commit details
    Browse the repository at this point in the history
  4. feat: Add shadcn Popover and Command components

    - Add @radix-ui/react-popover as a dependency in package.json
    - Implement Command and Popover components in the UI package
    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    50e5cb5 View commit details
    Browse the repository at this point in the history
  5. feat: Add FunctionCombobox component for selecting functions

    - Create new function combobox component
    - Implement FunctionCombobox component with search functionality
    - Add FunctionCombobox to FunctionEditor
    - Update FunctionEditor to handle function selection and variable renaming
    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    bdc409e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fe47c7a View commit details
    Browse the repository at this point in the history
  7. remove comment

    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    3b6ebbb View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a1cb036 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2b55df8 View commit details
    Browse the repository at this point in the history
  10. remove log

    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    bb94d6f View commit details
    Browse the repository at this point in the history
  11. update dependency

    ozhanefemeral committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    cf0a0ee View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    ab311c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c9d594 View commit details
    Browse the repository at this point in the history
  3. feat: Add createFunctionInside method to BlockEditorContext

    - bump ts-codegenerator version
    ozhanefemeral committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    38beccb View commit details
    Browse the repository at this point in the history
  4. feat: Update FunctionCombobox component with reset functionality

    - Add `resetAfterSelect` prop
    - Reset input value after function selection if `resetAfterSelect` is true
    - Set default value for `popoverText` prop in FunctionCombobox component
    ozhanefemeral committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1f61fba View commit details
    Browse the repository at this point in the history
  5. feat: Add FunctionCombobox to IfEditor for selecting functions

    - Add FunctionCombobox component to IfEditor
    - Implement onSelect callback to add selected function inside the selected block
    - Pass `resetAfterSelect` prop to FunctionCombobox
    ozhanefemeral committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b134c09 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c97e310 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f5c568a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    81a66c1 View commit details
    Browse the repository at this point in the history
  9. feat: Add FunctionCombobox to WhileEditor for creating functions inside

    - add "while" case to `createFunctionInside`
    ozhanefemeral committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0f620a3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    842b74d View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Configuration menu
    Copy the full SHA
    f67da01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    285dc05 View commit details
    Browse the repository at this point in the history
  3. feat: Add clear selection button to BlockEditor

    - Use BlockAdder on empty state
    - Add a clear selection button to the BlockEditor component
    - The button allows users to clear the currently selected block
    ozhanefemeral committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    67fe393 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a64853 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f88b37a View commit details
    Browse the repository at this point in the history
  6. feat: Improve BlockAdder component layout and functionality

    - Update button styles and spacing for improved usability
    ozhanefemeral committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    6579ac7 View commit details
    Browse the repository at this point in the history
  7. feat: Update IfEditor and WhileEditor components

    - Add BlockAdder component to both IfEditor and WhileEditor for creating nested blocks
    - Update IfEditor and WhileEdtior components to use useState and useEffect hooks for managing condition input
    ozhanefemeral committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    7b62bd1 View commit details
    Browse the repository at this point in the history
  8. refactor:

    - Update imports in FunctionEditor and BlockAdder to reflect the new folder structure
    ozhanefemeral committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    41dcca1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    84fb35d View commit details
    Browse the repository at this point in the history