Overhaul the keyword editor modal lifecycle

オープン
#189 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@amotl がすでに取り組んでいます。

2026年11月6日 から。

評価

この issue はまだ評価されていません。

説明

Summary

Overhaul the keyword editor modal for the Bootstrap 4 UI. Review how KeywordEditorView and ModalRegion manage the modal and its backdrop. Use a single, consistent modal lifecycle that does not leave the shared modal area open after the editor closes.

Context

The PR review identified overlapping modal ownership and a possible double-backdrop problem. A proposed patch did not resolve the problem: the requester reported that the modal did not become visible and appeared to get stuck while presenting the backdrop. Investigate the cause rather than relying on that patch.

Affected areas include patzilla-ui/navigator/components/keywords/keywords.js, the keyword editor template, and the shared modal region in patzilla-ui/lib/marionette.js.

Acceptance criteria

  • The keyword editor opens visibly and can be reopened after it closes.
  • Save persists keyword changes, closes the editor, and reapplies highlighting.
  • Close and Escape dismiss the editor without leaving an extra backdrop, an open #modal-area, or body.modal-open behind.
  • Other dialogs that share #modal-area still open and close correctly before and after the keyword editor.
  • Verify these flows in a browser, including an immediate Save after opening.

Requested by @amotl.

PR: https://github.com/ip-tools/patzilla/pull/187
Review thread: https://github.com/ip-tools/patzilla/pull/187#discussion_r4488811889

主要言語
Python
スター
123
フォーク
31
平均マージ
4時間 1分
マージ済み PR(30日)
74

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ip-tools/patzilla のほかの issue

ip-tools/patzilla の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。