Skip to content

Development#340

Merged
ofcskn merged 6 commits into
mainfrom
development
Jun 19, 2026
Merged

Development#340
ofcskn merged 6 commits into
mainfrom
development

Conversation

@ofcskn

@ofcskn ofcskn commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

ofcskn and others added 6 commits June 18, 2026 19:56
…create

fn_create_lens always inserted the first version as 'draft', while the lens
row itself was immediately set to 'published'. Every bootstrap/version-detail
RPC gates non-owner access on v.status = 'published', so anonymous users
always received latest_published_version = null and an empty [] from
fn_get_lens_version_detail for any newly created public lens.

Migration 027: re-hardens fn_get_lens_version_detail (SET row_security TO off
+ content schema in search_path) and adds visibility gating to
fn_get_lens_version_parameters / fn_get_version_params_with_tools so anon
users cannot enumerate parameters for non-public lenses.

Migration 028: updates fn_create_lens to immediately publish the initial
version when visibility \!= 'private', and backfills all existing public and
community lenses whose head version was still stuck in 'draft' with no
published version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
After a successful "Copy with Parameters", capture the param values and
labels in a session-local snapshot list (capped at 10). Shows a compact
"Copied parameter sets" panel in the sidebar with a Reuse button that
re-applies the values to the param form via importedPresetValues.

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