forked from Qortal/Q-Manager
1.2 KiB
1.2 KiB
qapp-core Migration Notes
Status
- Branch:
spike/qapp-core-migration - Started migration by introducing a single request adapter:
src/qapp/request.ts
- Major runtime request callsites now route through:
requestQortal(...)
Adapter Behavior
requestQortal resolves provider in this order:
window.qappCore.request/window.QAppCore.request/window.qappCore.qortalRequestwindow.qapp.request/window.qapp.qortalRequest- legacy global
qortalRequest
If none are available, it throws an explicit provider error.
Migrated Files
src/App.jsxsrc/Manager.tsxsrc/storage.tssrc/File.tsxsrc/ContextMenuPinnedFiles.tsxsrc/actions/PUBLISH_QDN_RESOURCE.jsxsrc/actions/PUBLISH_MULTIPLE_QDN_RESOURCES.jsxsrc/actions/CREATE_POLL.jsxsrc/actions/VOTE_ON_POLL.jsxsrc/actions/OPEN_NEW_TAB.jsx
Next Steps
- Add actual
qapp-corepackage wiring once target API surface is confirmed. - Replace direct feature assumptions with typed qapp-core service modules.
- Add provider diagnostics in UI (which provider is active).
- Add branch-level smoke tests for publish, decrypt/encrypt, filesystem import/export.