halkyon/halkyon_learn_flutter/test/feature/card
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tizian 「ティツィアーン」 103881a28d
fix(app): blocks from the / menu go into card fields
Inserting a sound, a YouTube video or a study button through the / menu
in a card's field failed (found with the Snap build). Two causes:

A card field closes its editor when the focus leaves it, except to a
dialog. The / menu takes the focus too, so the editor was gone while
its menu was open, and the block chosen went to an editor that no
longer existed. The field now stays open while the editor's own popup
holds the focus (the editor package's keepEditorFocusNotifier, which
its editors heed for themselves, read through
RichContentEditor.popupHasFocus).

The editor package keeps the menu, and the layer closing it on a tap,
above everything until the chosen item's handler returns, so a block
asking in a dialog (formula, video, study button) had the menu over
that dialog. Our items now close the menu first; the handler is given
the menu for that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
2026-10-05 13:00:38 +02:00
..
bloc fix(app): a card's edit builds on what it started from 2026-10-02 20:57:11 +02:00
data feat: PDF sources: read, take notes and cards from pages, deadlines 2026-10-03 14:40:08 +02:00
model feat(app): the card composer, for many cards in one sitting 2026-10-01 21:10:03 +02:00
widget fix(app): blocks from the / menu go into card fields 2026-10-05 13:00:38 +02:00