ember-inspector 4.13.1 → 4.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (564) hide show
  1. package/.ember-cli +1 -9
  2. package/.github/workflows/build.yml +33 -112
  3. package/.github/workflows/plan-release.yml +26 -48
  4. package/.github/workflows/publish.yml +129 -31
  5. package/.prettierignore +2 -13
  6. package/.prettierrc.js +10 -4
  7. package/.release-plan.json +13 -4
  8. package/.stylelintignore +8 -0
  9. package/.stylelintrc.js +10 -1
  10. package/.template-lintrc.js +2 -1
  11. package/.tool-versions +2 -2
  12. package/.watchmanconfig +1 -1
  13. package/CHANGELOG.md +137 -0
  14. package/DEVELOPMENT.md +50 -0
  15. package/PRIVACY.md +3 -0
  16. package/README.md +14 -50
  17. package/RELEASE.md +15 -50
  18. package/app/components/app-picker.hbs +2 -2
  19. package/app/components/component-tree-item.hbs +14 -14
  20. package/app/components/component-tree-toolbar.hbs +17 -3
  21. package/app/components/{date-property-field.js → date-property-field.ts} +6 -5
  22. package/app/components/deprecation-item-source.hbs +1 -1
  23. package/app/components/deprecation-item.hbs +1 -1
  24. package/app/components/deprecations-toolbar.hbs +1 -1
  25. package/app/components/item-types.hbs +7 -7
  26. package/app/components/list-cell.hbs +3 -3
  27. package/app/components/list-content.hbs +4 -3
  28. package/app/components/list-content.ts +96 -0
  29. package/app/components/list.hbs +3 -3
  30. package/app/components/list.js +7 -7
  31. package/app/components/model-types-toolbar.hbs +3 -3
  32. package/app/components/object-inspector/component-parents.hbs +33 -0
  33. package/app/components/object-inspector/component-parents.js +43 -0
  34. package/app/components/object-inspector/dependent-keys.hbs +4 -4
  35. package/app/components/object-inspector/errors.hbs +4 -4
  36. package/app/components/object-inspector/properties-all.hbs +1 -1
  37. package/app/components/object-inspector/properties-base.js +2 -0
  38. package/app/components/object-inspector/properties-grouped.hbs +5 -5
  39. package/app/components/object-inspector/property.hbs +36 -34
  40. package/app/components/object-inspector/property.ts +34 -17
  41. package/app/components/object-inspector/sort-properties.js +12 -4
  42. package/app/components/object-inspector/toggle.hbs +9 -0
  43. package/app/components/object-inspector/toggle.js +6 -0
  44. package/app/components/object-inspector.hbs +11 -9
  45. package/app/components/object-inspector.js +1 -1
  46. package/app/components/promise-item.hbs +11 -11
  47. package/app/components/promise-item.js +8 -6
  48. package/app/components/promise-tree-toolbar.hbs +5 -5
  49. package/app/components/records-toolbar.hbs +2 -2
  50. package/app/components/render-item.hbs +4 -4
  51. package/app/components/render-item.ts +12 -9
  52. package/app/components/render-tree-toolbar.hbs +1 -1
  53. package/app/components/route-cell-name.hbs +1 -1
  54. package/app/components/route-cell-name.js +3 -2
  55. package/app/components/route-tree-toolbar.hbs +2 -2
  56. package/app/components/scroll-container.js +2 -0
  57. package/app/components/side-nav.hbs +5 -5
  58. package/app/components/side-nav.js +1 -1
  59. package/{lib/ui/addon/components → app/components/ui}/drag-handle.hbs +4 -4
  60. package/{lib/ui/addon/components → app/components/ui}/drag-handle.js +3 -1
  61. package/{lib/ui/addon/components → app/components/ui}/empty-message.hbs +1 -1
  62. package/{lib/ui/addon/components → app/components/ui}/error-page.hbs +3 -3
  63. package/{lib/ui/addon/components → app/components/ui}/resizable-column.js +1 -1
  64. package/{lib/ui/addon/components → app/components/ui}/toolbar-clear-button.hbs +1 -1
  65. package/{lib/ui/addon/components → app/components/ui}/toolbar-reload-button.hbs +1 -1
  66. package/{lib/ui/addon/components → app/components/ui}/toolbar-search-field.hbs +2 -2
  67. package/app/computed/{debounce.js → debounce.ts} +7 -5
  68. package/app/config/environment.d.ts +5 -2
  69. package/app/controllers/app-config.js +1 -0
  70. package/app/controllers/application.js +36 -71
  71. package/app/controllers/component-tree.js +26 -7
  72. package/app/controllers/container-type.js +2 -1
  73. package/app/controllers/container-types/{index.js → index.ts} +5 -2
  74. package/app/controllers/container-types.js +3 -6
  75. package/app/controllers/deprecations.js +16 -11
  76. package/app/controllers/libraries.js +1 -0
  77. package/app/controllers/model-types.js +7 -13
  78. package/app/controllers/promise-tree.ts +149 -0
  79. package/app/controllers/records.js +18 -26
  80. package/app/controllers/{render-tree.js → render-tree.ts} +54 -45
  81. package/app/controllers/route-tree.js +7 -5
  82. package/app/helpers/build-style.js +1 -1
  83. package/app/index.html +1 -19
  84. package/app/initializers/setup.js +1 -1
  85. package/app/libs/promise-assembler.ts +249 -0
  86. package/app/libs/resizable-columns.js +10 -10
  87. package/app/models/{promise.js → promise.ts} +72 -69
  88. package/app/{router.js → router.ts} +1 -1
  89. package/app/routes/app-detected.js +3 -5
  90. package/app/routes/application.js +9 -13
  91. package/app/routes/deprecations.js +7 -16
  92. package/app/routes/launch.js +2 -1
  93. package/app/routes/libraries.js +2 -1
  94. package/app/routes/model-type.js +2 -3
  95. package/app/routes/model-types.ts +57 -0
  96. package/app/routes/promise-tree.ts +63 -0
  97. package/app/routes/records.ts +78 -0
  98. package/app/routes/render-tree.ts +93 -0
  99. package/app/routes/route-tree.js +0 -1
  100. package/app/routes/{tab.js → tab.ts} +9 -2
  101. package/app/routes/whats-new.js +6 -4
  102. package/app/services/adapters/{basic.js → basic.ts} +36 -30
  103. package/app/services/adapters/{bookmarklet.js → bookmarklet.ts} +17 -24
  104. package/app/services/adapters/{chrome.js → chrome.ts} +1 -2
  105. package/app/services/adapters/{web-extension.js → web-extension.ts} +46 -46
  106. package/app/services/adapters/websocket.ts +40 -0
  107. package/app/services/layout.ts +124 -0
  108. package/app/services/port.ts +195 -0
  109. package/app/services/storage/{local.js → local.ts} +7 -20
  110. package/app/services/storage/{memory.js → memory.ts} +6 -21
  111. package/app/services/{storage.js → storage.ts} +25 -23
  112. package/app/styles/app.scss +1 -0
  113. package/app/styles/base.scss +6 -2
  114. package/app/styles/colors.scss +33 -31
  115. package/app/styles/component_tree.scss +56 -51
  116. package/app/styles/dropdown.scss +2 -2
  117. package/app/styles/ember-table.scss +3 -3
  118. package/app/styles/mixin.scss +26 -26
  119. package/app/styles/object_inspector.scss +30 -21
  120. package/{lib/ui/addon/styles → app/styles/ui}/_disclosure-triangle.scss +3 -1
  121. package/{lib/ui/addon/styles → app/styles/ui}/_drag-handle.scss +7 -7
  122. package/{lib/ui/addon/styles → app/styles/ui}/_empty-message.scss +1 -1
  123. package/{lib/ui/addon/styles → app/styles/ui}/_error-page.scss +8 -7
  124. package/{lib/ui/addon/styles → app/styles/ui}/_list.scss +46 -45
  125. package/{lib/ui/addon/styles → app/styles/ui}/_nav.scss +29 -27
  126. package/app/styles/ui/_object-inspector-toggle.scss +4 -0
  127. package/{lib/ui/addon/styles → app/styles/ui}/_pill.scss +4 -4
  128. package/{lib/ui/addon/styles → app/styles/ui}/_send-to-console.scss +1 -1
  129. package/{lib/ui/addon/styles → app/styles/ui}/_split.scss +26 -20
  130. package/app/styles/ui/_ui.scss +13 -0
  131. package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_checkbox.scss +5 -5
  132. package/app/styles/ui/toolbar/_icon-button.scss +80 -0
  133. package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_index.scss +6 -5
  134. package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_radio.scss +10 -10
  135. package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_search.scss +5 -3
  136. package/app/styles/utils.scss +408 -122
  137. package/app/templates/application.hbs +22 -19
  138. package/app/templates/component-tree.hbs +4 -1
  139. package/app/templates/deprecations.hbs +2 -3
  140. package/app/templates/info.hbs +10 -10
  141. package/app/templates/promise-tree.hbs +1 -1
  142. package/app/templates/render-tree.hbs +1 -1
  143. package/app/templates/route-tree.hbs +1 -1
  144. package/app/utils/escape-reg-exp.ts +3 -2
  145. package/app/utils/nullish.ts +7 -0
  146. package/app/utils/parse-text.ts +4 -5
  147. package/app/utils/truncate.js +0 -1
  148. package/config/ember-cli-update.json +5 -3
  149. package/config/ember-try.js +117 -72
  150. package/config/environment.js +1 -1
  151. package/config/optional-features.json +2 -1
  152. package/dist/bookmarklet/load_inspector.js +31 -11
  153. package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  154. package/dist/bookmarklet/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  155. package/dist/bookmarklet/panes-3-16-0/assets/chunk.524.aca67dc376e8cd35b522.js +40 -0
  156. package/dist/bookmarklet/panes-3-16-0/assets/chunk.582.d3d80e94c4f59dc3b65d.js +42 -0
  157. package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.css +997 -156
  158. package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.js +560 -613
  159. package/dist/bookmarklet/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
  160. package/dist/bookmarklet/panes-3-16-0/assets/svg/focus-point-round.svg +9 -0
  161. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
  162. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-components.svg +2 -2
  163. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-container.svg +1 -1
  164. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-data.svg +1 -1
  165. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
  166. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-info.svg +3 -3
  167. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
  168. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
  169. package/dist/bookmarklet/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
  170. package/dist/bookmarklet/panes-3-16-0/assets/svg/sidebar-toggle-trailing.svg +9 -0
  171. package/dist/bookmarklet/panes-3-16-0/assets/vendor.css +4 -841
  172. package/dist/bookmarklet/panes-3-16-0/assets/vendor.js +4277 -5152
  173. package/dist/bookmarklet/panes-3-16-0/base-object-HAEdWjmg.js +59 -0
  174. package/dist/bookmarklet/panes-3-16-0/basic-B1dkgN3d.js +149 -0
  175. package/dist/bookmarklet/panes-3-16-0/basic-debug.js +10 -0
  176. package/dist/bookmarklet/panes-3-16-0/bookmarklet-BZWtwuX-.js +32 -0
  177. package/dist/bookmarklet/panes-3-16-0/bookmarklet-debug.js +10 -0
  178. package/dist/bookmarklet/panes-3-16-0/chrome-P6FSEUf1.js +10 -0
  179. package/dist/bookmarklet/panes-3-16-0/chrome-debug.js +10 -0
  180. package/dist/bookmarklet/panes-3-16-0/ember.js +166 -0
  181. package/dist/bookmarklet/panes-3-16-0/ember_debug.js +7 -11018
  182. package/dist/bookmarklet/panes-3-16-0/evented-BCTya3yE.js +62 -0
  183. package/dist/bookmarklet/panes-3-16-0/firefox-8F84zphP.js +30 -0
  184. package/dist/bookmarklet/panes-3-16-0/firefox-debug.js +10 -0
  185. package/dist/bookmarklet/panes-3-16-0/index.html +4 -23
  186. package/dist/bookmarklet/panes-3-16-0/internals-CRmXMEzb.js +12 -0
  187. package/dist/bookmarklet/panes-3-16-0/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  188. package/dist/bookmarklet/panes-3-16-0/main.js +7669 -0
  189. package/dist/bookmarklet/panes-3-16-0/port.js +108 -0
  190. package/dist/bookmarklet/panes-3-16-0/profile-node.js +60 -0
  191. package/dist/bookmarklet/panes-3-16-0/promise-assembler.js +218 -0
  192. package/dist/bookmarklet/panes-3-16-0/runloop-6_0lpzTA.js +1138 -0
  193. package/dist/bookmarklet/panes-3-16-0/start-inspector-BIYQArZn.js +334 -0
  194. package/dist/bookmarklet/panes-3-16-0/type-check.js +119 -0
  195. package/dist/bookmarklet/panes-3-16-0/version.js +90 -0
  196. package/dist/bookmarklet/panes-3-16-0/versions.js +4 -0
  197. package/dist/bookmarklet/panes-3-16-0/web-extension-OWnXJ_XK.js +144 -0
  198. package/dist/bookmarklet/panes-3-16-0/websocket-BSUvUqER.js +58 -0
  199. package/dist/bookmarklet/panes-3-16-0/websocket-debug.js +10 -0
  200. package/dist/chrome/background.js +26 -21
  201. package/dist/chrome/boot.js +1 -1
  202. package/dist/chrome/content-script.js +12 -11
  203. package/dist/chrome/devtools.js +12 -3
  204. package/dist/chrome/manifest.json +4 -2
  205. package/dist/chrome/options.js +17 -12
  206. package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  207. package/dist/chrome/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  208. package/dist/chrome/panes-3-16-0/assets/chunk.524.aca67dc376e8cd35b522.js +40 -0
  209. package/dist/chrome/panes-3-16-0/assets/chunk.582.d3d80e94c4f59dc3b65d.js +42 -0
  210. package/dist/chrome/panes-3-16-0/assets/ember-inspector.css +997 -156
  211. package/dist/chrome/panes-3-16-0/assets/ember-inspector.js +560 -613
  212. package/dist/chrome/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
  213. package/dist/chrome/panes-3-16-0/assets/svg/focus-point-round.svg +9 -0
  214. package/dist/chrome/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
  215. package/dist/chrome/panes-3-16-0/assets/svg/nav-components.svg +2 -2
  216. package/dist/chrome/panes-3-16-0/assets/svg/nav-container.svg +1 -1
  217. package/dist/chrome/panes-3-16-0/assets/svg/nav-data.svg +1 -1
  218. package/dist/chrome/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
  219. package/dist/chrome/panes-3-16-0/assets/svg/nav-info.svg +3 -3
  220. package/dist/chrome/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
  221. package/dist/chrome/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
  222. package/dist/chrome/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
  223. package/dist/chrome/panes-3-16-0/assets/svg/sidebar-toggle-trailing.svg +9 -0
  224. package/dist/chrome/panes-3-16-0/assets/vendor.css +4 -841
  225. package/dist/chrome/panes-3-16-0/assets/vendor.js +4277 -5152
  226. package/dist/chrome/panes-3-16-0/base-object-HAEdWjmg.js +59 -0
  227. package/dist/chrome/panes-3-16-0/basic-B1dkgN3d.js +149 -0
  228. package/dist/chrome/panes-3-16-0/basic-debug.js +10 -0
  229. package/dist/chrome/panes-3-16-0/bookmarklet-BZWtwuX-.js +32 -0
  230. package/dist/chrome/panes-3-16-0/bookmarklet-debug.js +10 -0
  231. package/dist/chrome/panes-3-16-0/chrome-P6FSEUf1.js +10 -0
  232. package/dist/chrome/panes-3-16-0/chrome-debug.js +10 -0
  233. package/dist/chrome/panes-3-16-0/ember.js +166 -0
  234. package/dist/chrome/panes-3-16-0/ember_debug.js +7 -11018
  235. package/dist/chrome/panes-3-16-0/evented-BCTya3yE.js +62 -0
  236. package/dist/chrome/panes-3-16-0/firefox-8F84zphP.js +30 -0
  237. package/dist/chrome/panes-3-16-0/firefox-debug.js +10 -0
  238. package/dist/chrome/panes-3-16-0/index.html +4 -23
  239. package/dist/chrome/panes-3-16-0/internals-CRmXMEzb.js +12 -0
  240. package/dist/chrome/panes-3-16-0/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  241. package/dist/chrome/panes-3-16-0/main.js +7669 -0
  242. package/dist/chrome/panes-3-16-0/port.js +108 -0
  243. package/dist/chrome/panes-3-16-0/profile-node.js +60 -0
  244. package/dist/chrome/panes-3-16-0/promise-assembler.js +218 -0
  245. package/dist/chrome/panes-3-16-0/runloop-6_0lpzTA.js +1138 -0
  246. package/dist/chrome/panes-3-16-0/start-inspector-BIYQArZn.js +334 -0
  247. package/dist/chrome/panes-3-16-0/type-check.js +119 -0
  248. package/dist/chrome/panes-3-16-0/version.js +90 -0
  249. package/dist/chrome/panes-3-16-0/versions.js +4 -0
  250. package/dist/chrome/panes-3-16-0/web-extension-OWnXJ_XK.js +144 -0
  251. package/dist/chrome/panes-3-16-0/websocket-BSUvUqER.js +58 -0
  252. package/dist/chrome/panes-3-16-0/websocket-debug.js +10 -0
  253. package/dist/chrome/scripts/in-page-script.js +19 -13
  254. package/dist/firefox/background.js +26 -21
  255. package/dist/firefox/boot.js +1 -1
  256. package/dist/firefox/content-script.js +12 -11
  257. package/dist/firefox/devtools.js +12 -3
  258. package/dist/firefox/manifest.json +4 -2
  259. package/dist/firefox/options.js +17 -12
  260. package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  261. package/dist/firefox/panes-3-16-0/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  262. package/dist/firefox/panes-3-16-0/assets/chunk.524.aca67dc376e8cd35b522.js +40 -0
  263. package/dist/firefox/panes-3-16-0/assets/chunk.582.d3d80e94c4f59dc3b65d.js +42 -0
  264. package/dist/firefox/panes-3-16-0/assets/ember-inspector.css +997 -156
  265. package/dist/firefox/panes-3-16-0/assets/ember-inspector.js +560 -613
  266. package/dist/firefox/panes-3-16-0/assets/svg/ellipsis.svg +3 -3
  267. package/dist/firefox/panes-3-16-0/assets/svg/focus-point-round.svg +9 -0
  268. package/dist/firefox/panes-3-16-0/assets/svg/nav-bug.svg +1 -1
  269. package/dist/firefox/panes-3-16-0/assets/svg/nav-components.svg +2 -2
  270. package/dist/firefox/panes-3-16-0/assets/svg/nav-container.svg +1 -1
  271. package/dist/firefox/panes-3-16-0/assets/svg/nav-data.svg +1 -1
  272. package/dist/firefox/panes-3-16-0/assets/svg/nav-deprecations.svg +3 -3
  273. package/dist/firefox/panes-3-16-0/assets/svg/nav-info.svg +3 -3
  274. package/dist/firefox/panes-3-16-0/assets/svg/nav-promises.svg +2 -2
  275. package/dist/firefox/panes-3-16-0/assets/svg/nav-render-performance.svg +2 -2
  276. package/dist/firefox/panes-3-16-0/assets/svg/nav-route-tree.svg +7 -7
  277. package/dist/firefox/panes-3-16-0/assets/svg/sidebar-toggle-trailing.svg +9 -0
  278. package/dist/firefox/panes-3-16-0/assets/vendor.css +4 -841
  279. package/dist/firefox/panes-3-16-0/assets/vendor.js +4277 -5152
  280. package/dist/firefox/panes-3-16-0/base-object-HAEdWjmg.js +59 -0
  281. package/dist/firefox/panes-3-16-0/basic-B1dkgN3d.js +149 -0
  282. package/dist/firefox/panes-3-16-0/basic-debug.js +10 -0
  283. package/dist/firefox/panes-3-16-0/bookmarklet-BZWtwuX-.js +32 -0
  284. package/dist/firefox/panes-3-16-0/bookmarklet-debug.js +10 -0
  285. package/dist/firefox/panes-3-16-0/chrome-P6FSEUf1.js +10 -0
  286. package/dist/firefox/panes-3-16-0/chrome-debug.js +10 -0
  287. package/dist/firefox/panes-3-16-0/ember.js +166 -0
  288. package/dist/firefox/panes-3-16-0/ember_debug.js +7 -11018
  289. package/dist/firefox/panes-3-16-0/evented-BCTya3yE.js +62 -0
  290. package/dist/firefox/panes-3-16-0/firefox-8F84zphP.js +30 -0
  291. package/dist/firefox/panes-3-16-0/firefox-debug.js +10 -0
  292. package/dist/firefox/panes-3-16-0/index.html +4 -23
  293. package/dist/firefox/panes-3-16-0/internals-CRmXMEzb.js +12 -0
  294. package/dist/firefox/panes-3-16-0/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  295. package/dist/firefox/panes-3-16-0/main.js +7669 -0
  296. package/dist/firefox/panes-3-16-0/port.js +108 -0
  297. package/dist/firefox/panes-3-16-0/profile-node.js +60 -0
  298. package/dist/firefox/panes-3-16-0/promise-assembler.js +218 -0
  299. package/dist/firefox/panes-3-16-0/runloop-6_0lpzTA.js +1138 -0
  300. package/dist/firefox/panes-3-16-0/start-inspector-BIYQArZn.js +334 -0
  301. package/dist/firefox/panes-3-16-0/type-check.js +119 -0
  302. package/dist/firefox/panes-3-16-0/version.js +90 -0
  303. package/dist/firefox/panes-3-16-0/versions.js +4 -0
  304. package/dist/firefox/panes-3-16-0/web-extension-OWnXJ_XK.js +144 -0
  305. package/dist/firefox/panes-3-16-0/websocket-BSUvUqER.js +58 -0
  306. package/dist/firefox/panes-3-16-0/websocket-debug.js +10 -0
  307. package/dist/firefox/scripts/in-page-script.js +19 -13
  308. package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js +1135 -0
  309. package/dist/websocket/assets/chunk.443.86a005e528b587663b78.js.LICENSE.txt +18 -0
  310. package/dist/websocket/assets/chunk.524.aca67dc376e8cd35b522.js +40 -0
  311. package/dist/websocket/assets/chunk.582.d3d80e94c4f59dc3b65d.js +42 -0
  312. package/dist/websocket/assets/ember-inspector.css +997 -156
  313. package/dist/websocket/assets/ember-inspector.js +560 -613
  314. package/dist/websocket/assets/svg/ellipsis.svg +3 -3
  315. package/dist/websocket/assets/svg/focus-point-round.svg +9 -0
  316. package/dist/websocket/assets/svg/nav-bug.svg +1 -1
  317. package/dist/websocket/assets/svg/nav-components.svg +2 -2
  318. package/dist/websocket/assets/svg/nav-container.svg +1 -1
  319. package/dist/websocket/assets/svg/nav-data.svg +1 -1
  320. package/dist/websocket/assets/svg/nav-deprecations.svg +3 -3
  321. package/dist/websocket/assets/svg/nav-info.svg +3 -3
  322. package/dist/websocket/assets/svg/nav-promises.svg +2 -2
  323. package/dist/websocket/assets/svg/nav-render-performance.svg +2 -2
  324. package/dist/websocket/assets/svg/nav-route-tree.svg +7 -7
  325. package/dist/websocket/assets/svg/sidebar-toggle-trailing.svg +9 -0
  326. package/dist/websocket/assets/vendor.css +4 -841
  327. package/dist/websocket/assets/vendor.js +4277 -5152
  328. package/dist/websocket/base-object-HAEdWjmg.js +59 -0
  329. package/dist/websocket/basic-B1dkgN3d.js +149 -0
  330. package/dist/websocket/basic-debug.js +10 -0
  331. package/dist/websocket/bookmarklet-BZWtwuX-.js +32 -0
  332. package/dist/websocket/bookmarklet-debug.js +10 -0
  333. package/dist/websocket/chrome-P6FSEUf1.js +10 -0
  334. package/dist/websocket/chrome-debug.js +10 -0
  335. package/dist/websocket/ember.js +166 -0
  336. package/dist/websocket/ember_debug.js +7 -11018
  337. package/dist/websocket/evented-BCTya3yE.js +62 -0
  338. package/dist/websocket/firefox-8F84zphP.js +30 -0
  339. package/dist/websocket/firefox-debug.js +10 -0
  340. package/dist/websocket/index.html +4 -23
  341. package/dist/websocket/internals-CRmXMEzb.js +12 -0
  342. package/dist/websocket/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  343. package/dist/websocket/main.js +7669 -0
  344. package/dist/websocket/port.js +108 -0
  345. package/dist/websocket/profile-node.js +60 -0
  346. package/dist/websocket/promise-assembler.js +218 -0
  347. package/dist/websocket/runloop-6_0lpzTA.js +1138 -0
  348. package/dist/websocket/start-inspector-BIYQArZn.js +334 -0
  349. package/dist/websocket/type-check.js +119 -0
  350. package/dist/websocket/version.js +90 -0
  351. package/dist/websocket/versions.js +4 -0
  352. package/dist/websocket/web-extension-OWnXJ_XK.js +144 -0
  353. package/dist/websocket/websocket-BSUvUqER.js +58 -0
  354. package/dist/websocket/websocket-debug.js +10 -0
  355. package/ember-cli-build.js +31 -140
  356. package/ember_debug/adapters/basic.js +10 -29
  357. package/ember_debug/adapters/bookmarklet.js +1 -0
  358. package/ember_debug/adapters/firefox.js +3 -3
  359. package/ember_debug/adapters/web-extension.js +6 -5
  360. package/ember_debug/adapters/websocket.js +2 -2
  361. package/ember_debug/babel.config.cjs +11 -0
  362. package/ember_debug/container-debug.js +1 -1
  363. package/ember_debug/data-debug.js +7 -8
  364. package/ember_debug/debug-port.js +1 -1
  365. package/ember_debug/deprecation-debug.js +14 -14
  366. package/ember_debug/entrypoints/basic-debug.js +10 -0
  367. package/ember_debug/entrypoints/bookmarklet-debug.js +10 -0
  368. package/ember_debug/entrypoints/chrome-debug.js +10 -0
  369. package/ember_debug/entrypoints/firefox-debug.js +10 -0
  370. package/ember_debug/entrypoints/websocket-debug.js +10 -0
  371. package/ember_debug/general-debug.js +4 -4
  372. package/ember_debug/lib/boot-ember-inspector.js +9 -0
  373. package/ember_debug/lib/get-applications.js +28 -0
  374. package/ember_debug/lib/load-ember-debug-in-webpage.js +32 -0
  375. package/ember_debug/lib/send-apps.js +14 -0
  376. package/ember_debug/lib/send-version-miss.js +38 -0
  377. package/ember_debug/lib/setup-instance-initializer.js +17 -0
  378. package/ember_debug/lib/start-inspector.js +195 -0
  379. package/ember_debug/lib/version-test.js +73 -0
  380. package/ember_debug/lib/versions.js +3 -0
  381. package/ember_debug/libs/capture-render-tree.js +1 -2
  382. package/ember_debug/libs/promise-assembler.js +5 -4
  383. package/ember_debug/libs/render-tree.js +37 -44
  384. package/ember_debug/libs/source-map.js +7 -6
  385. package/ember_debug/libs/view-inspection.js +25 -17
  386. package/ember_debug/main.js +18 -21
  387. package/ember_debug/models/profile-manager.js +6 -6
  388. package/ember_debug/models/profile-node.js +1 -1
  389. package/ember_debug/models/promise.js +2 -2
  390. package/ember_debug/object-inspector.js +74 -65
  391. package/ember_debug/package.json +27 -0
  392. package/ember_debug/port.js +5 -4
  393. package/ember_debug/promise-debug.js +5 -5
  394. package/ember_debug/render-debug.js +5 -5
  395. package/ember_debug/rollup.config.js +24 -0
  396. package/ember_debug/route-debug.js +10 -9
  397. package/ember_debug/services/session.js +2 -2
  398. package/ember_debug/utils/classify.js +1 -1
  399. package/ember_debug/utils/ember/object/internals.js +1 -11
  400. package/ember_debug/utils/ember/own-runloop.js +1 -1
  401. package/ember_debug/utils/ember/runloop.js +7 -10
  402. package/ember_debug/utils/ember-object-names.js +11 -9
  403. package/ember_debug/utils/ember.js +222 -40
  404. package/ember_debug/utils/evented.js +1 -1
  405. package/ember_debug/utils/get-object-name.js +3 -3
  406. package/ember_debug/utils/type-check.js +9 -5
  407. package/ember_debug/view-debug.js +12 -6
  408. package/eslint.config.mjs +173 -0
  409. package/gulpfile.js +1 -1
  410. package/package.json +97 -95
  411. package/patches/ember-cli-inject-live-reload.patch +16 -0
  412. package/pnpm-workspace.yaml +3 -0
  413. package/public/assets/svg/ellipsis.svg +3 -3
  414. package/public/assets/svg/focus-point-round.svg +9 -0
  415. package/public/assets/svg/nav-bug.svg +1 -1
  416. package/public/assets/svg/nav-components.svg +2 -2
  417. package/public/assets/svg/nav-container.svg +1 -1
  418. package/public/assets/svg/nav-data.svg +1 -1
  419. package/public/assets/svg/nav-deprecations.svg +3 -3
  420. package/public/assets/svg/nav-info.svg +3 -3
  421. package/public/assets/svg/nav-promises.svg +2 -2
  422. package/public/assets/svg/nav-render-performance.svg +2 -2
  423. package/public/assets/svg/nav-route-tree.svg +7 -7
  424. package/public/assets/svg/sidebar-toggle-trailing.svg +9 -0
  425. package/scripts/download-panes.js +1 -1
  426. package/skeletons/bookmarklet/load_inspector.js +31 -11
  427. package/skeletons/web-extension/background.js +26 -21
  428. package/skeletons/web-extension/boot.js +1 -1
  429. package/skeletons/web-extension/content-script.js +12 -11
  430. package/skeletons/web-extension/devtools.js +12 -3
  431. package/skeletons/web-extension/manifest.json +3 -1
  432. package/skeletons/web-extension/options.js +17 -12
  433. package/skeletons/web-extension/scripts/in-page-script.js +19 -13
  434. package/testem.js +0 -1
  435. package/tests/acceptance/app-picker-test.js +4 -4
  436. package/tests/acceptance/component-tree-test.js +96 -57
  437. package/tests/acceptance/container-test.js +0 -2
  438. package/tests/acceptance/data-test.js +14 -11
  439. package/tests/acceptance/deprecation-test.js +8 -12
  440. package/tests/acceptance/info-test.js +2 -2
  441. package/tests/acceptance/object-inspector-test.js +62 -110
  442. package/tests/acceptance/promise-test.js +1 -11
  443. package/tests/acceptance/render-tree-test.js +2 -2
  444. package/tests/acceptance/route-tree-test.js +12 -14
  445. package/tests/acceptance/whats-new-test.js +11 -11
  446. package/tests/ember_debug/container-debug-test.js +5 -14
  447. package/tests/ember_debug/deprecation-debug-test.js +15 -6
  448. package/tests/ember_debug/ember-data-test.js +7 -1
  449. package/tests/ember_debug/ember-debug-test.js +13 -13
  450. package/tests/ember_debug/object-inspector-test.js +115 -50
  451. package/tests/ember_debug/profile-manager-test.js +153 -170
  452. package/tests/ember_debug/profile-node-test.js +9 -5
  453. package/tests/ember_debug/promise-assembler-test.js +18 -10
  454. package/tests/ember_debug/promise-debug-test.js +19 -15
  455. package/tests/ember_debug/render-debug-test.js +8 -1
  456. package/tests/ember_debug/route-debug-test.js +14 -8
  457. package/tests/ember_debug/view-debug-test.js +267 -183
  458. package/tests/helpers/{index.js → index.ts} +6 -5
  459. package/tests/helpers/setup-ember-debug-test.js +22 -2
  460. package/tests/index.html +1 -2
  461. package/tests/integration/injection-test.js +37 -81
  462. package/tests/test-adapter.js +15 -15
  463. package/tests/test-helper.js +6 -4
  464. package/tests/unit/check-current-route-test.js +0 -4
  465. package/tests/unit/resizable-columns-test.js +53 -51
  466. package/tests/unit/utils/parse-text-test.js +3 -3
  467. package/tests/unit/utils/search-match-test.js +5 -5
  468. package/tests/unit/utils/type-check-test.js +27 -0
  469. package/tsconfig.json +3 -1
  470. package/types/ember-inspector/index.d.ts +2 -1
  471. package/types/global.d.ts +1 -7
  472. package/.eslintignore +0 -33
  473. package/.eslintrc.js +0 -86
  474. package/app/components/list-content.js +0 -130
  475. package/app/controllers/promise-tree.js +0 -130
  476. package/app/libs/promise-assembler.js +0 -169
  477. package/app/routes/model-types.js +0 -47
  478. package/app/routes/promise-tree.js +0 -48
  479. package/app/routes/records.js +0 -55
  480. package/app/routes/render-tree.js +0 -66
  481. package/app/services/adapters/websocket.js +0 -31
  482. package/app/services/layout.js +0 -39
  483. package/app/services/port.js +0 -90
  484. package/dist/bookmarklet/panes-3-16-0/assets/chunk.143.76a242242ec46a377266.js +0 -28
  485. package/dist/bookmarklet/panes-3-16-0/assets/chunk.178.b6064b368cf24cc346ec.js +0 -9
  486. package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  487. package/dist/bookmarklet/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  488. package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Bold.woff +0 -0
  489. package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Bold.woff2 +0 -0
  490. package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Regular.woff +0 -0
  491. package/dist/bookmarklet/panes-3-16-0/assets/fonts/Inter-Regular.woff2 +0 -0
  492. package/dist/chrome/panes-3-16-0/assets/chunk.143.76a242242ec46a377266.js +0 -28
  493. package/dist/chrome/panes-3-16-0/assets/chunk.178.b6064b368cf24cc346ec.js +0 -9
  494. package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  495. package/dist/chrome/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  496. package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Bold.woff +0 -0
  497. package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Bold.woff2 +0 -0
  498. package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Regular.woff +0 -0
  499. package/dist/chrome/panes-3-16-0/assets/fonts/Inter-Regular.woff2 +0 -0
  500. package/dist/firefox/panes-3-16-0/assets/chunk.143.76a242242ec46a377266.js +0 -28
  501. package/dist/firefox/panes-3-16-0/assets/chunk.178.b6064b368cf24cc346ec.js +0 -9
  502. package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  503. package/dist/firefox/panes-3-16-0/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  504. package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Bold.woff +0 -0
  505. package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Bold.woff2 +0 -0
  506. package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Regular.woff +0 -0
  507. package/dist/firefox/panes-3-16-0/assets/fonts/Inter-Regular.woff2 +0 -0
  508. package/dist/websocket/assets/chunk.143.76a242242ec46a377266.js +0 -28
  509. package/dist/websocket/assets/chunk.178.b6064b368cf24cc346ec.js +0 -9
  510. package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js +0 -2620
  511. package/dist/websocket/assets/chunk.359.0be5d21f60d2b5d6d423.js.LICENSE.txt +0 -67
  512. package/dist/websocket/assets/fonts/Inter-Bold.woff +0 -0
  513. package/dist/websocket/assets/fonts/Inter-Bold.woff2 +0 -0
  514. package/dist/websocket/assets/fonts/Inter-Regular.woff +0 -0
  515. package/dist/websocket/assets/fonts/Inter-Regular.woff2 +0 -0
  516. package/ember_debug/.eslintrc.js +0 -13
  517. package/ember_debug/utils/ember/debug.js +0 -20
  518. package/ember_debug/utils/ember/instrumentation.js +0 -11
  519. package/ember_debug/utils/ember/loader.js +0 -22
  520. package/ember_debug/utils/rsvp.js +0 -20
  521. package/ember_debug/vendor/loader.js +0 -54
  522. package/ember_debug/vendor/startup-wrapper.js +0 -399
  523. package/lib/ui/addon/styles/_object-inspector-toggle.scss +0 -12
  524. package/lib/ui/addon/styles/addon.scss +0 -13
  525. package/lib/ui/addon/styles/toolbar/_icon-button.scss +0 -61
  526. package/lib/ui/app/components/ui/disclosure-triangle.js +0 -1
  527. package/lib/ui/app/components/ui/disclosure.js +0 -1
  528. package/lib/ui/app/components/ui/drag-handle.js +0 -1
  529. package/lib/ui/app/components/ui/draggable-column.js +0 -1
  530. package/lib/ui/app/components/ui/empty-message.js +0 -1
  531. package/lib/ui/app/components/ui/error-page.js +0 -1
  532. package/lib/ui/app/components/ui/open-links-in-new-window.js +0 -1
  533. package/lib/ui/app/components/ui/resizable-column.js +0 -1
  534. package/lib/ui/app/components/ui/send-to-console.js +0 -1
  535. package/lib/ui/app/components/ui/toolbar-clear-button.js +0 -1
  536. package/lib/ui/app/components/ui/toolbar-divider.js +0 -1
  537. package/lib/ui/app/components/ui/toolbar-reload-button.js +0 -1
  538. package/lib/ui/app/components/ui/toolbar-search-field.js +0 -1
  539. package/lib/ui/app/components/ui/warning-message.js +0 -1
  540. package/lib/ui/index.js +0 -34
  541. package/lib/ui/package.json +0 -13
  542. package/public/assets/fonts/Inter-Bold.woff +0 -0
  543. package/public/assets/fonts/Inter-Bold.woff2 +0 -0
  544. package/public/assets/fonts/Inter-Regular.woff +0 -0
  545. package/public/assets/fonts/Inter-Regular.woff2 +0 -0
  546. package/tests/helpers/trigger-port.js +0 -6
  547. /package/app/{app.js → app.ts} +0 -0
  548. /package/{lib/ui/addon/components → app/components/ui}/disclosure-triangle.hbs +0 -0
  549. /package/{lib/ui/addon/components → app/components/ui}/disclosure.hbs +0 -0
  550. /package/{lib/ui/addon/components → app/components/ui}/disclosure.js +0 -0
  551. /package/{lib/ui/addon/components → app/components/ui}/draggable-column.hbs +0 -0
  552. /package/{lib/ui/addon/components → app/components/ui}/draggable-column.js +0 -0
  553. /package/{lib/ui/addon/components → app/components/ui}/open-links-in-new-window.hbs +0 -0
  554. /package/{lib/ui/addon/components → app/components/ui}/open-links-in-new-window.js +0 -0
  555. /package/{lib/ui/addon/components → app/components/ui}/resizable-column.hbs +0 -0
  556. /package/{lib/ui/addon/components → app/components/ui}/send-to-console.hbs +0 -0
  557. /package/{lib/ui/addon/components → app/components/ui}/toolbar-divider.hbs +0 -0
  558. /package/{lib/ui/addon/components → app/components/ui}/toolbar-search-field.js +0 -0
  559. /package/{lib/ui/addon/components → app/components/ui}/warning-message.hbs +0 -0
  560. /package/app/controllers/{info.js → info.ts} +0 -0
  561. /package/app/services/adapters/{firefox.js → firefox.ts} +0 -0
  562. /package/{lib/ui/addon/styles → app/styles/ui}/_goto-source.scss +0 -0
  563. /package/{lib/ui/addon/styles → app/styles/ui}/_warning.scss +0 -0
  564. /package/{lib/ui/addon/styles → app/styles/ui}/toolbar/_divider.scss +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,142 @@
1
1
  # Changelog
2
2
 
3
+ ## Release (2025-11-19)
4
+
5
+ * ember-inspector 4.15.0 (minor)
6
+
7
+ #### :rocket: Enhancement
8
+ * `ember-inspector`
9
+ * [#2694](https://github.com/emberjs/ember-inspector/pull/2694) link to legacy inspector support docs ([@patricklx](https://github.com/patricklx))
10
+
11
+ #### :bug: Bug Fix
12
+ * `ember-inspector`
13
+ * [#2691](https://github.com/emberjs/ember-inspector/pull/2691) fix data tab not showing models ([@patricklx](https://github.com/patricklx))
14
+ * [#2703](https://github.com/emberjs/ember-inspector/pull/2703) regression: fix _backburner access ([@patricklx](https://github.com/patricklx))
15
+ * [#2705](https://github.com/emberjs/ember-inspector/pull/2705) fix whats new for nightly ([@patricklx](https://github.com/patricklx))
16
+ * [#2689](https://github.com/emberjs/ember-inspector/pull/2689) fix loading race condition ([@patricklx](https://github.com/patricklx))
17
+ * [#2700](https://github.com/emberjs/ember-inspector/pull/2700) add a optional chaining operator for accessing getOwner on application ([@mansona](https://github.com/mansona))
18
+ * [#2702](https://github.com/emberjs/ember-inspector/pull/2702) add back iframe (without src) support ([@patricklx](https://github.com/patricklx))
19
+ * [#2692](https://github.com/emberjs/ember-inspector/pull/2692) fix whats new ([@patricklx](https://github.com/patricklx))
20
+
21
+ #### :house: Internal
22
+ * `ember-inspector`
23
+ * [#2708](https://github.com/emberjs/ember-inspector/pull/2708) update release-plan workflows to new format ([@mansona](https://github.com/mansona))
24
+
25
+ #### Committers: 2
26
+ - Chris Manson ([@mansona](https://github.com/mansona))
27
+ - Patrick Pircher ([@patricklx](https://github.com/patricklx))
28
+
29
+ ## Release (2025-11-05)
30
+
31
+ * ember-inspector 4.14.2 (patch)
32
+
33
+ #### :bug: Bug Fix
34
+ * `ember-inspector`
35
+ * [#2705](https://github.com/emberjs/ember-inspector/pull/2705) fix whats new for nightly ([@patricklx](https://github.com/patricklx))
36
+ * [#2689](https://github.com/emberjs/ember-inspector/pull/2689) fix loading race condition ([@patricklx](https://github.com/patricklx))
37
+ * [#2700](https://github.com/emberjs/ember-inspector/pull/2700) add a optional chaining operator for accessing getOwner on application ([@mansona](https://github.com/mansona))
38
+ * [#2702](https://github.com/emberjs/ember-inspector/pull/2702) add back iframe (without src) support ([@patricklx](https://github.com/patricklx))
39
+ * [#2692](https://github.com/emberjs/ember-inspector/pull/2692) fix whats new ([@patricklx](https://github.com/patricklx))
40
+
41
+ #### :house: Internal
42
+ * `ember-inspector`
43
+ * [#2704](https://github.com/emberjs/ember-inspector/pull/2704) Prepare Release ([@github-actions[bot]](https://github.com/apps/github-actions))
44
+ * [#2698](https://github.com/emberjs/ember-inspector/pull/2698) Prepare Release v4.14.1 ([@github-actions[bot]](https://github.com/apps/github-actions))
45
+
46
+ #### Committers: 3
47
+ - Chris Manson ([@mansona](https://github.com/mansona))
48
+ - Patrick Pircher ([@patricklx](https://github.com/patricklx))
49
+ - [@github-actions[bot]](https://github.com/apps/github-actions)
50
+
51
+ ## Release (2025-10-28)
52
+
53
+ * ember-inspector 4.14.1 (patch)
54
+
55
+ #### :bug: Bug Fix
56
+ * `ember-inspector`
57
+ * [#2700](https://github.com/emberjs/ember-inspector/pull/2700) add a optional chaining operator for accessing getOwner on application ([@mansona](https://github.com/mansona))
58
+ * [#2702](https://github.com/emberjs/ember-inspector/pull/2702) add back iframe (without src) support ([@patricklx](https://github.com/patricklx))
59
+ * [#2692](https://github.com/emberjs/ember-inspector/pull/2692) fix whats new ([@patricklx](https://github.com/patricklx))
60
+
61
+ #### Committers: 2
62
+ - Chris Manson ([@mansona](https://github.com/mansona))
63
+ - Patrick Pircher ([@patricklx](https://github.com/patricklx))
64
+
65
+ ## Release (2025-10-02)
66
+
67
+ * ember-inspector 4.14.0 (minor)
68
+
69
+ #### :rocket: Enhancement
70
+ * `ember-inspector`
71
+ * [#2625](https://github.com/emberjs/ember-inspector/pull/2625) Add support for Vite ([@mansona](https://github.com/mansona))
72
+ * [#2676](https://github.com/emberjs/ember-inspector/pull/2676) Replace Inter font with `system-ui` keyword ([@pichfl](https://github.com/pichfl))
73
+ * [#2680](https://github.com/emberjs/ember-inspector/pull/2680) Add owner to the list of properties of an object ([@pichfl](https://github.com/pichfl))
74
+ * [#2667](https://github.com/emberjs/ember-inspector/pull/2667) show parents in sidebar ([@patricklx](https://github.com/patricklx))
75
+ * [#2672](https://github.com/emberjs/ember-inspector/pull/2672) Convert ember-debug to ESM and simplify wrapper ([@mansona](https://github.com/mansona))
76
+ * [#2655](https://github.com/emberjs/ember-inspector/pull/2655) implement show parents only (focus mode) ([@patricklx](https://github.com/patricklx))
77
+ * [#2658](https://github.com/emberjs/ember-inspector/pull/2658) perf: do not re-render positionals ([@patricklx](https://github.com/patricklx))
78
+ * [#2659](https://github.com/emberjs/ember-inspector/pull/2659) support shadow dom for click to select & inspect component ([@patricklx](https://github.com/patricklx))
79
+
80
+ #### :bug: Bug Fix
81
+ * `ember-inspector`
82
+ * [#2678](https://github.com/emberjs/ember-inspector/pull/2678) Move Object Inspector toggle so it remains visible in edge cases ([@pichfl](https://github.com/pichfl))
83
+ * [#2677](https://github.com/emberjs/ember-inspector/pull/2677) Enable CORS for locally served bookmarklet ([@pichfl](https://github.com/pichfl))
84
+ * [#2664](https://github.com/emberjs/ember-inspector/pull/2664) fix service detection ([@patricklx](https://github.com/patricklx))
85
+ * [#2657](https://github.com/emberjs/ember-inspector/pull/2657) fix html element tree when not a direct child ([@patricklx](https://github.com/patricklx))
86
+ * [#2639](https://github.com/emberjs/ember-inspector/pull/2639) fix `whats new` not showing latest changes ([@patricklx](https://github.com/patricklx))
87
+ * [#2640](https://github.com/emberjs/ember-inspector/pull/2640) fix for chrome bfcache ([@patricklx](https://github.com/patricklx))
88
+ * [#2646](https://github.com/emberjs/ember-inspector/pull/2646) Fix ember 6 ([@mansona](https://github.com/mansona))
89
+ * [#2627](https://github.com/emberjs/ember-inspector/pull/2627) fix: Cannot convert a Symbol value to a string ([@lifeart](https://github.com/lifeart))
90
+
91
+ #### :memo: Documentation
92
+ * `ember-inspector`
93
+ * [#2626](https://github.com/emberjs/ember-inspector/pull/2626) docs: add precisions about running for development with bookmarklet ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
94
+
95
+ #### :house: Internal
96
+ * `ember-inspector`
97
+ * [#2685](https://github.com/emberjs/ember-inspector/pull/2685) Fix release ([@mansona](https://github.com/mansona))
98
+ * [#2684](https://github.com/emberjs/ember-inspector/pull/2684) add client secret to the build and upload script ([@mansona](https://github.com/mansona))
99
+ * [#2683](https://github.com/emberjs/ember-inspector/pull/2683) Create PRIVACY.md ([@mansona](https://github.com/mansona))
100
+ * [#2675](https://github.com/emberjs/ember-inspector/pull/2675) Fix theme colors no rendering in tests and bookmarklet ([@pichfl](https://github.com/pichfl))
101
+ * [#2674](https://github.com/emberjs/ember-inspector/pull/2674) Remove the "ui" in-repo-addon ([@pichfl](https://github.com/pichfl))
102
+ * [#2671](https://github.com/emberjs/ember-inspector/pull/2671) use relative imports inside ember-debug ([@mansona](https://github.com/mansona))
103
+ * [#2670](https://github.com/emberjs/ember-inspector/pull/2670) remove overkill use of env to simplify new build process ([@mansona](https://github.com/mansona))
104
+ * [#2669](https://github.com/emberjs/ember-inspector/pull/2669) Achieve centralizing imports from Ember ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
105
+ * [#2668](https://github.com/emberjs/ember-inspector/pull/2668) Cleanup import ember ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
106
+ * [#2662](https://github.com/emberjs/ember-inspector/pull/2662) fix watch test script ([@patricklx](https://github.com/patricklx))
107
+ * [#2656](https://github.com/emberjs/ember-inspector/pull/2656) fix local dev ([@patricklx](https://github.com/patricklx))
108
+ * [#2660](https://github.com/emberjs/ember-inspector/pull/2660) Centralize interactions with ember-source: wormhole ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
109
+ * [#2653](https://github.com/emberjs/ember-inspector/pull/2653) Refactor: Centralize calls to `emberSafeRequire` ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
110
+ * [#2654](https://github.com/emberjs/ember-inspector/pull/2654) Remove loader ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
111
+ * [#2645](https://github.com/emberjs/ember-inspector/pull/2645) move build of ember-debug to rollup ([@mansona](https://github.com/mansona))
112
+ * [#2628](https://github.com/emberjs/ember-inspector/pull/2628) require all ember modules in one place ([@mansona](https://github.com/mansona))
113
+ * [#2648](https://github.com/emberjs/ember-inspector/pull/2648) fix ember 3.x-lts ([@patricklx](https://github.com/patricklx))
114
+ * [#2652](https://github.com/emberjs/ember-inspector/pull/2652) prepare profile manager tests for ember 6 ([@patricklx](https://github.com/patricklx))
115
+ * [#2650](https://github.com/emberjs/ember-inspector/pull/2650) Prepare ember 6+ support/ view-debug ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
116
+ * [#2649](https://github.com/emberjs/ember-inspector/pull/2649) update release-plan ([@mansona](https://github.com/mansona))
117
+ * [#2647](https://github.com/emberjs/ember-inspector/pull/2647) Remove unused file `trigger-port.js` ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
118
+ * [#2644](https://github.com/emberjs/ember-inspector/pull/2644) add packageManager for people not using volta ([@mansona](https://github.com/mansona))
119
+ * [#2643](https://github.com/emberjs/ember-inspector/pull/2643) test ember 5.8 and 5.12 ([@mansona](https://github.com/mansona))
120
+ * [#2624](https://github.com/emberjs/ember-inspector/pull/2624) ember-cli-update to latest blueprints ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
121
+ * [#2623](https://github.com/emberjs/ember-inspector/pull/2623) Remove gets and access props directly ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
122
+ * [#2620](https://github.com/emberjs/ember-inspector/pull/2620) Remove pushObjects from RenderTree ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
123
+ * [#2621](https://github.com/emberjs/ember-inspector/pull/2621) Remove unused evented from ListContent ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
124
+ * [#2619](https://github.com/emberjs/ember-inspector/pull/2619) Remove Evented from ListContent ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
125
+ * [#2618](https://github.com/emberjs/ember-inspector/pull/2618) Remove Evented from PromiseAssembler ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
126
+ * [#2617](https://github.com/emberjs/ember-inspector/pull/2617) Convert adapters and port to TS, remove Evented from port ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
127
+ * [#2601](https://github.com/emberjs/ember-inspector/pull/2601) More progress removing prototype extensions ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
128
+ * [#2602](https://github.com/emberjs/ember-inspector/pull/2602) cleanup filterBy & mapBy prototype extensions ([@patricklx](https://github.com/patricklx))
129
+ * [#2600](https://github.com/emberjs/ember-inspector/pull/2600) Remove mapBy and filterBy ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
130
+ * [#2598](https://github.com/emberjs/ember-inspector/pull/2598) Update to Ember 5.12 ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
131
+
132
+ #### Committers: 6
133
+ - Alex Kanunnikov ([@lifeart](https://github.com/lifeart))
134
+ - Chris Manson ([@mansona](https://github.com/mansona))
135
+ - Florian Pichler ([@pichfl](https://github.com/pichfl))
136
+ - Marine Dunstetter ([@BlueCutOfficial](https://github.com/BlueCutOfficial))
137
+ - Patrick Pircher ([@patricklx](https://github.com/patricklx))
138
+ - Robbie Wagner ([@RobbieTheWagner](https://github.com/RobbieTheWagner))
139
+
3
140
  ## Release (2024-07-30)
4
141
 
5
142
  ember-inspector 4.13.1 (patch)
package/DEVELOPMENT.md ADDED
@@ -0,0 +1,50 @@
1
+ ## Building and Testing:
2
+
3
+ Run `pnpm install && pnpm add -g ember-cli` to install the required modules.
4
+
5
+ - `pnpm build` to build the files in the `dist` directory
6
+ - `pnpm watch` To watch the files and re-build in `dist` when anything changes (useful during development).
7
+ - `pnpm test` To run the tests in the terminal
8
+ - `pnpm start` To start the test server at `localhost:4200/testing/tests`
9
+
10
+ ## Deploy new version:
11
+
12
+ See [RELEASE.md](./RELEASE.md)
13
+
14
+ ### Locking a version
15
+
16
+ We can take a snapshot of the current inspector version to support a specific Ember version range. This allows us to stop supporting old Ember versions in main without breaking the published inspector for old Ember apps. It works by serving a different inspector version based on the current app's Ember version.
17
+
18
+ The Ember versions supported by the current inspector are indicated in the `emberVersionsSupported` array in `package.json`.
19
+
20
+ Here are the steps to lock an inspector version:
21
+
22
+ - Release a new version (See "Minor and major versions") if there are unreleased commits in `main`. Skip this step if there are not new commits after the last release.
23
+ - Makes sure you have a `config/secrets.json` file with the correct AWS credentials to push to S3. You can use `config/secrets.json.sample` as a starting point.
24
+ - Create a new branch (from `main`) named after the Ember version range that will be supported by this branch. The min version in the range is the first element in the `emberVersionsSupported` array in `package.json`. The max version in the range is the first version that will *not* be supported. For example, a branch named `ember-0.0.0-2.7.0` means it supports Ember 0.0.0 -> 2.6.0, and a branch named `ember-2.7.0-3.4.0` means it supports Ember 2.7.0 -> Ember 3.3.2.
25
+ - Update `package.json`'s `emberVersionsSupported`: add a second element that indicates the minimum Ember version the `main` branch *will not* support.
26
+ - Commit the branch.
27
+ - Run `pnpm lock-version`. This will build, and compress the panes.
28
+ - To upload the panes to GitHub:
29
+ - Create a folder locally with the naming convention `panes-x-x-x`
30
+ - Copy the 3 zip files (chrome.zip, firefox.zip, and bookmarklet.zip) into the folder you just created.
31
+ - Go to https://github.com/emberjs/ember-inspector/upload/panes and drag the folder in to upload it.
32
+ - Checkout the `main` branch.
33
+ - Update `package.json`'s `previousEmberVersionsSupported`: add the first Ember version supported by the recently locked snapshot (the first element in the `emberVersionsSupported` array).
34
+ - Update `package.json`'s `emberVersionsSupported`: Take the last element from `previousEmberVersionsSupported` and set it as the first element in this array. Set an empty string as the second element to indicate there's currently no maximum Ember version supported yet. `emberVersionsSupported` array length should always be `2` indicating a [min, max] range.
35
+ - Commit.
36
+
37
+ ##### Example scenario
38
+
39
+ Below is an example scenario that assumes the current `main` branch supports Ember version 2.7.0+ and we want to lock the version such that `main` will support 3.4.0+. It also assumes the last Ember Inspector version released was 3.9.0.
40
+
41
+ - Release a new inspector version `3.10.0` if there are unreleased commits in `main`.
42
+ - Create a new branch from `main` called `ember-2.7.0-3.4.0`.
43
+ - Update `package.json`'s `emberVersionsSupported` from `["2.7.0", ""]` to `["2.7.0", "3.4.0"]`.
44
+ - Commit with message "Lock Ember version at 2.7.0-3.4.0" and push the branch.
45
+ - Run `pnpm lock-version`.
46
+ - Checkout the `main` branch.
47
+ - Create a new branch *from main* called `lock-3.4.0` (branch name here is not important).
48
+ - Update `package.json`'s `previousEmberVersionsSupported` from `["0.0.0"]` to `["0.0.0", "2.7.0"]`.
49
+ - Update `package.json`'s `emberVersionsSupported` from `["2.7.0", ""]` to `["3.4.0", ""]`.
50
+ - Commit and open a PR against `main`.
package/PRIVACY.md ADDED
@@ -0,0 +1,3 @@
1
+ # Privacy Policy
2
+
3
+ The Ember Inspector collects no data from any of its users and has no analytics. As we don't collect any data it is impossilbe for us to store any data about our users.
package/README.md CHANGED
@@ -60,66 +60,30 @@ Internet explorer will open an iframe instead of a popup due to the lack of supp
60
60
 
61
61
  For development:
62
62
 
63
- - run `pnpm serve:bookmarklet`
64
- - create a bookmark (make sure you unblock the popup when you run the bookmarklet):
63
+ - In a terminal:
64
+ - run `pnpm serve:bookmarklet`
65
+ - In your browser:
66
+ - If Ember Inspector is installed as an active extension, deactivate it
67
+ - Visit the Ember app you want to inspect
68
+ - Open the developer tool console and execute the following (make sure you unblock the popup when you run the bookmarklet):
65
69
 
66
70
  ```javascript
67
71
  javascript: (function() { var s = document.createElement('script'); s.src = 'http://localhost:9191/bookmarklet/load_inspector.js'; document.body.appendChild(s); }());
68
72
  ```
69
73
 
70
- ## Building and Testing:
74
+ Or to do this more easily in the future, create a new bookmark in your browser, and copy the above script as the URL.
71
75
 
72
- Run `pnpm install && pnpm add -g ember-cli` to install the required modules.
76
+ The expected behavior is a new window opening with the URL `http://localhost:9191/bookmarklet/<pane-root>/index.html?inspectedWindowURL=<inspected-app-url>`, running your local ember-inspector. The content should be the same as the one you see when using the published extension, but not properly styled.
73
77
 
74
- - `pnpm build` to build the files in the `dist` directory
75
- - `pnpm watch` To watch the files and re-build in `dist` when anything changes (useful during development).
76
- - `pnpm test` To run the tests in the terminal
77
- - `pnpm start` To start the test server at `localhost:4200/testing/tests`
78
+ ### Vite Support
78
79
 
80
+ If your Ember app is running on Vite, you may need [@embroider/legacy-inspector-support](https://github.com/embroider-build/embroider/tree/main/packages/legacy-inspector-support) to get things working in your app.
79
81
 
80
- ## Deploy new version:
81
-
82
- See [RELEASE.md](./RELEASE.md)
83
-
84
-
85
- ### Locking a version
86
-
87
- We can take a snapshot of the current inspector version to support a specific Ember version range. This allows us to stop supporting old Ember versions in main without breaking the published inspector for old Ember apps. It works by serving a different inspector version based on the current app's Ember version.
88
-
89
- The Ember versions supported by the current inspector are indicated in the `emberVersionsSupported` array in `package.json`.
90
-
91
- Here are the steps to lock an inspector version:
92
-
93
- - Release a new version (See "Minor and major versions") if there are unreleased commits in `main`. Skip this step if there are not new commits after the last release.
94
- - Makes sure you have a `config/secrets.json` file with the correct AWS credentials to push to S3. You can use `config/secrets.json.sample` as a starting point.
95
- - Create a new branch (from `main`) named after the Ember version range that will be supported by this branch. The min version in the range is the first element in the `emberVersionsSupported` array in `package.json`. The max version in the range is the first version that will *not* be supported. For example, a branch named `ember-0.0.0-2.7.0` means it supports Ember 0.0.0 -> 2.6.0, and a branch named `ember-2.7.0-3.4.0` means it supports Ember 2.7.0 -> Ember 3.3.2.
96
- - Update `package.json`'s `emberVersionsSupported`: add a second element that indicates the minimum Ember version the `main` branch *will not* support.
97
- - Commit the branch.
98
- - Run `pnpm lock-version`. This will build, and compress the panes.
99
- - To upload the panes to GitHub:
100
- - Create a folder locally with the naming convention `panes-x-x-x`
101
- - Copy the 3 zip files (chrome.zip, firefox.zip, and bookmarklet.zip) into the folder you just created.
102
- - Go to https://github.com/emberjs/ember-inspector/upload/panes and drag the folder in to upload it.
103
- - Checkout the `main` branch.
104
- - Update `package.json`'s `previousEmberVersionsSupported`: add the first Ember version supported by the recently locked snapshot (the first element in the `emberVersionsSupported` array).
105
- - Update `package.json`'s `emberVersionsSupported`: Take the last element from `previousEmberVersionsSupported` and set it as the first element in this array. Set an empty string as the second element to indicate there's currently no maximum Ember version supported yet. `emberVersionsSupported` array length should always be `2` indicating a [min, max] range.
106
- - Commit.
107
-
108
- ##### Example scenario
82
+ ### Window Messages
109
83
 
110
- Below is an example scenario that assumes the current `main` branch supports Ember version 2.7.0+ and we want to lock the version such that `main` will support 3.4.0+. It also assumes the last Ember Inspector version released was 3.9.0.
84
+ The Ember Inspector uses window messages, so if you are using window messages in your application code, make sure you [verify the sender](https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage#Security_concerns) and add checks to your event listener so as not to conflict with the inspector's messages.
111
85
 
112
- - Release a new inspector version `3.10.0` if there are unreleased commits in `main`.
113
- - Create a new branch from `main` called `ember-2.7.0-3.4.0`.
114
- - Update `package.json`'s `emberVersionsSupported` from `["2.7.0", ""]` to `["2.7.0", "3.4.0"]`.
115
- - Commit with message "Lock Ember version at 2.7.0-3.4.0" and push the branch.
116
- - Run `pnpm lock-version`.
117
- - Checkout the `main` branch.
118
- - Create a new branch *from main* called `lock-3.4.0` (branch name here is not important).
119
- - Update `package.json`'s `previousEmberVersionsSupported` from `["0.0.0"]` to `["0.0.0", "2.7.0"]`.
120
- - Update `package.json`'s `emberVersionsSupported` from `["2.7.0", ""]` to `["3.4.0", ""]`.
121
- - Commit and open a PR against `main`.
122
86
 
123
- ### Window Messages
87
+ ## Development
124
88
 
125
- The Ember Inspector uses window messages, so if you are using window messages in your application code, make sure you [verify the sender](https://developer.mozilla.org/en-US/docs/Web/API/window.postMessage#Security_concerns) and add checks to your event listener so as not to conflict with the inspector's messages.
89
+ Want to work on inspector? See [DEVELOPMENT.md](./DEVELOPMENT.md)
package/RELEASE.md CHANGED
@@ -1,62 +1,27 @@
1
- # Release
2
-
3
- Releases are mostly automated using
4
- [release-it](https://github.com/release-it/release-it/) and
5
- [lerna-changelog](https://github.com/lerna/lerna-changelog/).
1
+ # Release Process
6
2
 
3
+ Releases in this repo are mostly automated using [release-plan](https://github.com/embroider-build/release-plan/). Once you label all your PRs correctly (see below) you will have an automatically generated PR that updates your CHANGELOG.md file and a `.release-plan.json` that is used to prepare the release once the PR is merged.
7
4
 
8
5
  ## Preparation
9
6
 
10
- Since the majority of the actual release process is automated, the primary
11
- remaining task prior to releasing is confirming that all pull requests that
12
- have been merged since the last release have been labeled with the appropriate
13
- `lerna-changelog` labels and the titles have been updated to ensure they
14
- represent something that would make sense to our users. Some great information
15
- on why this is important can be found at
16
- [keepachangelog.com](https://keepachangelog.com/en/1.0.0/), but the overall
7
+ Since the majority of the actual release process is automated, the remaining tasks before releasing are:
8
+
9
+ - correctly labeling **all** pull requests that have been merged since the last release
10
+ - updating pull request titles so they make sense to our users
11
+
12
+ Some great information on why this is important can be found at [keepachangelog.com](https://keepachangelog.com/en/1.1.0/), but the overall
17
13
  guiding principle here is that changelogs are for humans, not machines.
18
14
 
19
15
  When reviewing merged PR's the labels to be used are:
20
16
 
21
- * breaking - Used when the PR is considered a breaking change.
22
- * enhancement - Used when the PR adds a new feature or enhancement.
23
- * bug - Used when the PR fixes a bug included in a previous release.
24
- * documentation - Used when the PR adds or updates documentation.
25
- * internal - Used for internal changes that still require a mention in the
26
- changelog/release notes.
17
+ - breaking - Used when the PR is considered a breaking change.
18
+ - enhancement - Used when the PR adds a new feature or enhancement.
19
+ - bug - Used when the PR fixes a bug included in a previous release.
20
+ - documentation - Used when the PR adds or updates documentation.
21
+ - internal - Internal changes or things that don't fit in any other category.
27
22
 
23
+ **Note:** `release-plan` requires that **all** PRs are labeled. If a PR doesn't fit in a category it's fine to label it as `internal`
28
24
 
29
25
  ## Release
30
26
 
31
- Once the prep work is completed, the actual release is straight forward:
32
-
33
- * First, ensure that you have installed your projects dependencies:
34
-
35
- ```
36
- pnpm install
37
- ```
38
-
39
- * Second, ensure that you have obtained a
40
- [GitHub personal access token][generate-token] with the `repo` scope (no
41
- other permissions are needed). Make sure the token is available as the
42
- `GITHUB_AUTH` environment variable.
43
-
44
- For instance:
45
-
46
- ```bash
47
- export GITHUB_AUTH=abc123def456
48
- ```
49
-
50
- [generate-token]: https://github.com/settings/tokens/new?scopes=repo&description=GITHUB_AUTH+env+variable
51
-
52
- * And last (but not least 😁) do your release.
53
-
54
- ```
55
- npx release-it
56
- ```
57
-
58
- [release-it](https://github.com/release-it/release-it/) manages the actual
59
- release process. It will prompt you to to choose the version number after which
60
- you will have the chance to hand tweak the changelog to be used (for the
61
- `CHANGELOG.md` and GitHub release), then `release-it` continues on to tagging,
62
- pushing the tag and commits, etc.
27
+ Once the prep work is completed, the actual release is straight forward: you just need to merge the open [Plan Release](https://github.com/emberjs/ember-inspector/pulls?q=is%3Apr+is%3Aopen+%22Prepare+Release%22+in%3Atitle) PR
@@ -16,9 +16,9 @@
16
16
  </select>
17
17
 
18
18
  {{#if @collapsed}}
19
- {{svg-jar "e-logo" width="15" height="13" class="dropdown__collapsed-icon fill-current absolute pointer-events-none"}}
19
+ {{svg-jar "e-logo" width="15" height="13" class="dropdown-collapsed-icon fill-current absolute pointer-events-none"}}
20
20
  {{/if}}
21
21
 
22
- {{svg-jar "dropdown-arrow" class="dropdown__arrow fill-current absolute opacity-75 pointer-events-none"}}
22
+ {{svg-jar "dropdown-arrow" class="dropdown-arrow fill-current absolute opacity-75 pointer-events-none"}}
23
23
  </div>
24
24
  </div>
@@ -4,9 +4,9 @@
4
4
  class="
5
5
  component-tree-item relative flex items-center mx-1 rounded
6
6
  {{if @item.hasInstance "cursor-pointer" "cursor-default"}}
7
- {{if @item.isComponent "component-tree-item--component"}}
8
- {{if @item.isPinned "component-tree-item--pinned"}}
9
- {{if @item.isHighlighted "component-tree-item--highlighted"}}"
7
+ {{if @item.isComponent "component-tree-item-component"}}
8
+ {{if @item.isPinned "component-tree-item-pinned"}}
9
+ {{if @item.isHighlighted "component-tree-item-highlighted"}}"
10
10
  {{on "click" @item.toggleInspection}}
11
11
  {{on "mouseenter" @item.showPreview}}
12
12
  {{on "mouseleave" @item.hidePreview}}
@@ -14,7 +14,7 @@
14
14
  <div class="component-tree-item-background flex items-center pr-2 rounded">
15
15
  {{#if @item.hasChildren}}
16
16
  <Ui::DisclosureTriangle
17
- class="component-tree-item__expand self-stretch px-1 cursor-pointer"
17
+ class="component-tree-item-expand self-stretch px-1 cursor-pointer"
18
18
  title="Click to toggle (alt/option click to toggle with children)"
19
19
  @toggle={{@item.toggleExpansion}}
20
20
  @expanded={{@item.isExpanded}}
@@ -22,18 +22,18 @@
22
22
  {{/if}}
23
23
 
24
24
  <code
25
- class="component-tree-item__tag flex whitespace-no-wrap
26
- {{if @item.isClosingTag 'component-tree-item__closing'}}
27
- {{if @item.hasModifiers 'component-tree-item__has_modifier'}}
25
+ class="component-tree-item-tag flex whitespace-no-wrap
26
+ {{if @item.isClosingTag 'component-tree-item-closing'}}
27
+ {{if @item.hasModifiers 'component-tree-item-has-modifier'}}
28
28
  {{if
29
29
  (or @item.isComponent @item.isModifier @item.isHtmlTag)
30
30
  (if
31
31
  @item.isCurlyInvocation
32
- "component-tree-item-classic__bracket"
32
+ "component-tree-item-classic-bracket"
33
33
  (if
34
34
  @item.hasChildren
35
- "component-tree-item__bracket"
36
- "component-tree-item__bracket component-tree-item__bracket--self-closing"
35
+ "component-tree-item-bracket"
36
+ "component-tree-item-bracket component-tree-item-bracket-self-closing"
37
37
  )
38
38
  )
39
39
  }}"
@@ -45,7 +45,7 @@
45
45
  {{@item.name}}
46
46
  </span>
47
47
 
48
- {{#each @item.args.positional as |value|}}
48
+ {{#each @item.args.positional key="@index" as |value|}}
49
49
  <div class="arg-token flex ml-2">
50
50
  {{if (is-string value) "\""}}
51
51
  <ComponentTreeArg @value={{value}} />
@@ -104,9 +104,9 @@
104
104
  </div>
105
105
 
106
106
  {{#if @item.hasBounds}}
107
- <div class="component-tree-item__actions sticky flex items-center pr-1 whitespace-no-wrap">
107
+ <div class="component-tree-item-actions sticky flex items-center pr-1 whitespace-no-wrap">
108
108
  <button
109
- class="component-tree-item__action inline-flex items-center h-full p-0 border-0 cursor-pointer bg-transparent z-10"
109
+ class="component-tree-item-action inline-flex items-center h-full p-0 border-0 cursor-pointer bg-transparent z-10"
110
110
  title="Scroll into view"
111
111
  data-test-scroll-into-view
112
112
  {{on "click" @item.scrollIntoView}}
@@ -116,7 +116,7 @@
116
116
  </button>
117
117
 
118
118
  <button
119
- class="component-tree-item__action inline-flex items-center h-full ml-2 p-0 border-0 cursor-pointer bg-transparent z-10"
119
+ class="component-tree-item-action inline-flex items-center h-full ml-2 p-0 border-0 cursor-pointer bg-transparent z-10"
120
120
  title="View in Elements panel"
121
121
  data-test="view-dom-element"
122
122
  {{on "click" @item.inspectElement}}
@@ -1,6 +1,6 @@
1
1
  <div class="toolbar">
2
2
  <button
3
- class="{{if @isInspecting "active"}} toolbar__icon-button"
3
+ class="{{if @isInspecting "active"}} toolbar-icon-button"
4
4
  type="button"
5
5
  {{on "click" @toggleInspect}}
6
6
  >
@@ -10,7 +10,7 @@
10
10
  <Ui::ToolbarDivider />
11
11
 
12
12
  <button
13
- class="toolbar__icon-button"
13
+ class="toolbar-icon-button"
14
14
  title="expand all"
15
15
  type="button"
16
16
  {{on "click" @expandAll}}
@@ -19,7 +19,7 @@
19
19
  </button>
20
20
 
21
21
  <button
22
- class="toolbar__icon-button"
22
+ class="toolbar-icon-button"
23
23
  title="collapse all"
24
24
  type="button"
25
25
  {{on "click" @collapseAll}}
@@ -34,4 +34,18 @@
34
34
  @value={{@query}}
35
35
  data-test-filter-views
36
36
  />
37
+
38
+ <Ui::ToolbarDivider />
39
+
40
+ {{#if @pinned}}
41
+ <button
42
+ class="{{if @showParentsOnly "active"}} toolbar-icon-button"
43
+ type="button"
44
+ title="toggle focus mode"
45
+ data-test-toggle-focus
46
+ {{on "click" @toggleParentsOnly}}
47
+ >
48
+ {{svg-jar "focus-point-round" width="16px" height="16px"}}
49
+ </button>
50
+ {{/if}}
37
51
  </div>
@@ -1,16 +1,17 @@
1
1
  import { scheduleOnce } from '@ember/runloop';
2
2
  import { action } from '@ember/object';
3
- import DatePicker from 'ember-inspector/components/ember-flatpickr';
3
+ import DatePicker from 'ember-flatpickr/components/ember-flatpickr';
4
4
 
5
5
  export default class DatePropertyFieldComponent extends DatePicker {
6
6
  @action
7
- onInsert(element) {
7
+ onInsert(element: HTMLInputElement) {
8
8
  super.onInsert(element);
9
9
 
10
+ // eslint-disable-next-line ember/no-runloop
10
11
  scheduleOnce('afterRender', this, this._openFlatpickr);
11
12
  }
12
13
 
13
- _openFlatpickr() {
14
- this.flatpickrRef.open();
15
- }
14
+ _openFlatpickr = () => {
15
+ this.flatpickrRef?.open();
16
+ };
16
17
  }
@@ -1,6 +1,6 @@
1
1
  <div class="deprecation-source pb-2" data-test-deprecation-source>
2
2
  <button
3
- class="send-to-console send-to-console--chevron-only mr-3"
3
+ class="send-to-console send-to-console-chevron-only mr-3"
4
4
  title="Trace deprecations in console"
5
5
  data-test-trace-deprecations-btn
6
6
  {{on "click" this.handleClick}}
@@ -26,7 +26,7 @@
26
26
 
27
27
  {{#if (not @model.hasSourceMap)}}
28
28
  <button
29
- class="send-to-console send-to-console--chevron-only mr-2"
29
+ class="send-to-console send-to-console-chevron-only mr-2"
30
30
  title="Trace deprecations in console"
31
31
  data-test-full-trace-deprecations-btn
32
32
  type="button"
@@ -3,7 +3,7 @@
3
3
 
4
4
  <Ui::ToolbarDivider />
5
5
 
6
- <div class="toolbar__checkbox">
6
+ <div class="toolbar-checkbox">
7
7
  <label title="Deprecation workflow">
8
8
  <Input
9
9
  @type="checkbox"
@@ -1,11 +1,11 @@
1
1
  <div class="split">
2
2
  <Ui::DraggableColumn
3
- @classes="split__panel split__panel--sidebar-2 nav"
3
+ @classes="split-panel split-panel-sidebar-2 nav"
4
4
  @side="left"
5
5
  @width={{@width}}
6
6
  >
7
- <div class="split__panel__bd">
8
- <h1 class="nav__title">{{@header}}</h1>
7
+ <div class="split-panel-bd">
8
+ <h1 class="nav-title">{{@header}}</h1>
9
9
 
10
10
  <ul>
11
11
  {{#each @sorted as |itemType|}}
@@ -13,9 +13,9 @@
13
13
  <LinkTo
14
14
  @route={{if (eq @type "model") "records" "container-type"}}
15
15
  @model={{escape-url itemType.name}}
16
- class="nav__item"
16
+ class="nav-item"
17
17
  >
18
- <span class={{concat this.typeClass "-name" " nav__item-label"}}>
18
+ <span class={{concat this.typeClass "-name" " nav-item-label"}}>
19
19
  {{itemType.name}}
20
20
  </span>
21
21
 
@@ -27,8 +27,8 @@
27
27
  </div>
28
28
  </Ui::DraggableColumn>
29
29
 
30
- <div class="split__panel">
31
- <div class="split__panel__bd">
30
+ <div class="split-panel">
31
+ <div class="split-panel-bd">
32
32
  {{yield}}
33
33
  </div>
34
34
  </div>
@@ -1,7 +1,7 @@
1
1
  <td
2
- class="list__cell
3
- {{if this.clickable 'list__cell_clickable'}}
4
- {{if this.highlight 'list__cell_highlight'}}"
2
+ class="list-cell
3
+ {{if this.clickable 'list-cell-clickable'}}
4
+ {{if this.highlight 'list-cell-highlight'}}"
5
5
  role="button"
6
6
  style={{this.safeStyle}}
7
7
  title={{this.title}}
@@ -1,12 +1,13 @@
1
1
  <div
2
- class="list__content js-list-content"
2
+ class="list-content js-list-content"
3
3
  style={{this.style}}
4
4
  {{did-insert this.elementInserted}}
5
+ ...attributes
5
6
  >
6
- <div class="list__table-container">
7
+ <div class="list-table-container">
7
8
  <table>
8
9
  <colgroup>
9
- {{#each this.columns as |column|}}
10
+ {{#each @columns as |column|}}
10
11
  <col style={{build-style width=(concat column.width "px")}} />
11
12
  {{/each}}
12
13
  </colgroup>