Giter Site home page Giter Site logo

Comments (19)

adamjarling avatar adamjarling commented on July 3, 2024

Based on a recent conversation with @jessvu about what "Save" really means, we may need to re-think this feature.

from loc-speculative-annotations.

jaimemears avatar jaimemears commented on July 3, 2024

@adamjarling are you clear here on what’s needed for Save or do I need to assign to Jessica for comment?

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

@jaimemears @jessvu This modal is just placeholder UI and needs clarification or a decision on whether we're moving forward with it. I'm not sure we ever revisited how we're approaching "Saving" (local annotations to a Work) vs. "Downloading" an image file.

If we're going to keep the Save functionality, I'll need to block a decent amount of time to make sure it's tightened up.

from loc-speculative-annotations.

jaimemears avatar jaimemears commented on July 3, 2024

When you say "saving" local annotations to a work do you mean saving the annotations within the application environment, like we tried to do with the persistent link?

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

Yea, "Saving" (in my mind, but open to alternate terminology), is saving the current Fabric JS JSON object (containing user annotations), to the user's browser's localStorage. This data only saves in a specific browser, will not work in "private" browser mode, and will be lost if the user clears their browser application data cache.

Saving "saves" annotations to a specific work. So a user could potentially save different annotations for different works. The functionality which warns a user when switching would need to still be built in, if we're going to move forward and use this feature.

from loc-speculative-annotations.

jaimemears avatar jaimemears commented on July 3, 2024

I understand. And being able to pass or share the Fabric JS JSON object is impossible even if we get the save functionality to work in this way correct? Because its in local storage, and we'd need a server or something to share?

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

@jaimemears Sharing a current user annotation currently does work and is functional, it just creates a share URL which is humongous due to the size of the FabricJS JSON object (which is compressed as much as possible).

This process could probably be streamlined to provide better UX, by building a simple back-end service.

from loc-speculative-annotations.

jaimemears avatar jaimemears commented on July 3, 2024

oh i thought after 4 or 5 annotations the url no longer would render in a browser because it was so long?

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

This is a possibility, but I never really thoroughly tested it's limits. After one annotation object (ie. a Circle or Stamp), it's pretty long so yea more complex ones just make the compressed url longer. I can test this though and see where or if it maxes out? If, we think we might want to keep this functionality as-is?

from loc-speculative-annotations.

CourtneyMcClellan avatar CourtneyMcClellan commented on July 3, 2024

Seems removing the share functionality, can we close this?

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

@CourtneyMcClellan Yes, we can close the issue

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

Note this functionality (the UI components) will be left in place and documented for possible future integrations.

from loc-speculative-annotations.

CourtneyMcClellan avatar CourtneyMcClellan commented on July 3, 2024

Can we close this?

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

@CourtneyMcClellan, @jaimemears was asking about this and we had a Slack conversation about the functionality of "saving" previous revisions. Sounds like she was leaning towards not including that functionality in this release, and if you two want to confirm that decision, then yes we can close this issue I'd say.

from loc-speculative-annotations.

CourtneyMcClellan avatar CourtneyMcClellan commented on July 3, 2024

from loc-speculative-annotations.

jaimemears avatar jaimemears commented on July 3, 2024

@adamjarling has estimated 4-8 hours of work for this issue to be implemented. Assigning to @CourtneyMcClellan . This is a tough call!

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

Pushing up round one of what this would look like. Note it still may be a bit buggy, but hopefully this gives the general idea and how it'd act more or less?

from loc-speculative-annotations.

CourtneyMcClellan avatar CourtneyMcClellan commented on July 3, 2024

This seems great and is working well for me!

from loc-speculative-annotations.

jaimemears avatar jaimemears commented on July 3, 2024

closing this, courtney is satisfied with the save functionality

from loc-speculative-annotations.

Related Issues (20)

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.