Add the Paratext 9 import WebView experience with a first-open offer - #274
Open
jasonleenaylor wants to merge 4 commits into
Open
Add the Paratext 9 import WebView experience with a first-open offer#274jasonleenaylor wants to merge 4 commits into
jasonleenaylor wants to merge 4 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
jasonleenaylor
force-pushed
the
pt9-parsed-service
branch
from
August 27, 2026 18:44
591ebbf to
7706947
Compare
jasonleenaylor
force-pushed
the
pt9-parsed-webview
branch
from
August 27, 2026 18:44
352ac8a to
96db39b
Compare
jasonleenaylor
force-pushed
the
pt9-parsed-service
branch
from
August 27, 2026 22:21
7706947 to
5ce31d8
Compare
jasonleenaylor
force-pushed
the
pt9-parsed-webview
branch
from
August 27, 2026 22:47
96db39b to
a7b6817
Compare
The UI half of the PT9 import. The select modal gains the import button (shown only when the source serves convertible data, via usePt9ImportAvailability); Pt9ImportModal carries the run, its report, and its failures, including the too-large refusal recognized by the RESOURCE_EXHAUSTED platform error code with the documented message marker as fallback. An import opens read-only: every editing affordance stays away, a banner carries sync and copy-to-editable, and CopyToEditableModal clones an import into an editable project. On the first open of a source with convertible PT9 data and no stored state, Pt9ConvertPromptModal offers the conversion up front: Yes runs the import as the only project created, No (or dismissing) persists the empty draft so the offer never repeats, per the user-questions entry. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jasonleenaylor
force-pushed
the
pt9-parsed-webview
branch
from
August 27, 2026 23:04
a7b6817 to
3ca877f
Compare
jasonleenaylor
force-pushed
the
pt9-parsed-service
branch
from
August 27, 2026 23:04
d5f84f5 to
378ab64
Compare
The Loader imports isPt9ImportReport from the converter surface that now owns it, the frontend-mock helper rides this tree with its users, and the offer and hasDraft tests use the shared ENOENT fixture. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
jasonleenaylor
force-pushed
the
pt9-parsed-webview
branch
from
August 27, 2026 23:05
3ca877f to
d4070a8
Compare
jasonleenaylor
marked this pull request as ready for review
August 27, 2026 23:29
jasonleenaylor
force-pushed
the
pt9-parsed-webview
branch
from
August 28, 2026 01:32
e23f7d9 to
d74a2cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The UI half of the PT9 import, stacked on #273 (converter: #272).
the source serves convertible data (usePt9ImportAvailability probes the
manifest through the projectInterface).
the too-large refusal, recognized by the RESOURCE_EXHAUSTED platform error
code with the documented message marker as fallback (pt9-import-error).
carries manual sync and copy-to-editable, and CopyToEditableModal clones an
import into an editable project through the normal draft-open flow.
stored interlinearizer state asks "This project has Paratext 9 interlinear
data. Would you like to convert it now?" Yes runs the import as the only
project created; No (or dismissing) persists the empty draft so the offer
never repeats. Recorded in user-questions.md for outside review.
This change is