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

Implement a comment/discussion system in GraphSpace #426

Open
wants to merge 96 commits into
base: comment-system
Choose a base branch
from

Conversation

yash170106065
Copy link

@yash170106065 yash170106065 commented Jun 8, 2020

Purpose

The aim of this project is to implement a real-time comment/discussion system that will allow users to comment on graphs and discuss ideas with each other using the GraphSpace web interface. This is the feature of Graphspace is used for discussions inside the group. This feature allows users to create discussions about some particular topic so that members of the group will join the discussions and discuss the topic. This feature helps researchers to discuss some ideas and issues.

Features of this discussion system in Groups

  1. Add discussions.
  2. Create comments on it.
  3. Edit and Delete.discussion and comments
  4. Close and Open discussions.
  5. Realtime functionality for all features.
  6. Search functionality.
  7. Read-more functionality for longer comments.
  8. Reaction system for comments.

Create Discussion
Adding_update_discussion_comment
Resolve or delete
Reaction _system_discussion

Test Cases

  1. Unique discussion topic in a group: Discussion topic should be unique, you cannot create two discussions of the same topic.
  2. Is the user authorized to edit and delete the discussion: User can only edit and delete discussions and comment if he is the owner of that discussion and comment.
  3. Is the user authorized to close and open the discussion: User can only close and open discussions and comment if he is the owner of that discussion.

Features of this Comment system on Graphs

  1. Add Comments.
  2. Create comments on specific nodes, edges, subgraph, and graph
  3. Edit and Delete comments
  4. Resolve and Re-open discussions.
  5. Realtime functionality for all features.
  6. Label for comments for identifying(#Nodes #Edges, #Graph )
  7. Read-more functionality for longer comments.
  8. Reaction system for comments.
    Add_comment_edit_node_edge
    delete_resolve
    Comments_related_to_graph_reaction

@adbharadwaj
Copy link
Collaborator

adbharadwaj commented Jun 30, 2020

  • Attribute @melvin15may and @bruce-wayne99 in your pull request. You are building on their work!
  • Write a descriptive pull request (purpose, images, gifs)
  • List the test cases you have tried
  • Add migration files (use alembic)

applications/discussions/models.py Show resolved Hide resolved
applications/discussions/models.py Outdated Show resolved Hide resolved
applications/discussions/controllers.py Outdated Show resolved Hide resolved
applications/discussions/controllers.py Outdated Show resolved Hide resolved
applications/comments/models.py Show resolved Hide resolved
static/js/groups_page.js Outdated Show resolved Hide resolved
static/js/groups_page.js Outdated Show resolved Hide resolved
static/js/groups_page.js Outdated Show resolved Hide resolved
static/js/groups_page.js Outdated Show resolved Hide resolved
templates/base.html Outdated Show resolved Hide resolved
@adbharadwaj adbharadwaj changed the base branch from master to comment-system February 4, 2021 22:54
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.

5 participants