Giter Site home page Giter Site logo

Comments (7)

angelo-v avatar angelo-v commented on August 17, 2024 2

Yes, it works thanks!

from solid-focus.

NoelDeMartin avatar NoelDeMartin commented on August 17, 2024 1

Ok you're right, I did implement it with a select. I'll fix this together with looking into the pim:storage.

Thanks for reporting :).

from solid-focus.

NoelDeMartin avatar NoelDeMartin commented on August 17, 2024

How did you manage to create the workspaces in your private storage? I am aware that I have to implement something to let users chose their storage, and I have to learn about pim:storage. But the current implementation does not support choosing storage location, so it should have used the default.

from solid-focus.

angelo-v avatar angelo-v commented on August 17, 2024

Yes it does. When you create a workspace, you can select a storage. I added /public as well as /private to my pim:storage relation and both get listed in the selection box on solid-focus

from solid-focus.

NoelDeMartin avatar NoelDeMartin commented on August 17, 2024

@angelo-v I've looked into the documentation for pim:storage and now I understand it a little bit :D.

After doing so, I've looked at the code and seems like I cannot reproduce your issue, it's working correctly on my end. Could you give more details to reproduce the problem?

In case you want to look at the code, this part here is where the workspaces are loaded:

for (const storageUrl of user.storages) {
    containers.push(... await Solid.getContainers(storageUrl, [TASK_GROUP]));
}

As you can see, workspaces are loaded from all storages not only the root. And the list of storages is the same that is used in the form to create workspaces. So if it was shown there, it should be loaded here.

What server are you using? I am using node-solid-server for local development.

from solid-focus.

angelo-v avatar angelo-v commented on August 17, 2024

Hi, I am using my own installation of NSS 5. My WebID is https://angelo.veltens.org/profile/card#me

This is how I reproduce it:

  1. Visit https://noeldemartin.github.io/solid-focus/#
  2. Enter angelo.veltens.org and log in.
  3. Solid-Focus loads my profile correctly
  4. Solid-Focus loads my storage at https://angelo.veltens.org/private/ (a ldb:BasicContainer) correctly
  5. This container contains another container with relative ID <personal/>
  6. Solid-Focus tries to load https://angelo.veltens.org/personal instead of https://angelo.veltens.org/private/personal

So it seems to use <personal/> as a absolute path, instead of a path relative to </private/>

from solid-focus.

NoelDeMartin avatar NoelDeMartin commented on August 17, 2024

@angelo-v Ok I could reproduce it and fix it :). I haven't released a new version, but you can use the development version to see that the bug is fixed here: https://solid-focus.netlify.com

from solid-focus.

Related Issues (13)

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.