-
Notifications
You must be signed in to change notification settings - Fork 45
Dashboard as pane #134
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
Dashboard as pane #134
Conversation
But broken global dashboard as a consequence
Is shown when you're unauthenticated or authenticated as someone other than the one who controls the Pod
| function buildHomePage (container: HTMLElement, subject: NamedNode) { | ||
| const wrapper = document.createElement('div') | ||
| container.appendChild(wrapper) | ||
| const shadow = wrapper.attachShadow({ mode: 'open' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the homepage is shown inside the data browser in the area reserved for the Pane, is that correct? I also just realised that Shadow DOM isn't supported in IE11, is that something we're OK with?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The data browser is currently not working with IE at all - so in my mind, it is not something we can prioritize at the moment.
But we should be mindful of this in the future, so glad that you mentioned this.
| refreshTarget: HTMLTableElement; | ||
| } | ||
|
|
||
| export interface SolidSession { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Time for another PR to DefinitelyTyped, I guess? :)
|
This was made obsolete by the changes merged into Reopen if necessary. |
Introduces the dashboard w/global (context-free) panes that Tim introduced in #123 as a pane, that is shown when you're authenticated on a Pod you control.
As a fallback (shown for guests - i.e. unauthenticated users and authenticated users who do not control the Pod they're visiting) we generate a homepage-like view on the fly (based on the index.html that might be removed from Node-solid-server).