1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00
Ghost-Admin/app/mixins
Kevin Ansfield 57b27e4b9c 🐛 fix sticky dropdown links (#621)
closes https://github.com/TryGhost/Ghost/issues/8269

- swaps the usage of our custom `gh-dropdown` component in the user menu dropdown for the `ember-wormhole` based `ember-basic-dropdown` that is used elsewhere in the app and will fully replace `gh-dropdown` in the future
- adds `gh-basic-dropdown` component that extends from `ember-basic-dropdown` and hooks into our `dropdown` service so that we can programatically close dropdowns from disparate areas of the app
- modifies the `body-event-listener` mixin to pass the click event through to it's consumers
- modifies the `bodyClick` handler in the `dropdown` service to check if the click actually originated from an ember-basic-dropdown element - this body click handler will go away once we've fully switched to `gh-basic-dropdown`
- adds `ember-native-dom-helpers` to provide consistency between acceptance and integration tests (this is the start of another refactor, eventually this addon will disappear as part of ember's [grand testing unification project](https://github.com/rwjblue/rfcs/blob/42/text/0000-grand-testing-unification.md))
2017-04-05 15:26:01 +01:00
..
body-event-listener.js 🐛 fix sticky dropdown links (#621) 2017-04-05 15:26:01 +01:00
current-user-settings.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
dropdown-mixin.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
editor-base-controller.js deps: ember-concurrency@0.8.1 2017-03-29 10:47:46 +01:00
editor-base-route.js 🎨 convert post-settings-menu into a component (#137) 2017-03-10 14:30:01 +00:00
infinite-scroll.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
pagination.js New content screen prototype (#503) 2017-01-25 21:05:28 +01:00
settings-menu-component.js 🎨 convert post-settings-menu into a component (#137) 2017-03-10 14:30:01 +00:00
shortcuts-route.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
shortcuts.js remove zen styling (#160) 2016-07-31 20:35:19 +01:00
slug-url.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
style-body.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
text-input.js convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
unauthenticated-route-mixin.js 🎨 remove usage of ghost's {{asset}} helper in index.html (#574) 2017-03-14 17:04:46 +01:00
validation-engine.js "400 Version Mismatch" error handling 2016-07-08 14:56:26 +01:00
validation-state.js fix double-render issues with validation-state mixin 2017-02-01 17:03:38 -06:00