Closed dineshsutihar closed 3 weeks ago
@dineshsutihar is attempting to deploy a commit to the Codú Team on Vercel.
A member of the Team first needs to authorize it.
The changes in this pull request involve modifications to three components: EditorBubbleMenu
, LinkSelector
, and NodeSelector
. The EditorBubbleMenu
has had the "code" option removed and improved error handling for editor commands. The LinkSelector
now uses a single Link
icon instead of multiple icons and has disabled URL input functionality. The NodeSelector
has streamlined its options by removing several items and refining the active state logic. These updates enhance the overall functionality and user experience of the editor components.
File Path | Change Summary |
---|---|
components/editor/editor/components/bubble-menu.tsx |
Removed "code" option, improved error handling with optional chaining and nullish coalescing, updated rendering logic for selectors. |
components/editor/editor/components/link-selector.tsx |
Replaced multiple icons with a single Link icon, commented out URL input form, retained core link management functionality. |
components/editor/editor/components/node-selector.tsx |
Removed "Code", "Bullet List", and "Numbered List" options, simplified "Text" active check, adjusted "Quote" command, added aria-expanded for accessibility. |
Objective | Addressed | Explanation |
---|---|---|
Modify tooltip on alpha editor (Issue #1195) | ❌ | The changes do not address tooltip modifications as specified. |
EditorBubbleMenu
component regarding the removal of the "code" option and updates to the rendering logic are related to the overall enhancements in the editor's functionality, which aligns with the objectives of ensuring accurate content rendering in the article editor.hacktoberfest-accepted
, hacktoberfest
🐇 In the editor's realm, changes take flight,
With icons simplified, everything feels right.
No more "code" to clutter the view,
Just bold and italic, for the writer in you.
So hop along, let creativity flow,
In this bubble of joy, let your ideas grow! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Hi @dineshsutihar This looks good. Thanks. However, the link feature is giving me an error. Can you confirm you get this error? We can make a separate issue to fix this.
https://github.com/user-attachments/assets/51735afc-b17b-4d53-94ad-546e8894c052
Hi @dineshsutihar This looks good. Thanks. However, the link feature is giving me an error. Can you confirm you get this error? We can make a separate issue to fix this.
Screen.Recording.2024-10-30.at.16.16.16.mov
Yes, there’s a pre-existing issue with the link feature, and I was planning to create a new issue to address it separately. Additionally, I think a new UI for the link feature would be beneficial. Whenever we click on the link button, it could open a pop-up like this and prompt for a link. What do you think of this design? @John-Paul-Larkin
Could you please create a new issue and assign it to me? I’ll submit a separate PR to fix it.
✨ Codu Pull Request 💻
Fixes #1195
Pull Request details
Any Breaking changes
None
Associated Screenshots
[Optional] What gif best describes this PR or how it makes you feel
None