[Feature request] Exit / close function for code apps (like Power Fx Exit())
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- api
Hướng nghiên cứu
Start by reading the public API for @microsoft/power-apps/app and the existing host integration described in the issue; the repository files and tests are not named here. Clarify how the SDK can request host actions in both the mobile app and browser player, including sign-out. Done means an exit API returns the user to the app list in both environments and supports the requested sign-out behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
Canvas apps can return the user to the app list with Exit() (and sign out with Exit(true)). Code apps have no equivalent: @microsoft/power-apps 1.5.0 only offers getContext, setConfig, data access and telemetry. Inside the player the app is a cross-origin iframe, so it can't close itself or navigate the host.
Request: add exit(options?: { signOut?: boolean }) to @microsoft/power-apps/app that asks the host to close the app — in the Power Apps mobile app back to the app list, in the browser player the same behaviour as canvas Exit().
Why: mobile-first code apps (bottom navigation) need an explicit "Exit app" action; the Android back button walks back page by page through the app's history first. Shared devices need Exit(true) for sign-out.
Environment information
- pa 1.3.0, @microsoft/power-apps 1.5.0, Power Apps Android app.
- CodeApp used via Power Apps Android Mobile App
- Ngôn ngữ chính
- TypeScript
- Star
- 516
- Fork
- 145
- Merge trung bình
- 23 giờ 41 phút
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/PowerAppsCodeApps
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
microsoft/PowerAppsCodeApps#499 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
microsoft/PowerAppsCodeApps#472 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] shared_odbc with on-prem fails pointing to placeholder URLCó thể đã có người làm @tonystevenj đã nhận 7 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoft/PowerAppsCodeApps#465 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Power App Code App doesn't run in China 21V cloud even with the toggle enabledCó thể đã có người làm @tonystevenj đã nhận 9 ngày trước. Đang mởbug product team investigating
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/PowerAppsCodeApps#463 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/PowerAppsCodeApps#461 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/PowerAppsCodeApps
Issue tương tự
-
Add: Tequila Music TV RO SDĐang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
iptv-org/iptv#55821 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vercel-labs/wterm#246 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nearform/lastlight#452 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(console): include PARTITIONED BY in generated table DDLCó thể đã có người làm @aubdiy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/polaris-tools#291 ·
Maintainer thường phản hồi trong vòng 6 ngày