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

Refactor announcements as an Eloquent Model #10328

Closed
3 tasks done
Vitaliy-1 opened this issue Aug 20, 2024 · 4 comments
Closed
3 tasks done

Refactor announcements as an Eloquent Model #10328

Vitaliy-1 opened this issue Aug 20, 2024 · 4 comments
Assignees
Labels
Housekeeping:2:Urgent Any dependency management or refactor that must be done soon to fix or avoid a significant problem.
Milestone

Comments

@Vitaliy-1
Copy link
Collaborator

Vitaliy-1 commented Aug 20, 2024

Announcement is an entity that utilises settings table. This makes its refactoring to the Eloquent model a non-trivial task.
As a part of this issue

  • Adapt Eloquent model to work with data from a settings table as usual properties/attributes
  • Adapt Eloquent to work with localized properties
  • Refactor Announcement entity

This will serve as an example for refactoring of other entities, such as: genres and controlled vocabulary.

@Vitaliy-1 Vitaliy-1 added the Housekeeping:2:Urgent Any dependency management or refactor that must be done soon to fix or avoid a significant problem. label Aug 20, 2024
@Vitaliy-1 Vitaliy-1 added this to the 3.5 Internal milestone Aug 20, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 2, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 2, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 3, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 9, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 9, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 9, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 9, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 10, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Sep 10, 2024
@Vitaliy-1
Copy link
Collaborator Author

PRs
pkp-lib: #10382
OJS: pkp/ojs#4433

@asmecher
Copy link
Member

Added some comments on the PR -- but this is looking very good, @Vitaliy-1, thanks!

Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 10, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 11, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 12, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 12, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 12, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 12, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Sep 12, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 16, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 16, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 16, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 16, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 16, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 16, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Sep 16, 2024
@Vitaliy-1
Copy link
Collaborator Author

@touhidurabir, can you review this?
@Hafsa-Naeem, I see that you are also working on refactoring of entity which deals with settings table. Feel free to make comments if you'd like.

@touhidurabir
Copy link
Member

@Vitaliy-1 I have added reviews at #10382 (review)

Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Sep 30, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Oct 1, 2024
Vitaliy-1 added a commit to Vitaliy-1/pkp-lib that referenced this issue Oct 1, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Oct 1, 2024
Vitaliy-1 added a commit to Vitaliy-1/ojs that referenced this issue Oct 1, 2024
Vitaliy-1 added a commit that referenced this issue Oct 1, 2024
Vitaliy-1 added a commit to pkp/ojs that referenced this issue Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Housekeeping:2:Urgent Any dependency management or refactor that must be done soon to fix or avoid a significant problem.
Projects
None yet
Development

No branches or pull requests

4 participants