-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reintroduce basicPreferences #144
Comments
@timbl could you link to the earlier version of your work on this? |
Thanks. And what did not quite work about it earlier?
@timbl, do you have specifics on this? :) |
And some other questions about the current code that someone could hopefully shed a light on:
|
All I thought I added was a form with two checkboxes, one for "I am a developer" and one "I am a power user". The inline form should be in a back-quoted ecmascript multiline string for readability, not an escaped single line string. The only other thing I may have added was chat preferences, like whether you like your chat images expanded inline and so on. Don't worry about the 404 for the form ... the URI of the form is more or less arbitrary ... as the form is actually included with the JS code. It is parsed inline. |
The source is now dashboard/basicPreferences.source.ts because ofa way of solving import incompatibility between nodejs and TS |
Because the nodejs and ES people did not end up making Default Export compatible at runtime, and Arne wanted to use default export for panes.
No, it is data browser UI Ontology Form Language.
Yes... you need to know about it. It is an easy tool for generating panes etc.
It is a a URI I made up for a constant form. In fact we don't load it run time, so the URI could be anything. I suggest replacing that constant URL with a constant urn:uuid:___ URI instead.
Not sure .. have to link it back in and try it.
I put in: checkboxes for being a developer and/or a poer user, and some Medium term, this should more or less everything we have been talking about in an Advanced heading, and a Basic heading things like languages I prefer. If you can find a good list of language codes we can import, that would be good for accessibility. |
The form system is nice, as it is simple and powerful. A form is a simple bit of recursive RDF defining a form. The implementation in solid-ui is a simple recursive bit of JS which renders a form. The form elements each know which bit of the linked data web is their state. There is a form for editing forms. It would be great at some point to have a parallel implementation based on React components, so different systems could re-use the same forms. |
|
Sorry about the lack of documentation! |
A field which classifies something like a user into different subclasses is used like |
For reference, this is the current state: (Edit: Well, that was the state with an old version of solid-ui. I've now updated it to So I think what needs to be done to close this issue, although I'm not sure how that's different from #145 (maybe @megoth can clarify), is:
|
Uncertain about this last one, but apart from that you're correct. I also read Tim that we should include trustedApps in the basicPreferences (and to remove the standalone tab that is has now, I would assume). Last, we need to make the checkboxes for Developer and Power User mode have an actual effect (i.e. add |
This one might be a big task, so we might want to split into a separate issue. |
Did I then misunderstand what @timbl said?
Yes, but that is #151.
Given that that's not mentioned in #145, I presumed that that would certainly be out of scope for this Issue. |
From @timbl: these settings should be saved in your private settings |
Wait, what? What are private settings? In my profile on inrupt.net I only see
Nothing explicitly private or public about them? |
True, but if you check the ACL-resource for the file, you'll see that it's private (i.e. only you have access to it) by default. |
Ah right, so there are no public preferences? Good, I wouldn't know where else to save them other than in the |
Yes, there are no public preferences by default (a user could of course make their preferences public, if they want). |
@timbl What's the status on this? I see there's a new commit by you to this branch, but that doesn't seem to work yet on my side... |
Tim introduced a new global dashboard pane called basicPreferences. This didn't quite work before our latest release, so we decided to remove it from the list of global dashboard panes and add it back later.
This issue is about adding it back, and fixing configurations that Tim added earlier (ask him about the specifics of this).
The text was updated successfully, but these errors were encountered: