It’s been a bit of an uphill battle but I’ve made my first Solid app, which you can view here: https://dvo.github.io/profile/index.html. BTW, if you log in, a folder is created in your public folder called DVO. You can edit your vcard info from the front-end. Also, you can add friends now (there was a bug but i fixed it). However, I haven’t yet figured out how to unfriend anyone.
If you try to login you will notice that the authentication process is a little clunky. For some reason the session token isn’t being saved properly, and so i had to check the url for the token manually, and then present a button saying “VIEW PROFILE”. After they click the button the session token is saved. Hmmm.
Anyway, i’m afraid to say i’ve still got a lot of questions to ask
Once i’m further down the line and I’ve refactored the code, I’ll do write up (and maybe even a video) to explain to noobs like me how to build a Solid app
EDIT: There’s a few extra buttons on the signup page,which are for testing. Ignore the “send token” button. This sends a token to a chrome extension (another project i’m working on).
As mentioned the process is a bit clunky. For example, after being redirected back to the page, you need to click the ‘VIEW PROFILE’ button in order to store the session variable. Although I could probably do this automatically. It’s a bit weird though.
Green button does not work on my mobile device too. But I’ve your Devolution video, and I think you must be interested to @happybeing work that has port Solid on Safenetwork
I noticed that the buttons were working, until any kind of solid-auth-client statements were executed. Then it hangs. So i tried to login to https://otto-aa.github.io/solid-filemanager/ on mobile and experienced the same issue. Is anyone else able to login to this app on mobile?
@happybeing Are you able to login to your Solid plume blog on mobile? After scouring the forum for examples of apps to test, I couldn’t get any of them to work on my phone. I also tried plume (https://thewebalyst.solid.community/plume). When i clicked on the inrupt button in the popup, nothing happened. Could this be an issue with solid-auth-client? That’s what seems to be causing it to hang.
OK that’s great I changed a couple of things. I changed some code that was randomly selecting a service provider from the list, and i added touchstart to the event handler e.g. $('#submit').on('click touchstart'.... i’m not 100% sure which one (if any) was causing the problem. I’m still not able to get it working my mobile or Edge browser. Anyway, its a start
EDIT: Ah, there was one other thing too…I was using a chrome specific api, so I wrapped it in a try/catch statement. e.g. let port = chrome.runtime.connect(laserExtensionId);. That would probably explain why it didn’t work on FF.
Great work @glensimister!!! Congrats for its development
What about to talk about this app in the next Solid World event taking place next May, 7th?
Some feedback:
Choose a custom Pod provider should be great feature (being able to choose to store your data wherever you want). We’re also trying to implement the feature into Ohmypod! app
I have more friends than the listed ones. Not sure why only app shows 5 (is it configured by default number?)
When you mention ‘unfriend’ are you referring to ‘Delete’ it from your list?
@glensimister With regards the “doesn’t work in Edge” issue, I assume you are referring to the old EdgeHTML version of Edge. As Microsoft are replacing the old version with the new version based on Chromium (https://www.microsoft.com/en-us/edge), I would recommend testing your app using that. I have been using it on Windows and Mac(!) for several months and have found it reliable with all apps that work in other browsers working correctly. There are even a few reasons I prefer it to Chrome.
Thanks! Yeh i’d be happy to talk about the app. I’m still a noob, so i’ll probably listen more than talk
Regarding the friends issue. I fixed it (kind of). You now have about 12 friends. Does sound about right? The problem was that some of the webId’s were non-standard. For now, I threw in a try/catch to skip the ones causing an issue. But i’ll need to look deeper into it to show the non-standard ones too.
Yeh, I wasn’t able to delete a friend. I was trying something along the lines of me.friends.delete(friendId)
I probably need to loop through the list, find a match and delete it. I had a go but wasn’t successful. BTW I also fixed a bug that was preventing people from adding friends. I’ll need to add some kind of confirmation. Lots to do…
This is great. I just stumbled across Darcy. I changed the folder path in my app and i was able to pull the posts in. I wasn’t able to display the images though. The posts have a .post file extension. Could this be changed to .html? That way they would be more interoperable with other apps. Also, it means that people can edit the files in their POD. Who’s behind Darcy BTW? Nada?
Anyway, i’m going to look around to see what other apps i can use. If anyone has any suggestions please let me know. We have DVO, Darcy, Salut, a chat app (I saw one somewhere), Pixolid, a mailbox? It all just needs to be stitched together and we have a full-blown social media platform. Could we use a browser extension for a single-sign on?