Closed Maimunar closed 7 months ago
The latest updates on your projects. Learn more about Vercel for Git βοΈ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
abby-docs | β Ready (Inspect) | Visit Preview | π¬ Add feedback | Apr 12, 2024 10:12pm |
@Maimunar is attempting to deploy a commit to a Personal Account owned by @tryabby on Vercel.
@tryabby first needs to authorize it.
Deployment failed with the following error:
Hobby accounts are limited to daily cron jobs. This cron expression (0 0,12 * * *) would run more than once per day. Upgrade to pro to unlock all Cron Jobs features on Vercel.
Hey @Maimunar,
thank you very much for the PR! This is super helpful! I like it a lot but also thought that it would be cool to use Icons instead of Text for the different formatting options. I saw that Lucide (https://lucide.dev) has icons for H1, H2 etc. Would you mind using those instead?
The update enhances the WYSIWYG editor in the web application by upgrading the @tiptap
packages to 2.2.4
, introducing new formatting options like text alignment, and refining the UI for a better user experience. It also removes outdated markdown support messaging from the EditDescriptionModal
.
Files | Change Summary |
---|---|
apps/web/package.json |
Updated @tiptap packages to 2.2.4 , affecting extensions and related dependencies. |
apps/web/src/components/Editor.tsx |
Added text alignment functionality, refactored menu bar, and updated editor configuration. |
apps/web/src/components/FlagPage.tsx |
Removed markdown support message from EditDescriptionModal . |
Objective | Addressed | Explanation |
---|---|---|
Add a nicer WYSIWYG Editor for the Feature Flag / Remote Config Description (#72) | β |
π°β¨ A hop, a skip, in the code we dip, To bring a change, a brand new ship. With buttons bright and alignment tight, We craft a space where ideas take flight. So here's to the text, now finely dressed, In its WYSIWYG best, it's sure to impress! ππΎ
apps/web/package.json (6)
`63-63`: Updated `@tiptap/extension-bubble-menu` to `2.2.4` aligns with the PR objectives to enhance the editor. --- `64-64`: Updated `@tiptap/extension-placeholder` to `2.2.4` aligns with the PR objectives to enhance the editor. --- `65-65`: Updated `@tiptap/extension-text-align` to `2.2.4` aligns with the PR objectives to enhance the editor. --- `66-66`: Updated `@tiptap/pm` to `2.2.4` aligns with the PR objectives to enhance the editor. --- `67-67`: Updated `@tiptap/react` to `2.2.4` aligns with the PR objectives to enhance the editor. --- `68-68`: Updated `@tiptap/starter-kit` to `2.2.4` aligns with the PR objectives to enhance the editor.
@Maimunar Thanks for the PR! I went ahead and just added the icons that @cstrnt requested. Please check again! π
My pleasure, also thanks for picking that up! Let me know if there is anything else worth looking into for that PR
Closes https://github.com/tryabby/abby/issues/72
This PR implements an improved description editor based on TipTap. The following was changed:
Screenshot of new (proposed) editor modal
Summary by CodeRabbit
@tiptap
packages for better performance and stability in the text editor.EditDescriptionModal
to streamline user experience.