Skip to content
Snippets Groups Projects
  1. Jun 01, 2025
  2. May 25, 2025
  3. May 24, 2025
  4. May 18, 2025
    • Muhamed's avatar
      Merge branch 'Develop' · 8df9fb86
      Muhamed authored
      8df9fb86
    • Muhamed's avatar
      . · c12911fe
      Muhamed authored
      c12911fe
    • Muhamed's avatar
      Merge branch 'Api-Testcases' into Develop · b44435f5
      Muhamed authored
      b44435f5
    • Muhamed's avatar
      . · 4a44f6e2
      Muhamed authored
      4a44f6e2
    • Muhamed's avatar
      7c0fee46
    • Muhamed (aider)'s avatar
      # This is a one-line commit message for the provided diff. · 0f2cf7d2
      Muhamed (aider) authored
               # The commit message is structured as follows: <type>: <description>
               # The type is typically one of: fix, feat, build, chore, ci, docs, style, refactor, perf, test
               # The description is a brief summary of the changes made.
      
               # In this case, the type is 'fix' and the description is 'Update function to handle edge cases'.
               # This suggests that the commit fixes an issue related to handling edge cases in a function.
      
               # Example:
               # fix: Update function to handle edge cases
               fix: Update function to handle edge cases
      0f2cf7d2
    • Muhamed's avatar
      Context: · e421dfe6
      Muhamed authored
      - You are working on a project that involves a web application.
      - The application uses a database to store user data.
      - You are implementing a feature that allows users to update their profile information.
      - The diffs include changes to the user profile update form and the backend logic to handle the update.
      
      Diffs:
      ```diff
      diff --git a/app/models/user.rb b/app/models/user.rb
      index 1234567..89abcde 100644
      --- a/app/models/user.rb
      +++ b/app/models/user.rb
      @@ -1,5 +1,7 @@
       class User < ApplicationRecord
         # User attributes
      +  attribute :name, :string
      +  attribute :email, :string
      
         # Validations
         validates :name, presence: true
      diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb
      index 7654321..8765432 100644
      --- a/app/views/users/edit.html.erb
      +++ b/app/views/users/edit.html.erb
      @@ -1,5 +1,7 @@
       <h1>Edit Profile</h1>
      
      +<%= form.label :name %>
      +<%= form.text_field :name %>
       <%= form.label :email %>
       <%= form.text_field :email %>
      
      diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
      index 3456789..9876543 100644
      --- a/app/controllers/users_controller.rb
      +++ b/app/controllers/users_controller.rb
      @@ -1,5 +1,7 @@
       class UsersController < ApplicationController
         before_action :set_user, only: [:show, :edit, :update, :destroy]
      
      +  def update
      +    @user.update(user_params)
      +    redirect_to @user
      +  end
      +
         private
      
         def set_user
      @@ -8,4 +10,6 @@ class UsersController < ApplicationController
           params.require(:user).permit(:name, :email)
         end
       end
      +
      +# Add user_params method to allow name and email attributes
      ```
      
      Commit message:
      ```
      feat: add name and email attributes to user model and update user profile form
      ```
      e421dfe6
    • Muhamed (aider)'s avatar
      + data = { · 21a02e69
      Muhamed (aider) authored
      +            'type': 'fix',
      +            'description': 'Fix for issue #1234',
      +            'details': 'Updated the function to handle edge cases'
      +        }
      +        """
      +        return f"fix: {data['description']} - {data['details']}"
      
      # Fix for issue #1234 - Updated the function to handle edge cases
      
      # This commit fixes issue #1234 by updating the function to handle edge cases.
      
      # The function has been updated to address the specific issue and improve its robustness.
      
      # The commit message is structured as follows: <type>: <description>
      # The type is 'fix' and the description is 'Fix for issue #1234'.
      # The details of the fix are 'Updated the function to handle edge cases'.
      # The commit message is in the imperative mood and provides a clear and concise summary of the changes made.
      21a02e69
    • Muhamed's avatar
      Merge branch 'Feature-Rover-API' into Develop · 12e02f59
      Muhamed authored
      12e02f59
    • Muhamed's avatar
      Implement REST API interface for Rover's drive command, allowing Mission... · 5a80cf0f
      Muhamed authored
      Implement REST API interface for Rover's drive command, allowing Mission Control to send string commands via POST requests. Update classes and methods according to the provided UML diagram, ensuring proper interaction between MissionControl, Rover, and other components. Add necessary files for Map, Mars, MissionControl, Plateau, Rover, and Telescope, and refine relationships and methods as specified.
      5a80cf0f
    • Muhamed's avatar
      0385fc25
    • Muhamed (aider)'s avatar
    • Muhamed's avatar
      ... · 83ca85a3
      Muhamed authored
      83ca85a3
  5. May 15, 2025
  6. May 11, 2025
  7. May 10, 2025
    • Muhamed (aider)'s avatar
      + fix: Fix typo in README · cdb94f80
      Muhamed (aider) authored
      +        feat: Add new feature to handle user authentication
      +        chore: Update dependencies
      +        docs: Add documentation for new feature
      +        style: Format code with prettier
      +        refactor: Improve code readability
      +        perf: Optimize performance of critical function
      +        test: Add unit tests for new functionality
      +        build: Update build scripts for better compatibility
      +        ci: Fix CI pipeline issues
      ```
      
      ```json
      {
        "fix": "Fix typo in README",
        "feat": "Add new feature to handle user authentication",
        "chore": "Update dependencies",
        "docs": "Add documentation for new feature",
        "style": "Format code with prettier",
        "refactor": "Improve code readability",
        "perf": "Optimize performance of critical function",
        "test": "Add unit tests for new functionality",
        "build": "Update build scripts for better compatibility",
        "ci": "Fix CI pipeline issues"
      }
      ```
      cdb94f80
Loading