Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Allow for framework based navigation

オープン
#590 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
react, typescript
領域
frontend

調査の方向性

elements-react README と、issue で説明されている OryFlowComponentOverrides API から始めます。ログインコンポーネントが "Recover Account" と "Sign Up" のリンクをどのようにレンダリングするかを追跡し、その後、完全なブラウザーリダイレクトなしでフレームワークがナビゲーションを処理できるようにするために必要な override の対象範囲を特定します。これらのリンクがフレームワークによって制御されるリダイレクトをサポートすれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
188
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ory/elements のほかの issue

ory/elements の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。