Skip to content

Conversation

@Khalidnoori568
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Aug 13, 2025

@Khalidnoori568 is attempting to deploy a commit to the iclasser dev Team on Vercel.

A member of the Team first needs to authorize it.

@Khalidnoori568
Copy link
Collaborator Author

2025-08-13

@hmdroh
Copy link
Collaborator

hmdroh commented Aug 22, 2025

test again

@hmdroh hmdroh requested a review from Copilot August 22, 2025 08:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new "Notebook Card" component to the postmaker.dev application, following the established pattern for creating social media card editors. The implementation adds a notebook-style checklist card that mimics the appearance of handwritten notes on lined paper with checkboxes.

Key changes:

  • Adds new NotebookPreview component with notebook-style design and checklist functionality
  • Creates NotebookEditor component with tabbed interface for editing notebook cards
  • Updates main page to include the new notebook card tab alongside existing card types

Reviewed Changes

Copilot reviewed 21 out of 22 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/ui/src/notebookcard-preview/notebook-preview.tsx New preview component implementing notebook card with checklist items and notebook styling
packages/ui/src/notebookcard-preview/notebook-preview.style.css Styles for notebook appearance including lined paper background and spiral binding
apps/web/components/notebook-editor.tsx New editor component providing controls for customizing notebook card content and appearance
apps/web/app/page.tsx Updated to add notebook card tab and routing functionality
Multiple UI component files New reusable UI components (tabs, input, slider, etc.) and utility functions

}) => {
return (
<CardContainer
className={`${className} bg-violet-500`}
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard-coded Tailwind class 'bg-violet-500' should be moved to a configurable prop or CSS variable to maintain consistency with the theming system used in other components.

Suggested change
className={`${className} bg-violet-500`}
className={`${className} ${backgroundClassName}`}

Copilot uses AI. Check for mistakes.
max={max}
name={keyName}
value={[value]}
onValueChange={(val) => setStateValue(keyName, val)}
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The slider component expects a single value but receives an array. The onValueChange should extract the first element: onValueChange={(val) => setStateValue(keyName, val[0])}

Suggested change
onValueChange={(val) => setStateValue(keyName, val)}
onValueChange={(val) => setStateValue(keyName, val[0])}

Copilot uses AI. Check for mistakes.
{/* timestamp */}
<DrawInput
keyName="postTimestamp"
value={new Date(postTimestamp).toISOString().slice(0, 16)}
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The datetime-local input handling could be simplified and made more robust. Consider creating a helper function to handle datetime string formatting and parsing to avoid inline date manipulation.

Suggested change
value={new Date(postTimestamp).toISOString().slice(0, 16)}
value={formatDatetimeLocal(postTimestamp)}

Copilot uses AI. Check for mistakes.
@hmdroh
Copy link
Collaborator

hmdroh commented Sep 11, 2025

@Khalidnoori568 please resolve conflict

@vercel
Copy link

vercel bot commented Sep 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
postmaker-dev-web Ready Ready Preview Comment Sep 11, 2025 9:03am

@hmdroh hmdroh merged commit 2bb93d5 into iClasser:main Sep 11, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants