Skip to content

Conversation

@megoth
Copy link
Contributor

@megoth megoth commented Jul 25, 2019

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).

@megoth megoth requested review from Vinnl and timbl July 25, 2019 14:56
function buildHomePage (container: HTMLElement, subject: NamedNode) {
const wrapper = document.createElement('div')
container.appendChild(wrapper)
const shadow = wrapper.attachShadow({ mode: 'open' })
Copy link
Contributor

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?

Copy link
Contributor Author

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 {
Copy link
Contributor

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? :)

@megoth
Copy link
Contributor Author

megoth commented Aug 12, 2019

This was made obsolete by the changes merged into master from dev (#141).

Reopen if necessary.

@megoth megoth closed this Aug 12, 2019
@megoth megoth deleted the dashboard-as-pane branch August 12, 2019 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants