Skip to content
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

Modernize Route Tab #1016

Merged
merged 2 commits into from
Aug 30, 2019
Merged

Conversation

nummi
Copy link
Collaborator

@nummi nummi commented Aug 28, 2019

  • @
  • this
  • action
  • on

Copy link
Member

@RobbieTheWagner RobbieTheWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few questions, but overall looking good!


export default Component.extend({
// passed as an attribute to the component
currentRoute: null,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we no longer want these defaults to null?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed these because sooner or later this will become a Glimmer component and currentRoute will live in the args hash.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy to put it back for now.

id="options-hideRoutes"
}}
<Input
@id="options-hideRoutes"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be id instead of @id? Assuming id is meant to be set on the element. Not sure if the input helper is a special case or not. Have you checked in the DOM to ensure the id is there and the input is working as expected?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. I guess the input helper is a special case

id="options-hideSubstates"
}}
<Input
@id="options-hideSubstates"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Hide Substates
</label>
</div>

<div class="divider"></div>

<div class="toolbar__search js-filter-views">
{{ui/toolbar-search-field value=searchValue}}
{{ui/toolbar-search-field value=this.searchValue}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we make this <Ui::Toolbar etc?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to take another pass and convert all the Ui components at one time.

@RobbieTheWagner RobbieTheWagner merged commit 64da67d into emberjs:master Aug 30, 2019
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
* Remove unused component template

* Modernize Route tab

- @
- this
- action
- on
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.

None yet

2 participants