Skip to content

OpenConceptLab/ocl_online#701 | A limit dialog asks for the next step with the limit that refused - #135

Open
paynejd wants to merge 3 commits into
mainfrom
OpenConceptLab/ocl_online#701-refused-limit
Open

paynejd wants to merge 3 commits into
mainfrom
OpenConceptLab/ocl_online#701-refused-limit

Conversation

@paynejd

@paynejd paynejd commented Dec 5, 2026

Copy link
Copy Markdown
Member

Linked Issue

Advances OpenConceptLab/ocl_online#701

What this changes

When the API refuses something over a limit, the limit dialog asks the connected service for the person's next step. The service needs to know which limit they met, so the dialog now passes on the refusal's own limit.

  • All four places that open the dialog do it: imports, cloning, search and the concept form. The import page checks a file before it's sent, so there it passes the limit it checked against.
  • TBv3 compares nothing. It passes on what the refusal said, and shows what the service answers, or nothing.
  • With no connected service, nothing changes.

There are no new words or components. The dialog looks as it does today, with or without a next step.

When it has to be live

The release it has to be in is on the ticket. It can be deployed before or after the service's part: each ignores what it doesn't know.

It merges cleanly with #123 and #128.

How it was checked

  • 443 tests pass, and eslint is clean.
  • In a browser, at 1440 and 390 px, the import and the clone dialog each send the limit, and show no next step when none comes back.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AaZ4qTEw8c6qZh5C69F1V4

paynejd and others added 3 commits December 4, 2026 07:03
… with the limit that refused

A refusal says which limit it met, and the connected service can need it to
tell whether a next step would help. The dialog passes it on as it came, and
still shows only what the service answers. The import page's own check of a
file passes the limit it checked against.

Without a connected service, nothing changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qTEw8c6qZh5C69F1V4
…he request, and no guard that axios has

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AaZ4qTEw8c6qZh5C69F1V4
@paynejd
paynejd requested a review from snyaggarwal December 5, 2026 02:39
@paynejd

paynejd commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Codex review, pass 1 (codex-cli 0.171.0, commit a450ed2)

Verdict: 1 finding.

  • F1.1 (P2) Search opens the same dialog, and didn't pass on the limit → fixed in 15d8259. All four places now do.

The full findings are on OpenConceptLab/ocl_online#701.

@paynejd

paynejd commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Simplification review (a fresh Claude subagent, commit 15d8259)

Verdict: 2 cuts, both applied in 1436f46.

  • S1 The request needs no guard for a missing limit, because axios leaves it out.
  • S2 One test of the request covers what two did.

@paynejd

paynejd commented Dec 5, 2026

Copy link
Copy Markdown
Member Author

Codex check of commits a450ed2..1436f46 (codex-cli 0.171.0, commit 1436f46)

Verdict: clean. F1.1 is resolved.

This branch has not been deployed

No deployments
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