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

Tidy up deprecations tab #1030

Merged
merged 3 commits into from
Sep 18, 2019
Merged

Conversation

nummi
Copy link
Collaborator

@nummi nummi commented Sep 18, 2019

  • deprecation-item as template-only component
  • remove observer from deprecations controller
  • vertical-collection in place of List table
  • this, {{on}}, action, <Component/> etc.
  • UI more readable (IMHO)

With source maps:

Screen Shot 2019-09-18 at 11 41 43 AM

Without source maps:

image

Old and busted:

image

- deprecation-item as template-only component
- remove observer from deprecations controller
- vertical-collection in place of List table
- this, {{on}}, action, etc.
@@ -0,0 +1,71 @@
$units: 0, 1, 2, 3, 4;
Copy link
Member

Choose a reason for hiding this comment

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

I would prefer to add tailwind, rather than maintaining our own custom utils. What would your thoughts be on that?


filtered: computed('[email protected]', 'search', function() {
return this.model
.filter((item) => searchMatch(get(item, 'message'), this.search));
}),

optionsChanged: observer('options.toggleDeprecationWorkflow', function() {
Copy link
Member

Choose a reason for hiding this comment

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

Always nice to see observers removed 😄

@RobbieTheWagner
Copy link
Member

We can switch to tailwind later, going ahead and merging.

@RobbieTheWagner RobbieTheWagner merged commit 580ccf2 into emberjs:master Sep 18, 2019
patricklx pushed a commit to patricklx/ember-inspector that referenced this pull request Sep 19, 2022
* Ui::Accordion

* Utility CSS classes

* Cleanup Deprecations tab

- deprecation-item as template-only component
- remove observer from deprecations controller
- vertical-collection in place of List table
- this, {{on}}, action, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants