Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Allow for framework based navigation

Đang mở
#590 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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ả

Needs Triage
Preflight checklist
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ory/elements

Tất cả issue của ory/elements

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.