Skip to content

jason-ku-8313/phase_pretest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comments

This project was bootstrapped with Create React App.

Table of Contents

Demo Link

Navigate to https://jasonku.netlify.app/

Technologies

React, PixiJS, Material-UI and PubSub-js

Installation

Clone down this repository. You will need node and yarn installed globally on your machine.

Installation:

yarn install

To Run Test Suite:

yarn test

To Start Server:

yarn start

To Visit App:

localhost:3000/

Requirements

A page with canvas (can use any graphics libraries like PIXI to implement)

  • Display a static image on the canvas
  • [Bonus] Canvas can zoom in/out and pan around
  • [Bonus] Display more than one image

Start a comment thread anywhere in the canvas

  • Clicking anywhere on the image displayed in the canvas should add a new comment marker to the canvas and open the comment dialog
  • Comment markers should exist in the canvas and retain the position relative to the displayed image (independent of the pan and zoom)
  • [Bonus] If comments are placed on a particular image they should be attached to that image, so that if the image to be moved or removed all comments placed on it should move with it.

Comment dialog:

  • Should be implemented outside of the canvas in React.
  • Should not change scale if the canvas is zoomed in or zoomed out.
  • Should have a thread of comments and a field to add a new comment.
  • Can be closed
  • Should have a way to resolve the thread. If the thread is resolved, the corresponding marker on the canvas should be deleted as well.
  • [Bonus] have ability for multiple users to leave comments in any thread (user authentication is not required)

Comments:

  • Should display it’s content
  • Display the time it was posted at
  • Display the username who wrote the comment

Releases

No releases published

Packages

No packages published