Code Monkey home page Code Monkey logo

whiteboard's People

Contributors

abhishekgupta23 avatar anjaligoswami avatar ayan-dhara avatar azhar-codeprism avatar dhruvgarg02 avatar grawish avatar tanmayvaish avatar thedistrohopper avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

whiteboard's Issues

Toggle between shaped and solid shapes

Currently this supports only drawing boundary of shapes,
It would look more featured if we add a toggle button to draw shapes filled with color i.e solid shapes!

Do assign me with this issue!

Different undo and redo keyboard key for Mac

Is your feature request related to a problem? Please describe.
When using macOS, undo and redo keyboard keys are different.

Describe the solution you'd like
Mac using cmd+Z for undo and cmd+shift+Z for redo.

Default colour is invalid

The default shape pen colour is not in the correct format, so it draws with (I assume, a default of green).
drawShapes.js:184 The specified value "black" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers. (anonymous) @ drawShapes.js:184

image

Need pop-up(modal) for saving/downloading file with user-defined names

Right now, when you download the board, it is saved with "untitled.png" .

Now, what we need is to get a pop-up dialog box with a input field, there you can type the name of the file (For ex. hacktoberfest.png).

There will also be a default value for input field, (for ex. board_<time-stamp>).

Switch to typescript

Is your feature request related to a problem? Please describe.
Developing without type annotations is really annoying, and makes it much more likely for bugs to slip through. Typescript would also make it possible to compile for additional targets.

Describe the solution you'd like
Add type annotations and TS only features incrementally & gradually. We can use an action to compile to a distributable JS program, if needed.

Describe alternatives you've considered
N/A

Additional context

Create a new "Insert Text" System

Create a "Insert Text" Function which we can move around the whiteboard.

Right now, We have a "Insert Text" which takes value in a dialog box and wherever we click on the Whiteboard, it gets inserted.

image

image

We need some new system to insert text in the whiteboard, Like we have in every other whiteboard online. We can insert text and drag it around the whiteboard until we find some suitable place to insert it.

Like this one:

image

Save Board Data on LocalStorage

If the page is reloads everything is reset.
Store data in local storage, so that the white board drawings can survive page reloads.

Shape drawing is sometimes duplicated

When rapidly drawing shapes (Line, square, circle, not seen with triangle), more than one shape is sometimes drawn for a single mouseup event.

Example:
Screenshot from 2021-10-04 15-53-12

This ripple is made from a single click & drag

Pen not drawing from very begining

When drawing with the pen it takes some time to start drawing.
So the path dragged in that time is not drawn.

The delay increase with screen size and if the page is zoomed out.

Add Background color to save images

Background color

When you download the board as an image you do not get background otherwise, you get transparent strokes only.

Actual image

Screenshot from 2021-10-04 00-38-31

Downloaded image

Screenshot from 2021-10-04 00-38-47

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.