Nice
Could you build it and have it in a build folder on GitHub. It will be easier to test.
Then you can also make it accessible as a GitHub.io web app. Click on settings in github
@bourgeoa@aveltens Thank you both, I was trying to deploy it to the GitHub Pages, but I was having issues with the client side routes in React Router. I tried the following suggestions: Notes on client-side routing, but unfortunately I was not able to get the routes to work properly, even with the suggested solutions. Would you have any ideas how to make it work?
I may at least push the build into the build branch to be used with a static server.
@aveltens Oh nice, thank you, glad you got it working! I added a comment to your picture
EDIT: Oh I can see that the comment does not get through, I suspect there are some problems with access rights. Although I was testing the application with multiple users with no issues.
Indeed, gh pages is not so easy with client side routing. I tend to not deploy such apps to GH pages but to my own server instead.
Yep, cannot see anything. How did you implement it? Will comments/likes go to my POD, or stored at yours and link to my data? If the latter, how do I get aware of that? notification via inbox?
Yeah, as I was trying to search for the solutions I encountered that multiple people are having issues with it.
It is implemented so that the application sets .acl for the given picture with append rights to be able to register the information about the comment which is stored in my POD. It seems as if the .acl is not created or accessible.
There is only a dedicated acl for the image, not for comments and likes. The image acl has Append permissions.
I am not really happy with this solution, since it allows anybody to append (possibly illegal) data to a publically available file of my POD… I think it would fit the solid philosophy better if you store your comments and likes at your own POD and send my a notification to my inbox, so that I could descide to link back to your comment / like or not.
But the specification is not finished in this area and it is really great that you have a working app, that could be a starting point to discuss what we want and improve the spec regarding this topic.
You state that “1554815783723.9011.ttl” is itself a “Like”, but that is not true, it is a turtle file (information resource). The Like should get a different URI. Proposal:
You should skip the .ttl file ending, because from a HTTP perspective the resource can be served in different representatinos (turtle, JSON-LD, …) and you should use relative URIs within the file to makes things more readable and less coupled to the absolut file location.
Looking good @carloss! Nice use of the solid-react-sdk. Feel free to reach out with any questions, comments, or suggestions on it. We appreciate any feedback we can get.
This is really cool! Fired it up locally and uploaded a few pictures. I like how cleanly it is to follow the data in the pod. Time to test “friends” photos!
Oh I see, that is weird, If the image has append rights enabled for public, then I should be able to append the info about my comment stored in my POD. The log returns 403 while adding a comment to your picture.
I can see your point here. Appending can be problematic in this area. I guess it could be handled in a way you describe. For me it was kind of difficult to decide how the data should be propagated.
I see, that is true. The ending should be dropped, and could be solved as you suggested. I think the data model is definitely to be worked on. Thank you very much @aveltens for the kind words and your constructive suggestions, I really do appreciate it.
Thank you @justin for the kind words! To be fair the solid-react-sdk helped me a lot to get oriented in the world of Solid and kickstart the development. I don’t think that I came across any issues while using it. As I looked at the timeline of releases, there is a lot to look forward to!
Thank you @james.martin for the kind words and trying the app! I added a comment to your picture. It seems that this time it came through, so you should be able to see it.
This might be caused by the Origin you use? From what domain are you using the app?
I totally understand that. It’s good that this did not stop you from providing working sofware, I appreciate it. The details can be discussed and changed if needed.
I have to thank you, for your great contribution to Solid.
How did you come across Solid? You registered just recently here. Have you been active on gitter or elsewhere before, or just developed the app “in secret” as a surprise? What are your plans?
After I tried it in practice now, I see that I misunderstood it. My Likes and Comments are indeed stored at my own pod - which is totally great - and we are talking just about adding the “inverse direction” here.
I am not sure about the origin, I am using the development version. As for the WebID provider, I am using the solid.community.
I came across Solid as a part of the thesis assignment which I chose at the uni. After that I started to get to know it more, and eventually developed Pixolid. I liked the idea of linked data and ownership, so that is why I chose it. My plans mainly are to contribute to the community with the app
Oh, alright.
Thank you @kidehen! @bourgeoa@aveltens I managed to set up a live demo for the app. So it is now available at