GithubHelp home page GithubHelp logo

mostafazke / ng-whiteboard Goto Github PK

View Code? Open in Web Editor NEW
47.0 5.0 26.0 11.51 MB

angular whiteboard component

Home Page: https://mostafazke.github.io/ng-whiteboard/

License: MIT License

JavaScript 0.10% TypeScript 49.35% HTML 32.06% SCSS 18.49%
ng-whiteboard whiteboard-component angular svg ng-library typescript whiteboard

ng-whiteboard's Introduction

✨ Hello, folks! ✨

My name is Mustafa Zaki an Egyptian Front-End developer, working at

Website Badge LinkedIn Badge DevTo Badge Twitter Badge

profile for Mostafa Zaki at Stack Overflow

🔧 My Tech Stack

html5 css3 javascript typescript angular react nextjs redux bootstrap electron webpack sass d3js jQuery gulp firebase jest

🚀 The Tools I Use

windows8 chrome vscode nodejs git npm yarn docker

📈 GitHub Stats

trophy

Mustafa's GitHub Stats

Jokes Card

Daily.dev Stats

Mostafa Zaki's Dev Card

Profile views

ng-whiteboard's People

Contributors

dependabot[bot] avatar lehran avatar mostafazke avatar moustafa-in3 avatar semantic-release-bot avatar snyk-bot avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

ng-whiteboard's Issues

Image not loading when using an ipad

Hello Guys,
good day!
I was wondering if you encounter an issue , when selecting an image in ipad
the image is not loaded.

I suspect it's a permission, because when i try on android it's working fine.
but if you have time can you please do check it out please.

I appreciate if you would give me some feedback.

Sincerely yours,

Jhon

Ideas: Resizing, Layers, Text Input

I take that the drawings are done in SVG and converted to bitmap when it's saved or downloaded. If that's the case, it would be beneficial in the demo to select each pen "stroke" or group of pen "strokes" to resize, change the fill or outline color. Then you can play with "layers" and move one in front or to the back of another. An ability to add text input would be helpful too.

Save grid

This is excellent component it works out of the box! Thank you!
As an idea it would be nice if there will be an option for saving grid within image.

'ng-whiteboard' is not a known element

Hello,

First of all congratulate the developer for his component. I really like the demo.

I have done the 3 steps indicated for installation in my project, after installing the package and importing the module into my app.module.ts everything is correct.

The problem comes when I incorporate the tag in my html of the component where I intend to use it.

I get an error "'ng-whiteboard' is not a known element", as if the module was not installed.

Best regards.
editar-parte.zip

app.module.zip

Update Peer Dependencies for Angular V16

peerDependencies need to be updated to angular 16.

"peerDependencies": {
"@angular/common": "^14.0.0",
"@angular/core": "^14.0.0",
"d3": "^5.16.0",
"@types/d3": "^5.16.0"
}

Suggestion:
Please align the release versions with the angular major version. This will help to determine which version is compatible with angular version easily.

how to get photo drawn base64?

this.whiteboardService.save() can only save photo as a file, i want to get photo base64 to save into mongodb, how to get it ?

Load saved whiteboard

Hi,
Is there a way I can re-load already saved whiteboard content ? I know we might need save the data in svg or any other custom format that you can use to repaint the board.

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Missing package.json file.

A package.json file at the root of your project is required to release on npm.

Please follow the npm guideline to create a valid package.json file.


Good luck with your project ✨

Your semantic-release bot 📦🚀

Button not showing...

Everything worked fine but the buttons did not show up and I don't see this in options. Any hints?

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Missing package.json file.

A package.json file at the root of your project is required to release on npm.

Please follow the npm guideline to create a valid package.json file.


Good luck with your project ✨

Your semantic-release bot 📦🚀

Can's save image in firefox

Firefox does not support drawing SVG images to canvas unless the SVG file has width/height attributes on the root <svg> element and those width/height attributes are not percentages. This is a longstanding bug.

You can fix this error by setting width and height on the canvas right before trying to save the image.

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here are some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Missing package.json file.

A package.json file at the root of your project is required to release on npm.

Please follow the npm guideline to create a valid package.json file.


Good luck with your project ✨

Your semantic-release bot 📦🚀

Can't draw to Whiteboard in Ionic app

Hello,

I'm using this package in an Ionic app, my problem is that the whiteboard doesn't recognise the draw events, only after I navigate to an other route and navigate back.

Sometimes it recognises the draw, but doesn't show the lines, but when I trigger the "undo" method the lines appear.

I'm using the "basic" example code

X & Y Position & Whiteboard Dimensions Bug

problem with X and Y once you draw shape the value X and Y not correct also problem once you change the whiteboard dimension, on you change it X and Y of element are not correct and move the element not moving correctly.
also angular 15 not working ...
could you please fix it !

The automated release is failing 🚨

🚨 The automated release from the master branch failed. 🚨

I recommend you give this issue a high priority, so other packages depending on you could benefit from your bug fixes and new features.

You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can resolve this 💪.

Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.

Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the master branch. You can also manually restart the failed CI job that runs semantic-release.

If you are not sure how to resolve this, here is some links that can help you:

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.


Missing package.json file.

A package.json file at the root of your project is required to release on npm.

Please follow the npm guideline to create a valid package.json file.


Good luck with your project ✨

Your semantic-release bot 📦🚀

Touch support doesn't appear to be working

If you access the demo site via a mobile device or through mobile emulation on Chrome dev tools, free form drawing with touch isn't working properly. It will begin drawing but then revert to scroll mode.

Not able to install on Angular 16

Issue:
Unable to resolve dependency tree
Could not resolve dependency:
peer @angular/common@"^14.0.0" from [email protected]

I tried with --force and --legacy-peer-deps.
It trigger another error regarding D3
Tried install D3 on my own, threw another error on angular/core and so on...

THIS IS PERFECT!!!

I have one request for "improvement". I know you're busy and I'm not counting this request to ever be "heard", but is it possible to enable/insert a picture like a pen, pencil, or even an arrow (mouse like) and the brush strokes begin at the tip of this picture?

image

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.