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

Add queue #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add queue #25

wants to merge 2 commits into from

Conversation

nickbar01234
Copy link
Collaborator

Description

Implement page to display people on queue.

  • Non-empty queue
image image
  • Empty queue
image
  • Queue closed
image

Testing

For quick testing, add the following constants to OfficeHourProvider and replace with questions in the provider.

const QUESTIONS: IdentifiableQuestions = [
  {
    id: "1",
    title: "Does Big O go to gym?",
    description: "",
    public: true,
    state: QuestionState.PENDING,
    timestamp: Timestamp.fromDate(new Date()),
    group: ["Nicky"],
    tags: ["Big O", "Conceptual"],
  },
  {
    id: "2",
    title: "I don't make CS jokes. Not one bit",
    description: "",
    public: true,
    state: QuestionState.PENDING,
    timestamp: Timestamp.fromDate(new Date()),
    group: ["Johnny Tan", "Won Kim", "Loc Mai"],
    tags: ["Big O", "Conceptual"],
  },
  {
    id: "3",
    title: "How tall is a BST? As tall as its log",
    description: "",
    public: true,
    state: QuestionState.IN_PROGRESS,
    timestamp: Timestamp.fromDate(new Date()),
    group: ["Linh Nguyen", "Fa Taepaisitphongse", "Sarah Jun"],
    tags: ["Big O", "Conceptual"],
  },
];

Additional Notes

  • There's no logic when clicking on a group.
  • Haven't implemented the banner when user join queue.
  • Haven't implemented transitioning when the user is getting help.

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.

1 participant