This repository has been archived by the owner. It is now read-only.
All settings panels report the screen name as settings
#3029
Milestone
Comments
settingssettings
|
cc @zaach. |
|
@zaach moved to |
settingssettings
|
This is a problem in general, not for just the iframe flow. |
|
switched to @shane-tomlinson |
|
Ah, well I'll dump my current thoughts: the issue is that we get the |
shane-tomlinson
pushed a commit
that referenced
this issue
Oct 9, 2015
There were two problems: * Subviews always took the screen name of their parent because subviews are created with the same options as the parent view, which includes the parent view's screen name. * If the user opened the site directly to a subview, the settings panel would take the screen name of the child view, because the settings panel took its screen name from the URL, which was the subview's URL. Add a `screenName` property with the correct name to all settings pages. If `screenName` is set on the prototype, ignore the screen name passed in on construction. fixes #3029
shane-tomlinson
pushed a commit
that referenced
this issue
Oct 9, 2015
There were two problems: * Subviews always took the screen name of their parent because subviews are created with the same options as the parent view, which includes the parent view's screen name. * If the user opened the site directly to a subview, the settings panel would take the screen name of the child view, because the settings panel took its screen name from the URL, which was the subview's URL. Add a `screenName` property with the correct name to all settings pages. If `screenName` is set on the prototype, ignore the screen name passed in on construction. fixes #3029
shane-tomlinson
pushed a commit
that referenced
this issue
Oct 9, 2015
There were two problems: * Subviews always took the screen name of their parent because subviews are created with the same options as the parent view, which includes the parent view's screen name. * If the user opened the site directly to a subview, the settings panel would take the screen name of the child view, because the settings panel took its screen name from the URL, which was the subview's URL. Add a `screenName` property with the correct name to all settings pages. If `screenName` is set on the prototype, ignore the screen name passed in on construction. fixes #3029
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not a problem if we banish the settings page from being iframed (#2945), but something I found while testing #3006.
The text was updated successfully, but these errors were encountered: