-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add editor to update project description #95
base: main
Are you sure you want to change the base?
Conversation
The code changes include updating the repository description page and editor components. The `fetchRepoDetails` function is added to fetch repository details, and the `repoDetail` variable is used to store the fetched data. The `content` prop is passed to the `UpdateProjectDescription` component to display the current project description. The `UpdateProjectDescription` component now receives the `content` prop instead of hardcoding the description. The `tiptap-editor` component is updated to call `editor.getHTML()` instead of `editor.getText()` in the `onUpdate` callback. The `useState` hook dependency in the `UpdateProjectDescription` component is changed to `[description]` instead of `[repositoryId]`. Co-authored-by: Johannes <johannes@formbricks.com>
@RA9 is attempting to deploy a commit to the formbricks Team on Vercel. A member of the Team first needs to authorize it. |
Thank you for following the naming conventions for pull request titles! 🙏 |
hey @RA9 thanks for your contribution and sorry for the delay! Unfortunately, the editor is not respecting line breaks: Did that work for you? And aren't we missing a Save button? 🤓 We cannot update the text in the db right away because it would stream the editing process to the people looking at the project descriptions. Thanks! |
/award 1 |
/award 3 |
/award 4 |
Awarding RA9: 4 points 🕹️ Well done! Check out your new contribution on oss.gg/RA9 |
/award 5 |
Awarding RA9: 5 points 🕹️ Well done! Check out your new contribution on oss.gg/RA9 |
/award 6 |
Awarding RA9: 6 points 🕹️ Well done! Check out your new contribution on oss.gg/RA9 |
What does this PR do?
This feature integrates a customizable rich-text editor built with
Tiptap
and Tailwind CSS into the project section when accessed from repository settings.Fixes #76