Open workspace pages in the SaaS app's /workspaces mount instead of the ws host
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nodejs, typescript
調査の方向性
CLIコード内のURL構築を探します。ワークスペースのリンクとブラウザへのハンドオフを扱うファイルにある可能性が高いです。'create-and-link'、'ALTIMATE_WORKSPACE_WEB_URL'、およびwsホストへの参照を検索します。ベースURLを更新して/workspacesマウントを使用し、ワークスペース関連のすべてのリンク(ハンドオフ、成功、キャンセル、管理)が正しく構築されるようにします。CLIリンクコマンドを実行し、生成されたURLを確認してテストします。
索引モデルが issue の本文から書いたものです。
説明
Problem
Workspace pages are served by the SaaS app under /workspaces (https://<tenant>.app.myaltimate.com/workspaces). The separate <tenant>.ws.myaltimate.com host that served them before is being retired, but every workspace URL the CLI builds still points there:
- the browser hand-off page
altimate-code linkopens (/create-and-link) - the loopback success page's bounce to the new workspace, and the cancel page's bounce to the list
- the "Manage it at" links printed by
linkand shown in the TUI
Proposal
Resolve the workspace base to the SaaS app's /workspaces mount and build every workspace URL relative to it. The hand-off page URL is currently built with new URL("/create-and-link", base), which drops any path on the base, so that join has to change too.
ALTIMATE_WORKSPACE_WEB_URL (dev override) should name the mount as well, e.g. http://acme.localhost:3000/workspaces.
- 主要言語
- TypeScript
- スター
- 813
- フォーク
- 134
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 65
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AltimateAI/altimate-code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AltimateAI/altimate-code#1323 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
AltimateAI/altimate-code#1288 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
AltimateAI/altimate-code#1285 ·
-
privacy: Altimate Base consent dialog no longer discloses persistent per-installation identifier オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
AltimateAI/altimate-code#1284 ·
-
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
AltimateAI/altimate-code#1283 ·
AltimateAI/altimate-code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
vercel-labs/just-bash#464 ·
-
looksLikeSlug() is ASCII-only, so non-Latin entity slugs (e.g. Korean) skip exact match and collapse オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
TanStack/tanstack.com#1293 ·