-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
Feature to add background image in SharedNotes activity (Issue #799) #914
Conversation
zoom_sharedNotes_demo.mp4I've added files in sugar-web directory for journal functionality (journalchooser.js). |
Good job. Two remarks:
|
backgroundColor_SharedNotes.mp4 |
Hmmm. Removing Plus it seems that the image is not drawn at the top left of the current screen. Regarding color selection in a new sheet, good job.
|
@llaske made changes. Please review. backgroundSharedNotes.mp4 |
Good work @sarthak-g The image has now the right size. But it's always at top/left start position. It should be at top/left of the current position. See below. Another issue: the share action no longer work. I guess the handling of presence should be updated to take into account the new background stuff. |
I've kept that to keep the background in synchronization with the initial pan shift but I've updated in latest commit.
Latest commit resolved it. |
Nice. It works now.
Hmmm. Don't works on my side. See below.
Yes background should be in sync on all screens. |
@llaske
See below: background_sharedMode_sharedNotes.mp4 |
Right now in shared mode, if one note is moved then it is reflected on connected users but movement of screen(i.e pan event) does not reflect on another screen. See below: pan_background_sharedMode_sharedNotes.mp4therefore I've not enabled movement of image on another screen. Do I have to do that? |
Each user should be able to move its view but the background should be at the same place on every view. So I guess that you should pass the x-y shift from top/left (zoom?) to be sure to rightly set the background for each user. Plus, you've got updated the |
@llaske
|
@llaske , it was because of change in datastore object. I've updated it in latest commit. |
demo_png.mp4@llaske , it is properly working now. |
Cool. |
Great, removed file in latest commit. |
Great job. Thanks a lot for your work and your perseverance. |
Fixed #799
demo_sharedNotes_background_addition.mp4