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

Make learning materials page CRUD using the Rails Admin gem #87

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Apr 15, 2024

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

Commits on Apr 16, 2024

  1. Update include:

      - Create the learning materials resource
      - Migrate the learning materials resource to update the schema file
    Nemwel-Boniface committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    8717427 View commit details
    Browse the repository at this point in the history
  2. Update include:

      - Update routes with the admin route and the learning materials routes
      - Add associations between User and Learning materials models
      - Create Learning materials controller with index action
    Nemwel-Boniface committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    a6d167f View commit details
    Browse the repository at this point in the history
  3. Update include:

      - Add CSS variables to reduce the number of repetitions of color codes
      - Add the default thumbnail that will display when no image is uploaded when learning material is created
      - Create the learning materials index view listing all the currently available learning materials
    Nemwel-Boniface committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    5a18fcc View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Update include:

      - Update all links to the learning materials page with the correct updated one (learning_materials_path).
      - Add authorization rules to the rails admin config to only allow users with role "organization_admin" access the dashboard.
    Nemwel-Boniface committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    f0da3d4 View commit details
    Browse the repository at this point in the history
  2. Update include:

      - Setup rspec in the project for unit tests
      - Configured Capybara to work with rspec in the spec_helper.rb file for integration/ feature tests
    Nemwel-Boniface committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    78753a1 View commit details
    Browse the repository at this point in the history
  3. Update include:

      - Write integration test to the application
      - Update learning materials code moving logic to the controller moving it from the views
    Nemwel-Boniface committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    a2ddd4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc13a7f View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Update include:

      - Add a section that lists the currently available learning materials for people who do not want to view the cards listed above
      - Add validations in the learning materials model for the title, description and link
      - Refactor error message localization in LearningMaterial model to improve code maintainability
    Nemwel-Boniface committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    f4e6447 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Update include:

      - Use recommended snake case format for naming my variables.
      - Eagerload thumbnails for the Learning materials to avoid N + 1 queries.
    Nemwel-Boniface committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    a5b1b1d View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Update:

      - Remove Motor admin from the project along with its config files
      - Test application to make sure it works still as required after removing motor admin
    Nemwel-Boniface committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    a944f54 View commit details
    Browse the repository at this point in the history