Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
b3f8d33
chore: 🤖 migrate away from component helper for target form
hashicc Nov 20, 2025
e4fcde1
chore: 🤖 migrate away from component helper for managed group
hashicc Nov 20, 2025
40ace73
chore: 🤖 migrate away from component helper for host set form
hashicc Nov 20, 2025
2e6a049
chore: 🤖 migrate component helper usage for storage bucket form
hashicc Nov 20, 2025
ce51d78
chore: 🤖 convert rose form to embroider safe component helper
hashicc Nov 20, 2025
e6367f9
chore: 🤖 bump ember-can
hashicc Nov 25, 2025
447611e
chore: 🤖 import explicit mirage references
hashicc Apr 28, 2025
48c4f3d
chore: 🤖 add mirage setupMirage helper
hashicc Apr 28, 2025
f067660
chore: 🤖 working example with application adapter test
hashicc Apr 28, 2025
f63822c
chore: 🤖 use internal setupMirage test helper from api addon
hashicc Nov 14, 2025
3d77203
chore: 🤖 conditionally load mirage
hashicc Nov 14, 2025
50cfcff
chore: 🤖 filter mirage folder inclusion in production builds
hashicc Nov 14, 2025
b397c8d
chore: 🤖 drop ember-mirage and use our own test helpers
hashicc Nov 20, 2025
261c54f
chore: 🤖 collapse reference to import declaration
hashicc Nov 20, 2025
65ba285
docs: ✏️ add comment better explaining the mirage test env
hashicc Nov 20, 2025
242e4c1
chore: 🤖 update configuration and manage mirage-related deps
hashicc Nov 21, 2025
7dae7f6
fix: 🐛 restore ipc mock and add missing checkOS handler
hashicc Nov 21, 2025
93088ef
chore: 🤖 add comment explaining omitting mirage deps in build
hashicc Nov 21, 2025
3a761c2
chore: 🤖 allow mirage.enabled to include deps and handlers
hashicc Nov 24, 2025
4d00c7c
chore: 🤖 re-enable mirage for core dummy app
hashicc Nov 24, 2025
5b89f08
Add missing copyright headers
hashicc Nov 24, 2025
f702feb
chore: 🤖 use embroider macros to conditionally start mirage
hashicc Nov 24, 2025
69582d4
docs: ✏️ update api readme for mirage changes
hashicc Nov 24, 2025
1dde116
chore: 🤖 replace remaining ember-cli-mirage references
hashicc Nov 24, 2025
0ac968f
chore: 🤖 add mirage to test builds
hashicc Nov 24, 2025
138fc2b
fix: 🐛 ensure that auto mirage start doesn't happen in test env
hashicc Nov 24, 2025
a0ff110
chore: 🤖 add ember-inflector
hashicc Nov 25, 2025
0f2a401
chore: 🤖 add missing dependency on ember-inflector
hashicc Nov 25, 2025
3ccfd55
chore: 🤖 rename "can" service (deprecated) to abilities
hashicc Nov 25, 2025
dbf3adf
chore: 🤖 add missing dependency on ember-inflector
hashicc Nov 25, 2025
9d1be27
chore: 🤖 run codemode to vite
hashicc Nov 25, 2025
bafe813
Merge branch 'migrate-component-helper-target-form' into test-api-v2
hashicc Nov 25, 2025
7a8f7a7
Merge branch 'migrate-component-helper-storage-bucket-form' into test…
hashicc Nov 25, 2025
5dd564b
Merge branch 'migrate-component-helper-managed-group-form' into test-…
hashicc Nov 25, 2025
2c28e61
Merge branch 'migrate-component-helper-host-set-form' into test-api-v2
hashicc Nov 25, 2025
b92cce1
Merge branch 'make-rose-form-embroider-safe' into test-api-v2
hashicc Nov 25, 2025
79c96d1
chore: 🤖 hacky work to get vite working for admin
hashicc Nov 25, 2025
9febf69
chore: 🤖 ember-engines
hashicc Nov 25, 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
7 changes: 4 additions & 3 deletions addons/api/addon/mirage/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import makeBooleanFilter from './helpers/bexpr-filter';
import { faker } from '@faker-js/faker';
import { asciicasts } from './data/asciicasts';
import { TYPE_WORKER_PKI } from 'api/models/worker';
import environmentConfig from 'ember-get-config';
Copy link
Collaborator Author

@hashicc hashicc Nov 26, 2025

Choose a reason for hiding this comment

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

Need to access the config here without this package and then restore usages to environmentConfig


// mirage models (alphabetical)
import accountModel from './models/account';
Expand Down Expand Up @@ -92,7 +91,8 @@ import targetFactory from './factories/target';
import userFactory from './factories/user';
import workerFactory from './factories/worker';

const isTesting = environmentConfig.environment === 'test';
const environmentConfig = {};
const isTesting = false; // environmentConfig.environment === 'test';

// Main function
// More info about server configuration:
Expand Down Expand Up @@ -210,8 +210,9 @@ function routes() {
return metadata;
});

debugger;
// make this `/api`, for example, if your API is namespaced
this.namespace = environmentConfig.api?.namespace;
this.namespace = '/v1';
// delay for each request, automatically set to 0 during testing
this.timing = 1;

Expand Down
5 changes: 2 additions & 3 deletions addons/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"broccoli-plugin": "^4.0.7",
"broccoli-source": "^3.0.1",
"ember-auto-import": "^2.10.0",
"ember-can": "^6.0.0",
"ember-can": "^8.0.0",
"ember-cli-babel": "^8.2.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-data": "~5.3.12",
Expand Down Expand Up @@ -63,11 +63,10 @@
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.2",
"ember-exam": "^8.0.0",
"ember-get-config": "^2.1.1",
"ember-load-initializers": "^2.1.2",
"ember-page-title": "^8.2.3",
"ember-qunit": "^8.1.0",
"ember-resolver": "^12.0.1",
"ember-resolver": "^13.1.1",
"ember-source": "~5.12.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion addons/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"ember-load-initializers": "^2.1.2",
"ember-page-title": "^8.2.3",
"ember-qunit": "^8.1.0",
"ember-resolver": "^12.0.1",
"ember-resolver": "^13.1.1",
"ember-source": "~5.12.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^6.0.0",
Expand Down
1 change: 1 addition & 0 deletions addons/core/addon/decorators/confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ export function confirm(confirmationTextKey, options) {
};
};
}

2 changes: 2 additions & 0 deletions addons/core/addon/decorators/debounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ export function debounce(timeToWait, options) {
);
};
}

export default debounce;
2 changes: 2 additions & 0 deletions addons/core/addon/decorators/notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,5 @@ export function notifyError(
};
};
}

export default notifySuccess;
2 changes: 2 additions & 0 deletions addons/core/addon/decorators/resource-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,5 @@ export function resourceFilter({
};
};
}

export default resourceFilter;
2 changes: 1 addition & 1 deletion addons/core/app/decorators/confirm.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* SPDX-License-Identifier: BUSL-1.1
*/

export { default } from 'core/decorators/confirm';
export { confirm, confirm as default } from 'core/decorators/confirm';
1 change: 1 addition & 0 deletions addons/core/app/decorators/debounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
*/

export { default } from 'core/decorators/debounce';
export { default as debounce } from 'core/decorators/debounce';
1 change: 1 addition & 0 deletions addons/core/app/decorators/notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
*/

export { default } from 'core/decorators/notify';
export { notifySuccess, notifyError } from 'core/decorators/notify';
2 changes: 1 addition & 1 deletion addons/core/app/utils/seconds-to-duration.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* SPDX-License-Identifier: BUSL-1.1
*/

export { default } from 'core/utils/seconds-to-duration';
export { secondsToDuration as default } from 'core/utils/seconds-to-duration';
2 changes: 1 addition & 1 deletion addons/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = {
if (this.isDevelopingAddon()) app.options.svg.paths.push(dummyPublicPath);

this.addons.forEach((addon) => {
if (addon.name === 'ember-inline-svg') addon.included(app);
// if (addon.name === 'ember-inline-svg') addon.included(app);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This can probably be restored

});
},

Expand Down
4 changes: 2 additions & 2 deletions addons/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"ember-load-initializers": "^2.1.2",
"ember-page-title": "^8.2.3",
"ember-qunit": "^8.1.0",
"ember-resolver": "^12.0.1",
"ember-resolver": "^13.1.1",
"ember-source": "~5.12.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^6.0.0",
Expand Down Expand Up @@ -108,4 +108,4 @@
"*.hbs": "ember-template-lint --fix",
"*.{scss,yaml}": "prettier --write"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@
data-test-code-editor-toolbar-menu-divider
></div>
{{/if}}
<CopyButton
@text={{@copyText}}
@onSuccess={{this.copied}}
<div
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ember-cli-clipboard currently has an issue with vite

class='rose-code-editor-toolbar__copy-button'
data-test-code-editor-toolbar-copy-button
>
<Hds::Icon @name={{this.copyIconType}} @isInline={{true}} />
Copy code
</CopyButton>
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions addons/rose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"dependencies": {
"@babel/core": "^7.26.10",
"@hashicorp/design-system-components": "^4.24.1",
"@hashicorp/design-system-components": "^5",
"@hashicorp/design-system-tokens": "^2.3.0",
"@hashicorp/flight-icons": "^3.10.0",
"@nullvoxpopuli/ember-composable-helpers": "^5.2.10",
Expand Down Expand Up @@ -68,10 +68,10 @@
"ember-inline-svg": "^1.0.1",
"ember-load-initializers": "^2.1.2",
"ember-maybe-import-regenerator": "^1.0.0",
"ember-modifier": "^3.2.7",
"ember-modifier": "^4.2.0",
"ember-page-title": "^8.2.3",
"ember-qunit": "^8.1.0",
"ember-resolver": "^12.0.1",
"ember-resolver": "^13.1.1",
"ember-source": "~5.12.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^6.0.0",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"ember-try-config>package-json": "^10.0.1",
"ember-stargate@^0.6.0>@glimmer/component": "^2.0.0",
"ember-loading>ember-concurrency": "^4.0.0",
"tmp": "^0.2.5"
"tmp": "^0.2.5",
"ember-resolver": "^13.1.1"
},
"ignoredBuiltDependencies": [
"@parcel/watcher",
Expand Down
Loading
Loading