-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Remove toolbar from the alpha editor #1114
Merged
NiallJoeMaher
merged 7 commits into
codu-code:develop
from
MichaelMoyles:removeAlphaToolbar
Oct 14, 2024
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2991b23
remove codeblock from toolbar
MichaelMoyles f8dbd4f
remove table from toolbar
MichaelMoyles 34aa2a5
removed strikethrough from tooltip
MichaelMoyles f567245
removed toolbar
MichaelMoyles f30bcb4
removed color selector
MichaelMoyles a6a83e9
remove tiptab extensions for underline, color, highlight, text align,…
MichaelMoyles 5451447
Merge branch 'develop' into removeAlphaToolbar
NiallJoeMaher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
components/editor/editor/components/CodeBlock/CodeBlock.module.css
This file was deleted.
Oops, something went wrong.
50 changes: 0 additions & 50 deletions
50
components/editor/editor/components/CodeBlock/CodeBlock.tsx
This file was deleted.
Oops, something went wrong.
96 changes: 0 additions & 96 deletions
96
components/editor/editor/components/Table/CustomTableNodeView.tsx
This file was deleted.
Oops, something went wrong.
102 changes: 0 additions & 102 deletions
102
components/editor/editor/components/Toolbar/Toolbar.module.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Please address the remaining usages of removed extensions.
The search identified several instances of removed extensions such as
table
andunderline
in the following files:utils/createPasswordLessEmailTemplate.ts
utils/createEmailTemplate.ts
components/editor/editor/RenderPost.tsx
server/trpc/react.tsx
components/ui/Search.tsx
Please verify and remove or update these usages to ensure consistency with the PR objectives.
🔗 Analysis chain
LGTM! Verify removed extensions.
The change aligns with the PR objectives of simplifying the editor by removing unused features. The
CustomCodeBlockReadOnly
extension has been removed, leaving only the coreTiptapExtensions
.To ensure consistency across the codebase, let's verify that the removed extensions are not being used elsewhere:
This script will help us confirm that the removed extensions are not being used in other parts of the codebase, ensuring that the simplification is consistent throughout the project.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 485
Script:
Length of output: 15375
Script:
Length of output: 15375