Skip to content

Internalize changes part 1 - #469

Merged
nabalone merged 13 commits into
developfrom
internalize_changes_part1
Jul 24, 2026
Merged

Internalize changes part 1#469
nabalone merged 13 commits into
developfrom
internalize_changes_part1

Conversation

@nabalone

@nabalone nabalone commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

More work on the next step of the dialog, as well as the race condition fix for category addition, will come in another PR.

@nabalone nabalone changed the title refactor: simplify artifact category selector and clarify audio resource wizard ref Internalize changes part 1 Jul 22, 2026
setHasRights(false);
setRecording(false);
}
}, [mode]);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might refactor to make these useEffects unnecessary in a future PR

@nabalone
nabalone force-pushed the internalize_changes_part1 branch from 23882c4 to 38d0415 Compare July 23, 2026 16:44
@nabalone

Copy link
Copy Markdown
Collaborator Author
Screenshot 2026-07-22 191032 Screenshot 2026-07-22 191042 Screenshot 2026-07-22 191103

@nabalone

Copy link
Copy Markdown
Collaborator Author

Autocomplete was applied to everywhere this category field was used
image

@nabalone
nabalone force-pushed the internalize_changes_part1 branch from 0485f25 to 38d0415 Compare July 24, 2026 00:20
nabalone and others added 13 commits July 23, 2026 20:23
Keep the selected resource kind synchronized across mode changes and align upload and record action spacing.

Co-authored-by: Cursor <cursoragent@cursor.com>
…rce wizard ref

Make SelectArtifactCategory always render the free-solo Autocomplete
(type to filter or add a category), dropping the old Select + "add new"
menu variant, the now-unused `autocomplete` prop, and its dead helpers.
Rename `wizardAddRef` to `isAddingAudioResourceRef` in the desktop and
mobile PassageDetail artifacts components for clarity and remove stale
TODO comments.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Only pass onSpeaker into MediaUploadContent for Media uploads so Resource/ProjectResource keeps hasRights and the file drop target stays usable.

Co-authored-by: Cursor <cursoragent@cursor.com>
Raise the dialog to 700px when space allows, and only pin the record button with space-between in full-height mobile panes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wrap MediaRecord so height:100% cannot resolve against DialogContent and open a gap above the record button.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rebasing onto develop left the runtime strings bundle pointing at a
stale hash generated before develop's latest strings were merged. Ran
the localization updater to regenerate the bundle, pointer, model and
reducers from the merged XLIFF so the active bundle matches the source.

Verified the regenerated bundle is a superset of develop's strings; the
only develop entries not carried over (passageDetailArtifacts.projectResourcePassage,
wsAudioPlayer.microphone) are unused in the codebase.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nabalone
nabalone force-pushed the internalize_changes_part1 branch from 38d0415 to 8bf2b14 Compare July 24, 2026 00:29
@nabalone
nabalone marked this pull request as ready for review July 24, 2026 00:29
scriptureTypeCategory(cat.slug);
return (
// Include the render index so two categories that share a localized
// name can't collide on the same React key.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't ever allow a duplicated name...is this covering a possible temporary state?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have copied your comment to my next PR (where I have already made a lot of changes to this file), and will address it there if that's okay (#476, NOT yet ready for review)

@nabalone
nabalone merged commit b72154d into develop Jul 24, 2026
2 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.

2 participants