Skip to content

Add revisions feature#81

Merged
orkit merged 32 commits intomasterfrom
add-revisions-feature
Jan 30, 2023
Merged

Add revisions feature#81
orkit merged 32 commits intomasterfrom
add-revisions-feature

Conversation

@elias-chalhoub
Copy link
Contributor

@elias-chalhoub elias-chalhoub commented Dec 22, 2022

Pull Request Description

This pull request introduces two main features to the project:

  1. Allow partners to suggest adding a new project.
  2. Allow partners to suggest changes to an existing project.

Additionally, it implements the storage of changed projects as history items (revisions).

Changes Made

Project Model

  • Fixed relations in the Project model. (6236676)
  • Refactored and reformatted some parts of the Project model. (6facd5c)
  • Fixed project area relation. (32a082d)
  • Fixed project reminder relation. (ecd70ff)
  • Updated laravel-shibboleth to version 3.4. (e8af962)

Home Controller

  • Fixed relation in the Home Controller. (2eb4aa7)

Program Area Controller

  • Fixed relations in the program area controller. (4b06962)

Migrations and Enum

  • Added project type enum migration file. (c204a48)
  • Added Object type scope. (26aea2e)
  • Added global scope to Project model. (e830ff8)

Project Page and Edit Page

  • Display messages (alerts) on project page. (9f02c44)
  • Display messages (alerts) on project edit page. (f9a6d7f)

Action Links and Request Class

  • Refactored action links to work with the new features. (1841129)
  • Added update project request class. (563122f)

Project Controller

  • Fixed some relations in the project controller. (ca5a04e)
  • Used UpdateProjectRequest in the update method. (96f5300)
  • Refactored update method in the project controller. (1ac3001)
  • Added new relations to the Project model. (a9f31da)
  • Added accept/reject methods to the project controller. (3bfe12f)

Comments

  • Added comments migration file. (2a08f24)
  • Added comment model. (60cfe68)
  • Added comment relation to the Project model. (dfab10f)
  • Added comments livewire component and view. (6190139)
  • Added comment notification. (6fda3d0)

Other Changes

  • Added requested projects to the projects filter. (4bdf43f)
  • Refactored activity form. (cd69c62)
  • Refactored reminders form. (f98812e)
  • Refactored project form template. (e40b04b)
  • Added accept/reject routes. (e79670f)
  • Added more notifications. (54adc06)
  • Allow all project types on project routes. (28a91f8)

Additional Notes

This pull request includes multiple commits that address various aspects of the project.

@orkit orkit merged commit 5a078b2 into master Jan 30, 2023
orkit added a commit that referenced this pull request Feb 1, 2023
This reverts commit 5a078b2, reversing
changes made to 333411a.
@elias-chalhoub elias-chalhoub self-assigned this May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants