Package io.github.jbastgen.stemma.app.ui.dialog
package io.github.jbastgen.stemma.app.ui.dialog
Modal dialogs and overlays: the form dialog, information dialogs, the repository creation dialog, the Git Flow wizard, the
merge tool and the interactive rebase.
-
ClassDescriptionThe proposal for the changelog and the change it makes to
CHANGELOG.md(feature 5).The Create repository dialog: name, location (typed or chosen with a folder chooser), the initial branch, an option to use Git Flow, and a line at the end that shows the full path of the repository as it will be created.What was asked for.Large dialog with a page list on the left and the selected page on the right, shown over a scrim inside the main window.One page of the dialog.A generated changelog in a text area, to edit and copy (feature 5).The Git Flow set-up wizard (feature 27): the branches, the prefixes, a live preview of what will happen, and the problems at once.What the user chose.About Stemma: version, the system it runs on (for bug reports), and the libraries it is built from.The to-do list of an interactive rebase: every commit with the action to take (pick, reword, squash, fixup, drop), a field for the new message of a reworded commit, and buttons to move a commit up or down.Stemma's own merge tool for one text file: the conflicts with "ours" and "theirs" side by side and a button row to take either side or both, the automatically merged changes in between, and the result in an editable text area.Scrim plus centred form dialog (440px wide, 14% from the top).Description of a simple form dialog.One option of aModalSpec.Kind.CHOICEfield: its label, and a line below it that says what it means.One field of the form.What kind of control a field is.A button Suggest message under the fieldtargetKey:askgets what is typed in the form so far and answers with the text for the field (or fails with a readable message).What can be done with the prompts of the library, shared by the favourites panel of the Cowork view and the dialog that manages all prompts: new, edit (a form), delete or hide (after a question), favourites, categories.A change of the prompt file.The dialog that manages all prompts of the library (ready-made and own), grouped by category: the star makes a prompt a favourite (the favourites are what the panel above the input field of the Cowork view shows), and every prompt and category can be changed or removed.Shows the message(s) of the selected commit(s) and their translation (feature 7).Asks for the translation:ask(language, done)callsdone(parts or null, problem)on the UI thread.