mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Polish tutorial popups
Summary: Includes the following changes: * Adds "Click to expand" hover tooltip to all images * Adds support for minimize/maximize by double clicking tutorial popup header * Add New menu (and all other popups) should now persist when user moves tutorial popup * Preserves scrollbar position when minimizing and maximizing tutorial popup * Formula cell editor (and other elements) should now be stacked under tutorial Test Plan: Browser and manual tests. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D3864
This commit is contained in:
@@ -476,7 +476,8 @@ export function makeDocOptionsMenu(home: HomeModel, doc: Document, renaming: Obs
|
||||
function deleteDoc() {
|
||||
confirmModal(t("Delete {{name}}", {name: doc.name}), t("Delete"),
|
||||
() => home.deleteDoc(doc.id, false).catch(reportError),
|
||||
t("Document will be moved to Trash."));
|
||||
{explanation: t("Document will be moved to Trash.")}
|
||||
);
|
||||
}
|
||||
|
||||
async function manageUsers() {
|
||||
@@ -529,7 +530,8 @@ export function makeRemovedDocOptionsMenu(home: HomeModel, doc: Document, worksp
|
||||
function hardDeleteDoc() {
|
||||
confirmModal(t("Permanently Delete \"{{name}}\"?", {name: doc.name}), t("Delete Forever"),
|
||||
() => home.deleteDoc(doc.id, true).catch(reportError),
|
||||
t("Document will be permanently deleted."));
|
||||
{explanation: t("Document will be permanently deleted.")}
|
||||
);
|
||||
}
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user