Allow for framework based navigation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Bắt đầu với README của elements-react và API OryFlowComponentOverrides được mô tả trong issue. Theo dõi cách thành phần đăng nhập render các liên kết "Recover Account" và "Sign Up", sau đó xác định bề mặt override cần thiết để một framework có thể xử lý việc điều hướng mà không cần chuyển hướng toàn bộ trình duyệt; hoàn thành khi các liên kết đó hỗ trợ chuyển hướng do framework kiểm soát.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
Hi,
I'm using the elements-react package and I'd like to understand if there's a way to allow my framework to handle navigation/redirects for rendered links.
As an example, the login component displays a "Recover Account" and "Sign Up" link that is a <a> </a> element which triggers a full browser redirect to Kratos which then redirects to the appropriate page with the flow ID. It would make for a smoother user experience if my framework could handle the redirect avoiding the need to re-fetch all the UI elements.
This is somewhat hinted at in the elements-react readme but it's limited to redirects in our code. There is also the OryFlowComponentOverrides but it doesn't seem like links can be overridden.
Describe your ideal solution
A way to override links in OryFlowComponentOverrides seems reasonable.
Workarounds or alternatives
None
Version
1.1.0
Additional Context
No response
- Ngôn ngữ chính
- TypeScript
- Star
- 187
- Fork
- 80
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
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 ory/elements
-
Needs Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
good first issue help wanted upstream
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
good first issue help wanted upstream
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Add React-only examplesĐang mởNeeds Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
-
guessPotentiallyProxiedOrySdkUrl breaks flows in production behind a non-Vercel reverse proxyĐang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
Issue tương tự
-
area/frontend good first issue kind/cooldown
Độ 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
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
voidzero-dev/oxc-angular-compiler#511 ·
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
langchain-ai/deepagentsjs#898 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
anomalyco/models.dev#8509 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation P2 UI/UX
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày