BUG: “New Campaign” button inactive — CreateCampaignDialog not opening popup
@shubham220420 is already working on this.
Since Nov 8, 2025.
- #171 by @SandeepChauhan00 — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start by running the project with npm run dev or pnpm dev and inspect the Dashboard usage of CreateCampaignDialog. Read the dialog's Dialog, DialogTrigger, DialogContent, and children-prop handling, then verify that clicking New Campaign mounts the multi-step form and allows campaign submission without console errors.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
📌 Issue Overview
The “New Campaign” button on the Dashboard is unresponsive.
When clicked, the CreateCampaignDialog modal should open, but nothing happens.
No console errors are displayed, and the dialog content is not rendered.
This prevents users from launching a new campaign and breaks a core workflow of the Sponsorship system.
🔍 Steps to Reproduce
-
Run the project locally (npm run dev or pnpm dev).
-
Navigate to http://localhost:5173/dashboard.
-
Click on the New Campaign button at the top of the Dashboard.
Observe that no dialog appears and the popup does not open.
🎯 Expected Behavior
🎯 Expected Behavior
-
Clicking New Campaign should trigger the CreateCampaignDialog modal.
-
The multi-step interactive form should appear for campaign creation.
-
Users should be able to fill out the form and submit campaign data.
🚨 Actual Behavior
-
The New Campaign button does not open any popup.
-
The dialog content never mounts in the DOM.
-
The button visually responds (hover color changes), but no state update or dialog visibility occurs.
📷 Screenshot
https://github.com/user-attachments/assets/a759defd-d197-434f-9086-b68ad121e3b5
💡 Suggested Improvements
Confirm that <CreateCampaignDialog> accepts children props properly:
interface CreateCampaignDialogProps {
children: React.ReactNode;
}
Ensure that it uses <DialogTrigger asChild>{children}</DialogTrigger> instead of its own internally.
Re-import and replace usage in Dashboard with:
<CreateCampaignDialog>
<Button className="bg-purple-600 hover:bg-purple-700 text-white px-6 py-2 rounded-lg text-sm">
<DollarSign className="mr-2 h-4 w-4" />
New Campaign
</Button>
</CreateCampaignDialog>
Verify that all @/components/ui/dialog dependencies (Dialog, DialogTrigger, DialogContent, etc.) are correctly registered.
If the issue persists, check for overlapping z-index conflicts or overflow: hidden on a parent container.
Record
- I agree to follow this project's Code of Conduct
- I want to work on this issue
- Dominant language
- TypeScript
- Stars
- 101
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/InPactAI
-
UI Bug: Low contrast makes input text unreadable in Sign Up and Login formPossibly taken @Abhik-Mudi claimed this 309 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AOSSIE-Org/InPactAI#218 ·
-
DOCS UPDATE: Fix incorrect .env file location in Backend Setup instructionsPossibly taken @PulkitDadwal claimed this 324 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 68/100
AOSSIE-Org/InPactAI#201 ·
-
Difficulty 5/5 Over a week Newbie friendliness 42/100
AOSSIE-Org/InPactAI#314 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
AOSSIE-Org/InPactAI#312 ·
-
FEATURE REQUEST: Add API Pagination to Backend List EndpointsMay be free again @alphacoder-hash claimed this 195 days ago, and no pull request is open. Open
Difficulty 4/5 3-5 days Newbie friendliness 50/100
AOSSIE-Org/InPactAI#307 · 2 comments ·
All issues in AOSSIE-Org/InPactAI
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Agenta-AI/agenta#7542 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
code quality security
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
homarr-labs/dashboard-icons#2939 ·
Maintainers usually reply within 1 day