Skip to content

Conversation

@Oluwatos94
Copy link
Contributor

Add support for non-software projects by making the platform more generic. Projects can now be registered as
either SOFTWARE (Git-based) or GENERIC (IPFS-only) types.

Changes

Data Model

  • Added ProjectType enum (SOFTWARE | GENERIC) to projectConfig.ts
  • Renamed authorGithubNamesauthorHandles for generic terminology
  • Made githubLink optional and added readmeContent field
  • Added backward compatibility (defaults to SOFTWARE for existing projects)

Registration Flow

  • Added project type selection in CreateProjectModal.tsx
  • Made GitHub repository URL conditional (SOFTWARE only)
  • Added README textarea for GENERIC projects
  • Updated TOML generation to include PROJECT_TYPE
  • Modified FlowService.ts to handle README file uploads

Display & Services

  • Updated ReadmeViewer.tsx to fetch from either GitHub or IPFS based on project type
  • Made Git-specific components conditional in ProjectInfo.astro
  • Added null checks in GithubService.ts for optional Git URLs
  • Updated all references from authorGithubNames to authorHandles across the codebase

Testing

✅ Verified UI changes:

  • Project type selection working
  • Generic "Handle" label displaying correctly
  • Form validation for both project types

⚠️ Could not test full IPFS upload flow for GENERIC projects due to Storacha delegation errors from the deployed
testnet worker (https://ipfs-testnet.tansu.dev). The error "failed space/blob/add invocation" indicates
infrastructure-side credential issues that need to be resolved separately.

Related

Closes #330

@netlify
Copy link

netlify bot commented Nov 16, 2025

👷 Deploy request for tansu pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 651dca3

@netlify
Copy link

netlify bot commented Nov 16, 2025

Deploy Preview for staging-tansu ready!

Name Link
🔨 Latest commit 651dca3
🔍 Latest deploy log https://app.netlify.com/projects/staging-tansu/deploys/692aa2ae771ae90008e732d7
😎 Deploy Preview https://deploy-preview-351--staging-tansu.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 73
Accessibility: 85
Best Practices: 92
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

Less software focused UI

1 participant