Pattern-Projector / pattern-projector

https://www.patternprojector.com/
MIT License
27 stars 13 forks source link

Store visible layers in local storage per file #281

Closed Nifdee closed 3 weeks ago

Nifdee commented 3 weeks ago

Pull Request Checklist

Description

Whenever a document is opened for the first time, or its visible layers change, the set of visible layers now gets stored to local storage. When the user re-opens the same PDF again, that setting is used to initialize which layers will be visible initially.

Related Issues

First part of https://github.com/Pattern-Projector/pattern-projector/issues/272

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pattern-projector ❌ Failed (Inspect) Jun 14, 2024 6:24pm
courtneypattison commented 3 weeks ago

Wow, such an awesome PR! Thank you so much! I really appreciate you cleaning up and rearchitecting along the way.

One tiny change is to base off the beta branch. That's where we put everything for staging before a release.

I don't want to get too greedy but would you like to be added to the project? That way you could assign issues to yourself if you'd like to work on anything else. No pressure! I'm just really happy with this PR :)

courtneypattison commented 3 weeks ago

I opened #282 to fix a few build errors I got from switching the base of this PR to beta. I'm going to close this one and merge the other into beta :)

Nifdee commented 3 weeks ago

Yay, thank you!

One tiny change is to base off the beta branch. That's where we put everything for staging before a release.

Good to know - I'll update the instructions to include that and base off beta going forward :)

would you like to be added to the project?

I'd love to! You can't imagine how excited I was when I found this project :D

courtneypattison commented 3 weeks ago

One tiny change is to base off the beta branch. That's where we put everything for staging before a release.

Good to know - I'll update the instructions to include that and base off beta going forward :)

Thank you so much! I should've done that a long time ago!

would you like to be added to the project?

I'd love to! You can't imagine how excited I was when I found this project :D

Woot woot! I'll send and invite :)