Skip to content

Development#337

Merged
ofcskn merged 16 commits into
mainfrom
development
Jun 18, 2026
Merged

Development#337
ofcskn merged 16 commits into
mainfrom
development

Conversation

@ofcskn

@ofcskn ofcskn commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ofcskn and others added 14 commits June 18, 2026 02:04
…ion detail DB functions

Extends fn_get_lens_detail_bootstrap and fn_get_lens_version_detail to
include community-visibility lenses, fixing 404s when external partners
(e.g. Chainabit) fetch params for a community lens.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds isVersionUnavailable to useLensVersionRoute so the UI can
distinguish a completed-but-empty version fetch from a loading state.
LensBodyViewer renders a contextual message (sign-in prompt for anon
users, "no published version" for authenticated ones).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Corrects findDaemonBinary to resolve ../gateway/main.js (not
../../gateway/main.js) when the CLI runs from dist/apps/cli/.
Adds actionable EPERM/EACCES and EADDRINUSE hints to the gateway
fatal-error handler so users know to try a different port.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ter presets UI

- Extend VisibilityEnum and Visibility types with 'followers' option
- Add community (Members only) and followers (Followers only) to CreateLensModal and CreateThreadModal visibility selectors
- Add savedPresetsRepository (Supabase CRUD) and savedPresets queryKeys
- Create SavePresetModal, SavedPresetExportModal (JSON/CSV with copy), and SavedPresetsPanel components
- Integrate Save preset button into LabExecutionPanel and wire SavedPresetsPanel below execution area in LensDetailPage

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Extend content.visibility_enum and lensers.lenser_visibility with 'followers' value
- Create lenses.saved_parameter_presets table with owner-only RLS
- Add lensers.fn_viewer_follows_owner helper and update lenses/threads RLS policies
- Update fn_get_lens_detail_bootstrap and fn_get_lens_version_detail with followers access

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e sheets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix \\! syntax corruption in SavePresetModal, SavedPresetExportModal, and SavedPresetsPanel source files (backslash-escaped exclamation marks that broke compilation). All 6 spec files pass: 24 tests covering SavePresetModal (5), SavedPresetExportModal (5), SavedPresetsPanel (5), SavedPresetsRepository (7), CreateLensModal visibility (1), CreateThreadModal visibility (1).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@@ -0,0 +1,88 @@
import { Button } from '@lenserfight/ui/components'
@@ -0,0 +1,85 @@
import { copyTextToClipboard } from '@lenserfight/utils/text'
import { Dialog, ModalFooter } from '@lenserfight/ui/overlays'
import { Check, ClipboardCopy } from 'lucide-react'
ofcskn and others added 2 commits June 18, 2026 12:43
…vite to 7.3.5

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Duplicate `import type { GenerativeMediaProvider }` caused a PARSE_ERROR in
Vite/rolldown that broke the client bundle, preventing the React app from
booting and causing the battles-gate /benchmark routing smoke test to fail.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ofcskn ofcskn merged commit c0514f2 into main Jun 18, 2026
16 of 18 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.

1 participant