Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ codetations-react/src/applications/src/config.js
**/.vscode/settings.json

# Annotations for testing
codetations/
codetations/
**/.claude/settings.local.json
23 changes: 23 additions & 0 deletions example_codetations_components/CommentComponent.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from 'react';

/**
* A simple comment component that renders markdown-formatted text
*/
export default function CommentComponent({ text, color = "#ffcc00" }) {
const style = {
padding: '8px 12px',
backgroundColor: color,
borderRadius: '4px',
maxWidth: '400px',
fontFamily: 'system-ui, -apple-system, sans-serif',
fontSize: '14px',
lineHeight: '1.5',
boxShadow: '0 2px 4px rgba(0,0,0,0.1)'
};

return (
<div style={style}>
{text || "Add your comment here"}
</div>
);
}
2 changes: 2 additions & 0 deletions vscode-extension/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ dist
node_modules
.vscode-test/
*.vsix
.DS_Store
.claude/
Loading