Skip to content

Tiny tweaks#109

Merged
alex-rawlings-yyc merged 2 commits into
token-analysisfrom
token-analysis-review-fixes
Jun 17, 2026
Merged

Tiny tweaks#109
alex-rawlings-yyc merged 2 commits into
token-analysisfrom
token-analysis-review-fixes

Conversation

@imnasnainaec

@imnasnainaec imnasnainaec commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Suggested tweaks on #104

Devin: https://app.devin.ai/review/sillsdev/interlinearizer-extension/pull/109


This change is Reviewable

Summary by CodeRabbit

Bug Fixes

  • Improved whitespace handling when detecting unsaved changes—only meaningful content differences now trigger edit indicators. Spacing-only modifications are no longer marked as edits.

@imnasnainaec imnasnainaec added the 🟪Idea Idea-priority PR: can be closed... label Jun 17, 2026
@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cf234db8-cf0e-453e-9409-d75fb5dd8322

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch token-analysis-review-fixes

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@imnasnainaec imnasnainaec marked this pull request as draft June 17, 2026 00:38
- MorphemeEditor: normalize internal whitespace in isUnedited to avoid
  no-op saves on spacing-only changes
- TokenChip: document the deliberate onOpenChange omission on the
  controlled Popover

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@imnasnainaec imnasnainaec force-pushed the token-analysis-review-fixes branch from ccdfa81 to 5741193 Compare June 17, 2026 00:40
@imnasnainaec imnasnainaec marked this pull request as ready for review June 17, 2026 00:41
coderabbitai[bot]

This comment was marked as resolved.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@alex-rawlings-yyc alex-rawlings-yyc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@alex-rawlings-yyc reviewed 2 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on imnasnainaec).

@alex-rawlings-yyc alex-rawlings-yyc merged commit 86311e1 into token-analysis Jun 17, 2026
2 checks passed
@alex-rawlings-yyc alex-rawlings-yyc deleted the token-analysis-review-fixes branch June 17, 2026 15:17
alex-rawlings-yyc added a commit that referenced this pull request Jun 17, 2026
* Add UI for morphosyntactic analysis of tokens

* Improve editor, allow deletion of MSA

* Minor adjustments

* Add writing system to morpheme pipeline, fix input focus issue, prevent morpheme ID regeneration on unedited done/enter

* Minor adjustments

* Migrate MorphemeEditor to Platform.Bible popover, clean up analysisSlice, other minor improvements

* Recenter on showMorphology toggle

* Minor adjustments

* Cleanup

* Minor adjustments

* Memoize viewOptions, clear blank morpheme gloss

* Tiny tweaks (#109)

* Address token-analysis review comments

- MorphemeEditor: normalize internal whitespace in isUnedited to avoid
  no-op saves on spacing-only changes
- TokenChip: document the deliberate onOpenChange omission on the
  controlled Popover

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Add JSDoc to normalize helper in MorphemeEditor

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Add validator for show morphology setting

* Close morphology popover when token chip disabled,

* Morpheme analysis UI: suggestions for #104 (#111)

* Address review feedback on morpheme analysis UI

- Don't save empty or whole-word morpheme breakdowns: disable the Done
  button and guard the Enter / outside-click commit paths
- Localize morpheme editor strings and morpheme/trigger aria-labels
- Validate morpheme element shape in isTextAnalysis at the persistence
  boundary (isTokenAnalysisRecord / isMorphemeAnalysis)
- Restore focus to the token gloss input when the morpheme popover closes
- Gate the disabled morpheme trigger's hover/cursor affordance
- De-duplicate the boolean project-setting validators into one isBoolean
- Document the deliberate provenance exclusion in isEmptyTokenAnalysis and
  de-stale the viewOptions memo comment

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Focus on 1st morph gloss

* Tweak

* Extract handle

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Fix formatting issue

---------

Co-authored-by: D. Ror. <imnasnainaec@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🟪Idea Idea-priority PR: can be closed...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants