feat: implement project selector dropdown and inline new project creation#240
feat: implement project selector dropdown and inline new project creation#240its-me-abhishek merged 3 commits intoCCExtractor:devfrom
Conversation
|
Thank you for opening this PR! Before a maintainer takes a look, it would be really helpful if you could walk through your changes using GitHub's review tools. Please take a moment to:
This helps make the review process smoother and gives us a clearer understanding of your thought process. Once you've added your self-review, we'll continue from our side. Thank you! |
|
Please add a self review and tests for this PR |
@its-me-abhishek |
| <Select | ||
| value={ | ||
| isCreatingNewProject | ||
| ? '__create__' |
There was a problem hiding this comment.
this can be improved i guess, __create__ seems to be an arbitrary value/variable
There was a problem hiding this comment.
needs to be replaced with something similar to what we use in other constants, maybe an isCreate flag, or just an empty text, whatever works
|
@its-me-abhishek I have replaced value constant with isCreatingNewProject flag. |
|
Merged! Thanks for the PR! |
…lumes (#245) * feat: implement project selector dropdown and inline new project creation (#240) * feat: implement project selector dropdown and inline new project creation * fix: add test for task components * fix: use flag approach for project creation state * fix: sync button on mobile feat: add persistent volume for production setup --------- Co-authored-by: Vasist10 <155972527+Vasist10@users.noreply.github.com>
…lumes (CCExtractor#245) * feat: implement project selector dropdown and inline new project creation (CCExtractor#240) * feat: implement project selector dropdown and inline new project creation * fix: add test for task components * fix: use flag approach for project creation state * fix: sync button on mobile feat: add persistent volume for production setup --------- Co-authored-by: Vasist10 <155972527+Vasist10@users.noreply.github.com>
Description
This PR implements a project selection dropdown with an inline “Create New Project” option within the tasks view.
It allows users to select an existing project or quickly create a new one without navigating away.
Added two new tests in Tasks.test.tsx:
lists existing projects + create-new option
reveals input when selecting Create-new option
All existing tests continue to pass
Fixes: Add Project Dropdown With Inline “Create New Project” Option #204
Checklist
npx prettier --write .(for formatting)gofmt -w .(for Go backend)npm test(for JS/TS testing)Additional Notes