Closed krishnendu closed 4 months ago
This update enhances the application's handling of the dashboard configuration by integrating the ConfigurationService
throughout routes and services. Key changes include injecting this service into the ApplicationRoute
, AuthenticatedRoute
, and StatusRoute
, allowing them to fetch and manage configuration data efficiently. Additionally, the access levels of certain types in network.ts
have been modified, promoting better data encapsulation and accessibility.
File | Change Summary |
---|---|
app/routes/application.ts |
Added getDashboardConfig() call within await all([]) block in ApplicationRoute class. |
app/routes/authenticated.ts |
Injected ConfigurationService and updated model method to load dashboard config in AuthenticatedRoute class. |
app/routes/status.ts |
Injected ConfigurationService and implemented beforeModel to fetch dashboard config in StatusRoute class. |
app/services/configuration.ts |
Enhanced ConfigurationService to handle dashboard configuration, added new methods and properties, including dashboardData and getDashboardConfig() . |
app/services/devicefarm.ts |
Declared session service and updated devicefarmURL getter to use session auth and config data in DevicefarmService class. |
app/services/network.ts |
Changed Header and RequestOptions types from private to public. |
tests/acceptance/.../status-redirect-test.js |
Added network stubbing for acceptance tests, introduced mock device farm URL, and registered server routes for testing interactions. |
In the meadow where code does play,
Configuration blooms in bright array,
Routes now dance with data so true,
Fetching insights, fresh as dew.
Devicefarm waits with a cheerful ping,
Oh, how sweet the changes bring!
🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
1 | 9 | 0 | 0 | 0 |
Details:
Merge a26f9759e4a981885829fe4435ac4504b9efbdbe into 530d7d59f0526570ce5b7de86b50... | |||
Project: Irene | Commit: 0253495d84 ℹ️ |
||
Status: Failed | Duration: 04:29 💡 | ||
Started: Jun 27, 2024 8:01 PM | Ended: Jun 27, 2024 8:05 PM |
View
Output
Test | Artifacts | |
---|---|---|
Dynamic Scan > it tests dynamic scan for an apk file: 58062 |
Test Replay
Screenshots
|
Latest commit: |
e3dbb92
|
Status: | ✅ Deploy successful! |
Preview URL: | https://474e70b7.irenestaging.pages.dev |
Branch Preview URL: | https://pd-1360.irenestaging.pages.dev |
Failed conditions
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Use organization devicefarm url if present instead of env