Tax category page follow-up cleanups
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react, typescript
調査の方向性
The issue lists four independent cleanups under packages/client, with target files and a test file named for the BusinessScreen change. Start with one cleanup, read its listed call sites, and run the corresponding tests; for the screen change, update screens/businesses/__tests__/business-screen.test.tsx. Done means the selected cleanup is covered by passing tests, with behavior unchanged.
索引モデルが issue の本文から書いたものです。
説明
Cleanups noticed during the tax category page work (docs/tax-category-page/). None change behaviour.
-
Remove
BusinessScreen's unreachable fallback.packages/client/src/components/screens/businesses/business.tsxkeeps a paused urqluseQueryplus a no-loader<Navigate>branch. The/businesses/:businessIdroute always runsbusinessLoader(it either returns data or throws), so that path never runs in the app. Drop it, as was done forTaxCategoryScreen, and simplify the refresh touseRevalidator. Updatescreens/businesses/__tests__/business-screen.test.tsx. -
Shared membership-role lookup. Several call sites look up the user's role in a business with
memberships.find(m => m.businessId === id)?.role, each with its own rules about who may edit:components/business/admin/securities-settings-section.tsxcomponents/business/admin/depreciation-settings-section.tsxcomponents/manual-automations/manual-automations-access.tscomponents/tax-category/details-section.tsx
Extract a pure
getMembershipRole(userContext, businessId)helper. Keep each site's role set and scope rules where they are; only the lookup is shared. -
Shared
renderWithRoutertest helper. About 30 client test files repeat the samecreateRoot+act+MemoryRouterharness, for example the cell tests undercharges/cells/__tests__,ledger-table/__tests__,transactions-table/cells/__tests__,documents-table/cells/__tests__,business-ledger/cells/__tests__andcharge-matches/cells/__tests__. A shared helper would shorten them; migrate a few as part of adding it. -
NamedFinancialEntityReftype alias.FinancialEntityRef & { name: string }(frompackages/client/src/router/routes.ts) is repeated in:business-ledger/cells/business-name-cell.tsxbusiness-ledger/cells/counter-account-cell.tsxcharge-matches/cells/business.tsxcharge-matches/index.tsxcharges/cells/counterparty.tsxledger-table/counterparty-cell.tsxcommon/financial-entity-link.tsx
Add one alias next to
FinancialEntityRef.
These can land as separate small PRs.
- 主要言語
- TypeScript
- スター
- 30
- フォーク
- 10
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 276
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Urigo/accounter-fullstack のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Urigo/accounter-fullstack#5302 ·
メンテナーはふだん 2 日以内に返信
-
1214 annual-audit-workflow
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Urigo/accounter-fullstack#5257 ·
メンテナーはふだん 2 日以内に返信
-
1214 annual-audit-workflow
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Urigo/accounter-fullstack#5256 ·
メンテナーはふだん 2 日以内に返信
-
annual-audit-workflow
難易度 1/5 1〜3時間 初心者へのやさしさ 87/100
Urigo/accounter-fullstack#5252 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
Urigo/accounter-fullstack#4919 ·
メンテナーはふだん 2 日以内に返信
Urigo/accounter-fullstack の issue をすべて見る
似ている issue
-
area: integrations documentation priority: P2 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eddiejaoude/StackDash#798 ·
メンテナーはふだん 1 日以内に返信
-
bot:ai-assisted component:midnight-js status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
midnightntwrk/midnight-js#1790 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:vscode bug has repro platform:macos platform:vscode regression
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDオープンcheck:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信