fyne icon indicating copy to clipboard operation
fyne copied to clipboard

Implement storage APIs for web driver

Open dweymouth opened this issue 1 year ago • 5 comments

Checklist

  • [X] I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • [X] This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

The storage APIs are currently unimplemented for web.

Related: #2734

Is it possible to construct a solution with the existing API?

No response

Describe the solution you'd like to see.

Storage APIs implemented for web. Local storage will probably not be usable here due to size limitations.

dweymouth avatar Feb 12 '24 00:02 dweymouth

This could probably be done with the IndexedDB API which is suitable for storing larger amounts of data than the 5MB-10MB limit of localStorage

dweymouth avatar Feb 12 '24 02:02 dweymouth

$250 is currently allocated for eligible contributors completing this work (see Contributing: Membership). (split from the original ticket #2734)

andydotxyz avatar Feb 12 '24 09:02 andydotxyz

This comment from @kkoreilly may be relevant here

dweymouth avatar Feb 21 '24 16:02 dweymouth

It's probably more heavyweight (eg we don't need unix permissions, etc) and pulls in more dependencies than we want, but could be a good guide for how to build our own filesystem-like abstraction on indexeddb

dweymouth avatar Feb 21 '24 16:02 dweymouth

Yep, if you're not trying to implement the stdlib os API, you should need a lot less code. Most of the logic in jsfs is implementing different os functions that aren't needed for simple file storage.

kkoreilly avatar Feb 21 '24 18:02 kkoreilly

Hey, I am new to this Org . I just wanted to know that is this issue open and if anyone is already working on this.

bilalshaikh292 avatar Jul 07 '24 19:07 bilalshaikh292

Nobody was working on this - however it is part of the upcoming 2.5 release which is due imminently. So we are looking for a quick turnaround (i.e. days remaining) - is that possible?

andydotxyz avatar Jul 07 '24 21:07 andydotxyz

@andydotxyz just got a need to work on a university Project. Sorry won't be able to do this. Thanks for support.

bilalshaikh292 avatar Jul 09 '24 21:07 bilalshaikh292

Let's not push it that far. No new APIs required so we should be able to pull it into 2.5.x (hopefully the .1 at the latest, but who knows...)

andydotxyz avatar Jul 10 '24 08:07 andydotxyz