Commit Graph

42 Commits

Author SHA1 Message Date
Omar McAdam
73d716f6e8 feat: add den worker runtime upgrades (#846) 2026-03-11 18:30:50 -07:00
Jan
d70f0348d2 Add Google auth to Den signup (#847)
* feat(den): add google auth provider

* feat(web): add social signup buttons for den

---------

Co-authored-by: jcllobet <jcllobet@users.noreply.github.com>
2026-03-11 18:30:35 -07:00
ben
6516a8dbf2 feat: restyle share bundle pages and OG previews (#844)
* feat(share): restyle bundle pages and OG previews

* feat(share): refine OG preview layout and bundle page components
2026-03-11 18:30:03 -07:00
Jan
c8c0ec9de0 fix/share inline success rail (#837)
* 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>
2026-03-11 13:40:32 -07:00
Omar McAdam
13d79aee07 feat: isolate OpenCode dev state (#816) 2026-03-09 17:21:17 -07:00
Benjamin Shafii
44ab101835 Migrate OpenWork Share to Next 16 app router
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
2026-03-08 20:02:56 -07:00
Benjamin Shafii
8431f5da78 Polish OpenWork Share landing layout and navigation
Align the share page with the updated landing treatment so the packaging flow is simpler, cleaner, and more consistent to scan.

Made-with: Cursor
2026-03-08 19:45:34 -07:00
Benjamin Shafii
4c3d3e16af Align OpenWork Share with landing visuals
Bring the share app closer to the landing page's grain-and-paper presentation with stronger glass shells, story cards, and more polished package and bundle views while keeping the packaging flow intact.
2026-03-08 15:44:30 -07:00
Benjamin Shafii
a71ee2b11d Fix OpenWork Share API routing on Vercel
Move the share handlers out of the top-level api directory so Vercel stops wiring every Next API route to the health handler. Keep the Next pages API surface intact while preserving the existing bundle logic and tests.
2026-03-08 15:30:58 -07:00
Benjamin Shafii
79498f020e Restore Vercel config for OpenWork Share
Add back an explicit Next.js Vercel config for the share service so the deployment is detected and routed as a Next app instead of falling into a 404 state.
2026-03-08 14:49:39 -07:00
Benjamin Shafii
4dc7a6e959 Replatform OpenWork Share onto Next.js
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.
2026-03-08 14:32:19 -07:00
Benjamin Shafii
259735e2a3 fix(share): simplify package app and add pasted skill flow 2026-03-08 13:45:22 -07:00
ben
3a3e4afef7 fix(auth): move github oauth callbacks to app domain (#801) 2026-03-08 12:55:33 -07:00
Benjamin Shafii
9113e7a9e6 fix(share): perfectly align styling with the distilled landing page design language 2026-03-08 12:18:08 -07:00
Benjamin Shafii
2298873159 feat(share): turn openwork-share into a worker packager 2026-03-08 09:08:38 -07:00
ben
3453aa6d87 fix(den): harden Polar subscription lookup for billing (#720) 2026-03-02 15:52:34 -08:00
Benjamin Shafii
11b02adcb5 feat(web): add billing subscription controls and invoices 2026-03-01 18:01:24 -08:00
ben
9d4d851cd1 fix(web): improve billing reliability and navigation (#712) 2026-03-01 17:21:46 -08:00
ben
de63f772a9 feat(share): redesign share modal and bundle page styling to match openwork identity (#684)
* docs(style): add openwork style-guide.md

* feat(share): redesign share modal and bundle page styling to match openwork identity
2026-02-25 19:40:16 -08:00
Benjamin Shafii
0a3155a8d3 fix(den): retry transient mysql read errors during signup 2026-02-24 21:18:15 -08:00
ben
28d1f4206c feat(app,share): deep-link bundle shares into new-worker imports (#664)
* docs(share): add free-first and org hub sharing redesign flows

* feat(app,share): open bundle links into new-worker imports
2026-02-24 19:01:04 -08:00
ben
11c231f691 feat(app,share): add workspace profile and skills-set sharing flow (#663) 2026-02-24 08:09:58 -08:00
ben
921f8154a4 fix(web,den): enforce app auth callback and backfill Polar paid access (#658) 2026-02-23 16:30:27 -08:00
Benjamin Shafii
091672a790 fix(den): restore auth base URL to service host 2026-02-23 12:13:22 -08:00
Benjamin Shafii
fe0fb9c9c9 fix(den): use app proxy URL for OAuth callbacks 2026-02-23 12:08:21 -08:00
Benjamin Shafii
4a50902604 feat(auth): simplify get-started signup and add GitHub sign-in 2026-02-23 11:50:20 -08:00
Benjamin Shafii
ceb041b298 fix(den): set trusted origins for app auth traffic 2026-02-23 09:21:48 -08:00
Benjamin Shafii
7b13eb9d7d fix(den): wire vanity domains with safe render fallback 2026-02-22 18:01:10 -08:00
Benjamin Shafii
233ee081c8 feat(cloud): add worker delete flow and custom worker domains 2026-02-22 16:15:20 -08:00
Benjamin Shafii
a2b84aa0f1 fix(den): handle transient mysql disconnects without crashing 2026-02-22 15:46:09 -08:00
Benjamin Shafii
f0f93273a3 fix(cloud): launch workers asynchronously and auto-poll provisioning 2026-02-21 21:09:53 -08:00
ben
af24d4cedf chore(den): default worker plan to render standard (#642) 2026-02-21 20:46:03 -08:00
ben
cbaa058571 fix(cloud): return workspace-scoped connect URL with tokens (#641) 2026-02-21 20:35:43 -08:00
ben
fe9894f76f fix(cloud): return compatible worker tokens for remote connect (#640) 2026-02-21 20:29:26 -08:00
Benjamin Shafii
c4c000789e feat(den-web): persist user workers and remove manual worker-id recovery 2026-02-21 18:31:12 -08:00
Benjamin Shafii
c3494135ff feat(den-web): rename den service and ship new 3-step cloud setup UX 2026-02-21 16:47:59 -08:00
Benjamin Shafii
f62c762c0f fix(deploy): use app domain for Polar return URLs 2026-02-21 16:05:34 -08:00
ben
1870cd17a8 feat(den): gate cloud workers behind Polar entitlements (#637) 2026-02-21 10:11:22 -08:00
ben
db317f91de feat: add Den control plane in openwork with real Render workers (#632)
* feat: add render-backed den control plane to openwork

* fix: retry openwork worker startup on render

* fix: correct worker startup loop command

* fix: redact sensitive tokens in demo output

* docs: add openwork render e2e proof artifacts

* ci: add den control plane build and deploy workflows
2026-02-21 08:37:01 -08:00
Benjamin Shafii
2b32dddde7 fix(vercel): avoid desktop build for share deploys 2026-02-20 14:30:20 -08:00
ben
b2532a6051 feat(share): add human-readable bundle pages with JSON fallback (#618) 2026-02-19 21:53:21 -08:00
ben
7aee26fea9 feat(ui): share and install skills by link (#577)
* feat(ui): share and install skills by link

* feat(share): add Vercel Blob publisher service
2026-02-15 17:47:32 -08:00