Skip to content

feat: add contribution opportunity workflow - #70

Merged
arnabnandy7 merged 1 commit into
mainfrom
feature/contributionWorkflow
Aug 31, 2026
Merged

feat: add contribution opportunity workflow#70
arnabnandy7 merged 1 commit into
mainfrom
feature/contributionWorkflow

Conversation

@arnabnandy7

Copy link
Copy Markdown
Owner

Summary

Add a private contribution workflow board for signed-in users to organize and follow saved opportunities through their contribution lifecycle.

Closes #55.

Changes

  • Added workflow states:
    • Saved
    • Asked maintainer
    • Working
    • PR opened
    • Merged
    • Abandoned
  • Added a signed-in-only Workflow tab.
  • Grouped and filtered opportunities by workflow state.
  • Added optional private notes and follow-up dates.
  • Added configurable stale-opportunity highlighting.
  • Extended the existing opportunity API with user-scoped workflow updates.
  • Reused the existing opportunity persistence and authenticated tab flows.
  • Preserved safe contribution matching: issue and pull-request numbers are never treated as links without an explicit relationship.
  • Updated architecture, setup, deployment, and feature documentation.

Database changes

Added db/migrations/0012_opportunity_workflow.sql, which extends opportunity with:

  • workflow_state
  • note
  • follow_up_at
  • workflow_updated_at
  • Composite index on user_id and workflow_state

Existing opportunities are initialized as saved, with workflow_updated_at backfilled from updated_at.

The migration has been applied and verified in both preview and production databases.

Privacy and validation

  • Workflow records remain scoped to the authenticated user.
  • Notes are limited to 2,000 characters.
  • Workflow states and follow-up dates are validated server-side.
  • Guests retain the existing discovery experience without access to workflow data.

Verification

Manual checks:

  • Save an opportunity and open the Workflow tab.
  • Change its state and refresh the page.
  • Add, edit, and remove a private note.
  • Set and clear a follow-up date.
  • Filter opportunities by state.
  • Change the stale threshold and verify highlighting.
  • Confirm guests cannot access the Workflow tab.
  • Confirm another authenticated user cannot update the opportunity.

@arnabnandy7 arnabnandy7 added this to the 1.2.0 milestone Aug 31, 2026
@arnabnandy7 arnabnandy7 self-assigned this Aug 31, 2026
@arnabnandy7 arnabnandy7 added the enhancement New feature or request label Aug 31, 2026
@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openissue-dev Ready Ready Preview Aug 31, 2026 7:11pm

chatgpt-codex-connector[bot]

This comment was marked as resolved.

@sonarqubecloud

Copy link
Copy Markdown

@arnabnandy7
arnabnandy7 merged commit a1faae8 into main Aug 31, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this from To Do to Completed in Open issue portal development Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

Contribution opportunity workflow board

1 participant