Skip to content

Comments

Add auto triage docs to Org page#467

Open
jfcsantos wants to merge 2 commits intomainfrom
jsantos/triage-org-docs-link
Open

Add auto triage docs to Org page#467
jfcsantos wants to merge 2 commits intomainfrom
jsantos/triage-org-docs-link

Conversation

@jfcsantos
Copy link
Contributor

I didn't realise Orgs and Personal were using different pages so the link was missing on the Org one.
Seeing that they are basically duplicates, I've refactored it to use the same Components, adjusting only where necessary.

@kiloconnect
Copy link
Contributor

kiloconnect bot commented Feb 23, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (4 files)
  • src/app/(app)/auto-triage/AutoTriagePageClient.tsx (deleted) - Personal page client removed in favor of shared component
  • src/app/(app)/auto-triage/page.tsx - Updated import to shared component, removed unused userId/userName props
  • src/app/(app)/organizations/[id]/auto-triage/page.tsx - Updated import to shared component
  • src/components/auto-triage/AutoTriagePageClient.tsx (renamed from org version) - Unified component handling both personal and org contexts

export default async function PersonalAutoTriagePage({ searchParams }: AutoTriagePageProps) {
const search = await searchParams;
const user = await getUserFromAuthOrRedirect('/users/sign_in?callbackPath=/auto-triage');
await getUserFromAuthOrRedirect('/users/sign_in?callbackPath=/auto-triage');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user wasn't being used in the Page component at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant