Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
f83119c
remove loader and export emberSafeRequire from ember util
mansona Jun 12, 2025
42198be
Remove loader (#2654)
mansona Jun 12, 2025
1d17983
in render-tree, glimmer deps are now imported from utils/ember
BlueCutOfficial Jun 11, 2025
f39da01
in render-tree, ember/destroyable is now imported from utils/ember
BlueCutOfficial Jun 11, 2025
e3aa91d
in object-inspector, glimmer deps are now imported from utils/ember
BlueCutOfficial Jun 12, 2025
ec94aec
in object-inspector, ember/-internals/metal is now imported from util…
BlueCutOfficial Jun 12, 2025
4ec3e56
in ember-object-names, ember/-internal/{runtime,views} are now import…
BlueCutOfficial Jun 17, 2025
4dc681b
in type-checks, ember/-internals/metal is now imported from utils/ember
BlueCutOfficial Jun 17, 2025
51b07cb
Refactor: Centralize calls to `emberSafeRequire` (#2653)
mansona Jun 19, 2025
c8550c0
support shadow dom for click to select & inspect component (#2659)
patricklx Jun 19, 2025
56d4c21
remove usage of ember-wormhole module
BlueCutOfficial Jun 17, 2025
77db0e9
Centralize interactions with ember-source: wormhole (#2660)
mansona Jun 20, 2025
5ee2249
fix html element tree when not a direct child (#2657)
patricklx Jun 20, 2025
8188179
fix local dev (#2656)
patricklx Jun 20, 2025
b723f9d
perf: do not re-render positionals (#2658)
patricklx Jun 23, 2025
170cd9f
fix watch test script (#2662)
patricklx Jun 24, 2025
0bead41
show parents in sidebar
patricklx Jun 26, 2025
f553044
implement show parents only (focus mode) (#2655)
patricklx Jun 26, 2025
e8dd6fa
fix service detection (#2664)
patricklx Jul 1, 2025
5e1f2a6
re-order things in utils/ember so nothing will crash if Ember is not …
BlueCutOfficial Jul 8, 2025
f9fedfc
ember_debug: remove import Ember from js code
BlueCutOfficial Jul 8, 2025
355b3ae
ember_debug: remove overkill files
BlueCutOfficial Jul 8, 2025
a04594b
Cleanup import ember (#2668)
mansona Jul 11, 2025
3bd649d
finish the centralization by removing ember export, fix a tiny issue …
BlueCutOfficial Jul 15, 2025
1725261
add a timeout on the github job so it can fail when qunit is blocking…
BlueCutOfficial Jul 15, 2025
dd9edf9
in profile-manager-test, remove one last forgotten reference to the E…
BlueCutOfficial Jul 15, 2025
33cb2eb
Achieve centralizing imports from Ember (#2669)
mansona Jul 16, 2025
51936fb
remove overkill use of env to simplify new build process
mansona Jul 18, 2025
0d77d3d
clean up unused currentEnv and env
mansona Jul 21, 2025
9ddbcce
remove overkill use of env to simplify new build process (#2670)
mansona Jul 21, 2025
e7dd425
use relative imports inside ember-debug
mansona Jul 21, 2025
4b5ac6d
use relative imports inside ember-debug (#2671)
mansona Jul 22, 2025
e164b5c
simplify testing
mansona Jul 24, 2025
2ba99e8
update to node 22
mansona Jul 24, 2025
9ff33f3
convert ember-debug to esm and simplify wrapper
mansona Jul 24, 2025
a70e6f3
clean up dist between builds
mansona Jul 28, 2025
037ca70
remove unneeded adapter entry points
mansona Jul 28, 2025
bebedb6
make sure ember-debug is a dependency for tests
mansona Jul 28, 2025
d0a7e30
add all js files to manifest
mansona Jul 28, 2025
4c14b4f
fix pnpm pack issue
mansona Jul 28, 2025
fba39a4
Remove the "ui" in-repo-addon
pichfl Jul 29, 2025
260005a
Fix theme colors no rendering in tests and bookmarklet
pichfl Jul 29, 2025
505c5ab
Replace Inter font with `system-ui` keyword
pichfl Jul 29, 2025
5bc63e2
Convert ember-debug to ESM and simplify wrapper (#2672)
ef4 Jul 29, 2025
ba93039
Remove the "ui" in-repo-addon (#2674)
mansona Jul 29, 2025
5226815
Fix theme colors no rendering in tests and bookmarklet (#2675)
mansona Jul 29, 2025
b5f1a56
Enable CORS for locally served bookmarklet
pichfl Jul 30, 2025
16080e0
Enable CORS for locally served bookmarklet (#2677)
mansona Jul 30, 2025
4791c30
Use @controller decorator to reach for child controller
pichfl Aug 6, 2025
821b9fb
show parents in sidebar (#2667)
mansona Aug 6, 2025
bf0bb86
Add owner to the list of properties of an object
pichfl Aug 12, 2025
0494337
get owner using `@ember/owner` when available
mansona Aug 13, 2025
2ab5eba
Use a uncommon property name for referencing the owner
mansona Aug 13, 2025
6d0f944
Add test to ensure objects with owner pass it to the inspector
pichfl Aug 14, 2025
5c279e8
Make container test more precise
pichfl Aug 18, 2025
26cc76e
Merge conditionals in template
pichfl Aug 18, 2025
6a2cffc
Add owner to the list of properties of an object (#2680)
mansona Aug 18, 2025
0817afb
Replace Inter font with `system-ui` keyword (#2676)
mansona Aug 18, 2025
4ed4da7
Move object inspector visibility handling to the layout service
pichfl Jul 31, 2025
23c1ee2
Extract ObjectInspector toggle into component
pichfl Jul 31, 2025
1cfefeb
Move ObjectInspector:Toggle in new place
pichfl Jul 31, 2025
41f183d
Use prefer `layout` over `layoutService`
pichfl Aug 18, 2025
5bd8d0b
Use simpler CSS like it's 2015
pichfl Aug 18, 2025
81c8dfd
Move Object Inspector toggle so it remains visible in edge cases (#2678)
mansona Aug 18, 2025
25300e1
Create PRIVACY.md
mansona Sep 25, 2025
a012a93
Create PRIVACY.md (#2683)
mansona Sep 25, 2025
a4d06f3
add client secret to the build and upload script
mansona Sep 25, 2025
ea55cfa
add client secret to the build and upload script (#2684)
mansona Sep 25, 2025
c72ad87
first iteration on implementating vite support
mansona Apr 10, 2025
1fefa7b
considers emberInspectorApps as an array
BlueCutOfficial Jul 16, 2025
3de6b04
consume async in tests for loading ember-debug
mansona Aug 13, 2025
edcd84e
make the inspector boot work with vite
mansona Aug 25, 2025
b418b52
fix lint
mansona Aug 25, 2025
78fc146
move ember/owner import to the right place
mansona Aug 25, 2025
0113002
fix eager Owner loading on earlier ember versions
mansona Sep 25, 2025
c73feff
fix owner reference
mansona Sep 30, 2025
7001eae
fix accessing Ember version during boot
mansona Oct 2, 2025
2eea0a4
fix access of getOwner in older ember versions
mansona Oct 2, 2025
659f1b7
remove leftover comments
mansona Oct 2, 2025
3cf4eaf
Add support for Vite (#2625)
mansona Oct 2, 2025
96ca292
remove wyvox/action-setup
mansona Oct 2, 2025
f796cf1
upgrade release-plan
mansona Oct 2, 2025
c2374c1
stop publishing alphas to npm
mansona Oct 2, 2025
d5dcfba
move production publish to release-plan job
mansona Oct 2, 2025
debe4c3
Fix release (#2685)
mansona Oct 2, 2025
5aa8637
Prepare Release v4.14.0 using 'release-plan'
mansona Oct 2, 2025
681f18f
Prepare Release v4.14.0 (#2651)
mansona Oct 2, 2025
f673d10
move ember debug tests into own app
patricklx Oct 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 37 additions & 119 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
env:
CI: 'true'
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4
# Code Climate expects these variables to be set
- name: Set up commit metadata
if: github.event_name == 'push'
Expand All @@ -38,15 +37,21 @@ jobs:
run: |
echo "GIT_COMMIT_SHA=${GIT_COMMIT_SHA}" >> $GITHUB_ENV
echo "GIT_BRANCH=${GIT_BRANCH}" >> $GITHUB_ENV
- name: setup pnpm & node
uses: wyvox/action-setup-pnpm@v3
- name: Install dependencies (pnpm)
run: pnpm install
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- name: Lint (hbs)
run: pnpm lint:hbs
- name: Lint (js)
run: pnpm lint:js
- name: Run test
- name: build
run: EMBER_ENV=test pnpm ember build --environment test
- name: test ember debug
run: pnpm ember-debug:test
- name: Run test inspector ui
run: pnpm test
env:
COVERAGE: 'true'
Expand Down Expand Up @@ -77,6 +82,7 @@ jobs:
name: ember-try (${{ matrix.scenario }})
needs: test
runs-on: ubuntu-latest
timeout-minutes: 10
env:
CI: 'true'
strategy:
Expand All @@ -98,36 +104,36 @@ jobs:
- ember-default-no-prototype-extensions

steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup pnpm & node
uses: wyvox/action-setup-pnpm@v3
- name: Install dependencies (pnpm)
run: pnpm install
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- name: Set NO_EXTEND_PROTOTYPES
if: matrix.scenario == 'ember-default-no-prototype-extensions'
run: echo "NO_EXTEND_PROTOTYPES==true" >> .GITHUB_ENV
- name: Setup ember-try scenario
run: pnpm ember try:one ${{ matrix.scenario }} --skip-cleanup --- cat package.json
- name: Build
- name: Build Inspector
run: pnpm ember build --environment test
- name: Setup ember-try scenario
run: pnpm ember-debug:try:one ${{ matrix.scenario }} --skip-cleanup --- cat package.json
- name: Run test
# Due to a bug in ember-cli, running `ember test` with `--path` doesn't set `EMBER_ENV=test`
# See https://github.com/ember-cli/ember-cli/issues/8922
run: EMBER_ENV=test pnpm ember test --path dist --filter="Ember Debug"
run: pnpm ember-debug:test

build:
name: Build extensions
runs-on: ubuntu-latest
env:
CI: 'true'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: setup pnpm & node
uses: wyvox/action-setup-pnpm@v3
- name: Install dependencies (pnpm)
run: pnpm install
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- name: Download panes
run: node scripts/download-panes.js
env:
Expand Down Expand Up @@ -198,7 +204,7 @@ jobs:
env:
PR: ${{ github.event.pull_request.number }}
- name: Build
run: pnpm ember build --environment production
run: pnpm build:production
- name: Pack
run: |
VERSION="$(jq -r '.version' package.json)"
Expand Down Expand Up @@ -227,31 +233,6 @@ jobs:
name: npm
path: dist/npm

publish-bookmarklet:
name: Publish bookmarklet
needs:
- test
- ember-try
- build
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Download artifacts (bookmarklet)
uses: actions/download-artifact@v4
with:
name: bookmarklet
path: bookmarklet
- name: Upload to S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read --cache-control "max-age=86400000,public"
env:
AWS_S3_BUCKET: ember-extension
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: bookmarklet
DEST_DIR: dist_bookmarklet

publish-chrome:
name: Publish Chrome extension
needs:
Expand All @@ -271,74 +252,11 @@ jobs:
path: chrome
- name: Set Environment Variables
run: |
if [[ "$GITHUB_EVENT_NAME" == "schedule" ]]; then
echo "EXTENSION_ID=ibdbkmdgflhglikhjdbogjjflkialpfi" >> $GITHUB_ENV
echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
else
echo "EXTENSION_ID=bmdblncegkenkacieihfhpjfppoconhi" >> $GITHUB_ENV
echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
fi
echo "EXTENSION_ID=ibdbkmdgflhglikhjdbogjjflkialpfi" >> $GITHUB_ENV
echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
echo "CLIENT_SECRET=${{ secrets.GOOGLE_NIGHTLY_CLIENT_SECRET }}" >> $GITHUB_ENV
echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
- name: Upload to Chrome Web Store
if: >-
github.event_name == 'schedule' ||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
github.event_name == 'schedule'
run: chrome-webstore-upload upload --source chrome --auto-publish

publish-firefox:
name: Publish Firefox extension
needs:
- test
- ember-try
- build
runs-on: ubuntu-latest
steps:
- name: Set up nod
uses: actions/setup-node@v4
- name: Install dependencies (web-ext)
run: |
npm install -g web-ext
# https://github.com/mozilla/web-ext/issues/804
npm install -g web-ext-submit
- name: Download artifacts (Firefox)
uses: actions/download-artifact@v4
with:
name: firefox
path: firefox
- name: Upload to AMO
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
working-directory: firefox
run: web-ext-submit --channel=listed
env:
WEB_EXT_API_KEY: ${{ secrets.FIREFOX_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.FIREFOX_API_SECRET }}

publish-npm:
name: Publish npm package
needs:
- test
- ember-try
- build
runs-on: ubuntu-latest
steps:
- name: Set up node
uses: actions/setup-node@v4
- name: Download artifacts (npm)
uses: actions/download-artifact@v4
with:
name: npm
path: npm
- name: Publish to npm
if: >-
github.event_name == 'schedule' ||
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
working-directory: npm
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}"> ~/.npmrc
npm whoami
if [[ "$GITHUB_EVENT_NAME" == "schedule" ]]; then
npm publish --tag alpha
fi
120 changes: 119 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,123 @@ concurrency:
cancel-in-progress: true

jobs:

build:
name: Build extensions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- run: pnpm install
- name: Download panes
run: node scripts/download-panes.js
env:
EMBER_ENV: production
- name: Build
run: pnpm build:production
- name: Pack
run: |
VERSION="$(jq -r '.version' package.json)"

pnpm pack
mkdir -p dist/npm
tar xvzf "ember-inspector-$VERSION.tgz" -C dist/npm --strip-components 1
- name: Upload artifacts (bookmarklet)
uses: actions/upload-artifact@v4
with:
name: bookmarklet
path: dist/bookmarklet
- name: Upload artifacts (Chrome)
uses: actions/upload-artifact@v4
with:
name: chrome
path: dist/chrome
- name: Upload artifacts (Firefox)
uses: actions/upload-artifact@v4
with:
name: firefox
path: dist/firefox
- name: Upload artifacts (npm)
uses: actions/upload-artifact@v4
with:
name: npm
path: dist/npm

publish-bookmarklet:
name: Publish bookmarklet
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Download artifacts (bookmarklet)
uses: actions/download-artifact@v4
with:
name: bookmarklet
path: bookmarklet
- name: Upload to S3
uses: jakejarvis/[email protected]
with:
args: --acl public-read --cache-control "max-age=86400000,public"
env:
AWS_S3_BUCKET: ember-extension
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SOURCE_DIR: bookmarklet
DEST_DIR: dist_bookmarklet

publish-chrome:
name: Publish Chrome extension
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Set up node
uses: actions/setup-node@v4
- name: Install dependencies (chrome-webstore-upload-cli)
run: npm install -g chrome-webstore-upload-cli
- name: Download artifacts (Chrome)
uses: actions/download-artifact@v4
with:
name: chrome
path: chrome
- name: Set Environment Variables
run: |
echo "EXTENSION_ID=bmdblncegkenkacieihfhpjfppoconhi" >> $GITHUB_ENV
echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
echo "CLIENT_SECRET=${{ secrets.GOOGLE_NIGHTLY_CLIENT_SECRET }}" >> $GITHUB_ENV
echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
- name: Upload to Chrome Web Store
run: chrome-webstore-upload upload --source chrome --auto-publish

publish-firefox:
name: Publish Firefox extension
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Set up nod
uses: actions/setup-node@v4
- name: Install dependencies (web-ext)
run: |
npm install -g web-ext
# https://github.com/mozilla/web-ext/issues/804
npm install -g web-ext-submit
- name: Download artifacts (Firefox)
uses: actions/download-artifact@v4
with:
name: firefox
path: firefox
- name: Upload to AMO
working-directory: firefox
run: web-ext-submit --channel=listed
env:
WEB_EXT_API_KEY: ${{ secrets.FIREFOX_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.FIREFOX_API_SECRET }}

publish:
name: "NPM Publish"
runs-on: ubuntu-latest
Expand All @@ -28,7 +145,7 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
with:
token: ${{ secrets.GH_PAT }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
Expand All @@ -38,6 +155,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build:production
- name: Publish to NPM
run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish
env:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

# dependencies
/node_modules/
/test-apps/classic/dist
/test-apps/classic/node_modules

# misc
/.env*
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
public-hoist-pattern[]=@babel/*
resolution-mode=highest
use-node-version=18.20.4
use-node-version=22.17.1
Loading