Skip to content
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

Preserve signature with change in screen orientation and size #612

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

plocket
Copy link
Contributor

@plocket plocket commented Jan 27, 2023

This works in most cases - the ones that seem most likely. When the user has signed at < 175% zoom and zooms to 175%+, parts of the signature go off screen. This is a nonissue when going the other way.

If this isn't get acceptable, I can keep working on it.

Sorry about the changed compiled files. They're not up to date with the latest changes as I was trying not to commit them, but I must have committed them accidentally at some point. Let me know if I need to reset them.

@plocket
Copy link
Contributor Author

plocket commented Jan 27, 2023

Couldn't test on an actual phone, just in the browser phone emulators. Was able to test on an iphone and that at least worked fine.

@plocket plocket closed this Jan 27, 2023
@plocket
Copy link
Contributor Author

plocket commented Jan 27, 2023

Sorry, didn't mean to close it.

@plocket plocket reopened this Jan 27, 2023
@plocket
Copy link
Contributor Author

plocket commented Mar 12, 2023

Do I need to resolve bundle conflicts? If so, what's the procedure for that?

Copy link
Contributor

@BryceStevenWilley BryceStevenWilley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested this a bit, and this looks really great! I didn't even have problems with zoom, and orientation changing works great too.

Do I need to resolve bundle conflicts? If so, what's the procedure for that?

I did a quick rebase; there aren't really conflicts with app.js, the only file that you changed, so if you just rebase everything, ignoring the conflicts of bundle.js, no jquery, and wrap jquery, and then re-download them from localhost.

If you want to, you should be able to checkout out the branch I made, set your branch to it, and then force push.

git remote add brycestevenwilley [email protected]:BryceStevenWilley/docassemble
git fetch --all
git checkout preserve_canvas # this branch
git reset --hard preserve_canvas_2
git push --force origin preserve_canvas

@plocket
Copy link
Contributor Author

plocket commented Jun 25, 2023

Done. Maybe a new bundle.js rebase is needed. I assume I just rebase to master?

@BryceStevenWilley
Copy link
Contributor

Yeah, the branch I made probably got stale since making it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants