-
Notifications
You must be signed in to change notification settings - Fork 2k
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
UI variables made to be unique by namespace and path #14072
UI variables made to be unique by namespace and path #14072
Conversation
Ember Asset Size actionAs of cb9f34a Files that got Bigger 🚨:
Files that stayed the same size 🤷:
|
Ember Test Audit comparison
|
Ember Test Audit flaky testsEmber Test Audit detected these flaky tests on ca98396:
|
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.
2 tests are failing. But good job so far.
ui/app/routes/variables/variable.js
Outdated
@@ -8,8 +8,9 @@ export default class VariablesVariableRoute extends Route.extend( | |||
) { | |||
@service store; | |||
model(params) { | |||
// console.log('paramas', params, this.store.findAll('variable')); |
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.
blocking
: remove
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.
Still here.
ui/app/routes/variables/variable.js
Outdated
@@ -8,8 +8,9 @@ export default class VariablesVariableRoute extends Route.extend( | |||
) { | |||
@service store; | |||
model(params) { | |||
// console.log('paramas', params, this.store.findAll('variable')); |
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.
Still here.
…ess (#14098) * Solves a harsh bug where you have namespace access but no secvars access * Lint cleanup * Remove unneeded condition
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
resolves #14066, #13950 and #14066
Adds namespaces to the stored identity of variables.
This means you can have multiple variables at
a/b/c/foo0
if their namespaces are different.IDs are now stored in the browser as
<pathname>@<namespace>
, ora/b/c/foo0@default
in the above case, and URLs reflect this:Note that we now display same-pathed, different-namespaced variables alongside one another: