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

Comments structure (announcements, calendar event, docs, forum) #242

Open
zaida04 opened this issue Aug 13, 2023 · 0 comments
Open

Comments structure (announcements, calendar event, docs, forum) #242

zaida04 opened this issue Aug 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zaida04
Copy link
Owner

zaida04 commented Aug 13, 2023

Create a base comment structure, and make sub classes that inherit from it for the different structures that can have comments (announcements, calendar event, docs, forum). Can be split up into multiple PRs, doesn't have to be all in one lump-sum, but the base comment model should be done before working on any sub structures. The goal of the base comment model is that sub classes can be created with as little redundancy as possible.

class Comment extends Base {
  // props that are shared by all comments
}
class AnnouncementComment extends Comment {
	// props specific to this comment
}
@zaida04 zaida04 added the enhancement New feature or request label Aug 13, 2023
@zaida04 zaida04 self-assigned this Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant