-
-
Notifications
You must be signed in to change notification settings - Fork 418
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
New GUI, new tools, new features... #31
Comments
Your work is great ! Congratulations @rdbeach ! I am reposting here the comment I made on your commit :
Also, I think you forgot to commit some files. I am not seeing the eraser tool, and the undo/redo don't seem to work... The internationalization seems to be broken too... |
Hi. Sure, just let me know what you need me to do. Obviously, time allowing.
Here is a link to a running demo: https://lcfprep.com/wb2/wb.html
Probably some kinks to work out, since I've only been working on it on my
system. I changed the server a bit also, btw.
The eraser tool works, but there is really no way to make a really good
eraser with svg. It tends to get sluggish quickly and is best limited to
"touch ups". That's why I hid it in the popout tool. So people would get
used to using the removal tool instead.
…On Wed, Apr 15, 2020 at 1:40 AM Ophir LOJKINE ***@***.***> wrote:
Your work is great ! Congratulations @rdbeach <https://github.com/rdbeach>
!
I am reposting here the comment I made on your commit
<rdbeach@b532b7b#commitcomment-38503451>
:
Hello @rdbeach <https://github.com/rdbeach> !
I stumbled on this commit on my github feed. It looks like you've done
some great work on WBO ! 👍 Would you be interested by working with me on
integrating some of these changes back into WBO ? This would give them more
visibility, reduce the maintenance burden on your fork, and potentially
enable some more contributions by other parties. I am especially interested
by your new eraser tool. Working with svg masks is a great idea that I wish
I had from the beginning !
There are some browser compatibility and other issues with your changes,
though, and I would be glad to work with you on solving these.
Cheers,
@lovasoa <https://github.com/lovasoa>
Also, I think you forgot to commit some files. I am not seeing the eraser
tool, and the undo/redo don't seem to work...
It would be awesome if we could work together on polishing and integrating
these changes.
[image: image]
<https://user-images.githubusercontent.com/552629/79316966-638d7380-7f05-11ea-8670-ee80b59cb517.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB7262KLWGAYLEAG3ZLXXRTRMVXHVANCNFSM4MIL7DMQ>
.
|
There is currently a single big commit. It would be good to make several small pull requests that we can discuss and work on independently.
|
How do you break a pull request into smaller ones? Maybe make a branch for different features? I can fill out the minimal code changes for each branch and we can review and discuss. But maybe just one branch at a time to keep things simpler. |
Yes, you are right, doing the PRs one by one will avoid conflicts and keep things simpler. Just create a branch with the changes and open a PR from that branch to master on lovasoa/whitebophir. Maybe let's start with the smalleest and least controversial things, like the circle tool or the change in the position of the text input field. |
Hi. Quick update. I added a transform tool, and an area eraser. I'm actually using the board right now with some of my clients, and I will probably do some more rigorous testing of it in the days to come. I've been doing this partly for my work, and partly as a hobby to keep me busy during this difficult time. Unfortunately, I've made so many changes to the original board that I don't know if its feasible (or worth the effort) to merge them at this point. One more feature I may want to incorporate is loading a background image. |
A background image tool was implemented in #21 I will look into merging your work as it is tested. Do you plan to support firefox ? |
I just downloaded the latest Firefox a few hours ago. At first, it looked like it wasn't working at all, but it turned out to be just a few minor glitches, and now it looks good, as far as I can tell. Should I support edge as well? Haven't tried that one. |
Hi I had a go at starting to split the changes into smaller more manageable chunks. The next steps that I can see are
|
Thanks a lot and congratulations to @finnboeger and @rdbeach !
"The touch-up eraser, which requires adding support for layers to every tool" Also, the transform tool requires each drawing element to set their transform property. |
BTW has anyone discussed client configuration? I see that you updated the backend configuration. Probably when you start putting in so many features, not everyone wants or needs them. Maybe another config file for the front end? |
I realized that part about the transform tool when I had a closer look at it, thats why I'm holding off on implementing it until the other tools have been merged. As for front end configuration I have added your latest changes to the cursor to allow disabling it, but there is no settings page yet. I believe adding a I would also like to have server and board wide settings to allow you to disable certain features for all boards or on board creation, e.g. you might not want the document upload feature on a public server or the cursors on a low power server or very high use board. |
Yes, having the configuration reflected on the client is probably a good idea. It could be done the same way as it is for translations. Also, what would you think about switching to using modern javascript, and a transpiler ? This would make the client-side code more readable in many instances. |
I definitely see the benefit however I have no experience setting it up 😆 |
I can set it up. It will just take some time, and you will probably have to rebase your PRs. Let's finish the "easy" PRs, and then I'll get to work. What we can merge without much changes are your current PRs for :
I added comments on those. |
Another question for my testing: Which browsers should we support? |
Right now I am testing on Chrome, Safari, and Firefox. Recent versions only. Also I have tested it on safari and chrome for iPhone. Have not tested android phones. I will most likely continue to test daily, especially since I am using it with my clients. |
@finnboeger : 👍 to the two-columns menu on desktop. We'll have to see if it doesn't take too much space on small screens. @rdbeach : WBO was started a long time ago, and it was initially designed to work on internet explorer 9+ too. However, I don't test it on IE on a regular basis... |
Regardless whether we make the change to the two-column layout we should offset the canvas to the right by the width of the menu. Otherwise if you e.g. write something and then zoom out it gets occluded by the menu. |
What about adding a button to hide the menu instead ? On small screens, I think we cannot afford to reduce the size of the canvas... |
Very good point. How about on small devices we hide the menu by default and only display the currently active tool and maybe the size indicator (using the old UI where it showed a dot of the current size but with the current color and opacity)? Tying into that I noticed another UX issue in my last lecture: I added a whole load of features in the mockups but I don't expect that we will be able to implement them all directly. What do you think? |
hi guys, thanks for this amazing script. I have a question do... if you are working together, should we be using @lovasoa or @rdbeach github repo? i loved the changes made by @rdbeach for teaching math.. but i dont want to stick with an unopdated version. Are you guys merging into one? thanks a lot again! |
Hello! Yes, a lot of the changes are being merged, have a look at the pull requests! @finnboeger is doing a fantastic job at splitting the features into distinct PRs, fixing bugs, making the code cleaner and more maintainable. This represents a decent amount of work, so if you want to contribute on the existing pull requests, please do! |
Hey, what's going on over here? I see you've made some changes. Where did @finnboeger go? I'm almost done with the buildout now. Maybe we can work together to clean up the code a bit. If you want to take it to the next level, we should make an organizational account and put the repo in there, where we can work as collaborators. It would probably attract more interest as well, because, then, it's not like you're just contributing to someone's pet project. |
Hello ! Good that you are almost done with your changes, we'll be able to integrate more of them ! I think there is quite some work, so feel free to open new PRs and comment on the ones of @finnboeger. Ideally, we'll keep one feature by PR, to keep things manageable. We can create an organization, but if you're okay with it, I'd still like to review each change individually, and avoid giving external commit access immediately. |
Hey. Thanks for a great board. I have forked this board and made some alterations (actually quite a bit), mostly for my own personal use as a math tutor. Check them out at rdbeach/wb So far, the changes have undergone limited testing on Safari and Chrome, both on my laptop and on my phone. Seems to work pretty good so far.
A list of changes:
Redesign of the GUI/layout
Added whiteout tool
Added circle tool
Modified text tool so that the input appears closer to the text
Made the removal tool more robust so you can remove small objects easier
Added an optional grid
Added an eraser tool
Added a clear board tool
Added an undo tool
Added a redo tool
Added a zoom in and zoom out tool in separate files.
Made some changes to the server to accommodate the new tools.
The text was updated successfully, but these errors were encountered: