* feat: enhance share functionality with new config support and improved UI elements
- Updated test command in package.json to include new test file.
- Added support for 'config' tone in share-bundle-page.js.
- Refactored share-home-client.js to improve handling of pasted content and state management.
- Introduced share-home-state.js for managing preview items and summary cards.
- Added tests for new share-home-state functions.
- Enhanced package-openwork-files.js to recognize and process config files.
- Updated UI styles for share components, including new configurations and improved layout.
- Added new CSS classes for config items and share actions.
* remove drop files
* skills area
* refactor: update ShareHomeClient component and styles for improved layout and item display
- Enhanced the rendering of included items in ShareHomeClient with a new layout.
- Removed redundant code for included items display.
- Updated CSS styles for .included-section, .included-list, and .included-item to improve alignment and spacing.
- Adjusted grid layout for input methods and share cards for better responsiveness.
* feat: implement syntax highlighting and enhance item examples in ShareHomeClient
- Added syntax highlighting functionality for JSON and Markdown content in ShareHomeClient.
- Introduced example fields for preview items in share-home-state.js to provide better context.
- Updated the layout and styles for the carbon preview component to improve user experience.
- Refactored the included items display to use buttons for better interaction and accessibility.
* feat: add syntax highlighting and improve layout for ShareHomeClient
- Implemented syntax highlighting for JSON and Markdown content in ShareHomeClient.
- Updated example names in share-home-state.js for clarity.
- Enhanced the layout and styles of the carbon preview component for better user experience.
- Adjusted CSS for improved responsiveness and visual appeal of share components.
* feat: enhance ShareHomeClient with example selection and improved item display
- Added state management for active examples in ShareHomeClient to allow users to select and preview example contents.
- Updated the rendering of included items to visually indicate active and dimmed states for better user interaction.
- Enhanced CSS styles for included items to reflect active and dimmed states, improving overall user experience.
* refactor: remove deprecated ShareHomeClient and share-home-state components
- Deleted the ShareHomeClient and share-home-state files as part of a cleanup process.
- Removed associated tests and unused functions to streamline the codebase.
- Updated styles in globals.css to reflect the removal of these components.
* feat: implement ShareHomeClient with TypeScript support and enhanced functionality
- Introduced ShareHomeClient component with TypeScript for improved type safety and maintainability.
- Added state management for file uploads and previews, enhancing user interaction.
- Created share-home-state for managing preview items and feedback.
- Updated package.json to include new TypeScript dependencies and adjusted test commands.
- Added tsconfig.json for TypeScript configuration and improved project structure.
- Enhanced styles in globals.css for better UI presentation and responsiveness.
- Removed outdated test files to streamline the codebase.
* refactor: update ShareHomeClient layout and enhance carbon preview component
- Reorganized the layout of the ShareHomeClient component to improve user experience.
- Updated the carbon preview component with a new footer for better content display.
- Adjusted CSS styles for grid layout and carbon window to enhance responsiveness and visual appeal.
- Removed outdated paste metadata display for a cleaner interface.
* refactor: update ShareHomeClient paste state management and improve styles
- Introduced a constant for default paste state to streamline state management in ShareHomeClient.
- Updated paste state messages for clarity and consistency across different scenarios.
- Enhanced CSS styles in globals.css for better visual presentation, including adjustments to background colors and element padding.
* feat: add baseline example and improve paste handling in ShareHomeClient
- Introduced a baseline example for skill input to guide users in the ShareHomeClient component.
- Enhanced paste handling to display the baseline example when no input is provided.
- Updated CSS styles for the status bar and highlighted paste area to reflect the new baseline state and improve visual clarity.
* feat: enhance ShareHomeClient with updated file sharing prompts and improved styles
- Updated selection label to provide clearer feedback on file readiness for sharing.
- Improved drop zone instructions for better user guidance on file uploads.
- Adjusted CSS styles for drop zones and icons to enhance visual appeal and user interaction.
- Refined layout and spacing for a more polished user experience.
* feat: enhance ShareHomeClient with improved copy functionality and updated styles
- Introduced a timer for copy state management to provide user feedback on link copying.
- Updated the layout of the share link section for better visual clarity and interaction.
- Enhanced CSS styles for share link actions and buttons to improve user experience and responsiveness.
* refactor: reorganize ShareHomeClient layout and enhance CSS styles
- Updated the layout of the ShareHomeClient component for improved visual clarity and user interaction.
- Enhanced CSS styles in globals.css for better alignment and responsiveness of share actions and status indicators.
- Removed unnecessary grid row definitions to streamline the layout structure.
* feat: add settings configuration and update CSS styles for improved layout
- Introduced a new settings.local.json file to manage permissions for web fetching.
- Updated CSS styles in globals.css to enhance layout responsiveness and visual consistency, including adjustments to alignment and background colors for severity indicators.
* feat: implement OpenWork Share service with API endpoints and UI components
- Added new service for OpenWork Share, including API routes for health checks, bundle management, and package handling.
- Introduced UI components for displaying shareable bundles and navigation.
- Implemented responsive design elements and improved user interaction through enhanced layouts and styles.
- Updated TypeScript configuration and package dependencies to support new features.
- Enhanced error handling and response management for API interactions.
* clean
* feat: enhance OpenWork Share service with Playwright integration and updated styles
- Added Playwright configuration for end-to-end testing of the OpenWork Share service.
- Updated package.json to include new test scripts for Playwright.
- Enhanced layout component with new font imports for improved typography.
- Refined global CSS styles for better font handling and visual consistency across components.
- Introduced new utility classes for improved styling and responsiveness.
* feat: enhance ShareHomeClient with placeholder item handling and updated styles
- Introduced a new function to build placeholder items based on pasted content and selected entries.
- Updated the component's state management to improve handling of examples and file previews.
- Refined CSS styles for better alignment and visual consistency, including adjustments to the preview filename display and layout responsiveness.
- Added a new JSON file to track test results for improved testing feedback.
* refactor: simplify package status handling and update button state logic in ShareHomeClient
- Removed unnecessary parameters from getPackageStatus function to streamline its usage.
- Updated button disabled state logic to improve clarity and functionality during publishing.
- Enhanced overall code readability by reducing complexity in state management.
* feat: enhance ShareHomeClient with improved selection and preview handling
- Introduced new utility functions for generating selection labels and preview filenames to streamline display logic.
- Updated selection label logic for clearer user feedback on file readiness for sharing.
- Enhanced preview filename display to reflect selected entries and pasted content more accurately.
- Refined CSS styles for better layout and visual consistency in publish actions and results.
* playwright not needed
* fix: update routing types and remove package-lock.json
- Changed the import path for routing types in next-env.d.ts to align with the latest Next.js structure.
- Removed package-lock.json as it is no longer needed for dependency management.
* added ts tests
* removed claude and added it to gitignore
* docs: add openwork-share PR screenshots
---------
Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
Move the share service off the legacy pages router so its share pages and APIs run on current Next.js conventions. This keeps the existing OpenWork Share endpoints working while upgrading the app to Next 16 and React 19.
Made-with: Cursor
Move the public share surface to a simple Next.js app while keeping the existing bundle API contracts intact. Extract the landing showcase cards into reusable references and tighten the design language around the grain-and-paper system they define.