puter/src/UI
Sam Atkins cce6531d45 Notify parents/children when an app closes
Send an appClosed message with the instance ID of the app that was
closed. This will be picked up by Puter.js's AppConnection and reported
as a 'close' event.

To make this work, a `data-parent_instance_id` attribute is set on child
app windows. This is very similar to the `data-parent_uuid` attribute,
which tracks parent windows instead of parent app instances. (Dialogs
have a parent window, but are not apps, so don't have a parent app
instance.) The difference is subtle, and we may want to combine these in
the future, but currently closing an app will close any child windows,
which is not behaviour we want for child apps.
2024-04-09 15:55:14 +01:00
..
Settings Add ui colors to settings window 2024-04-07 02:53:05 -04:00
PuterDialog.js fixing html encoding issue in i18n 2024-03-23 13:52:50 +05:30
UIAlert.js revert value requirement 2024-03-19 04:22:17 +01:00
UIContextMenu.js Merge pull request #156 from vineeth-vk11/#154 2024-03-25 21:41:42 -07:00
UIDesktop.js Correct capitalisation of i18n() keys 2024-04-01 11:26:07 +01:00
UIItem.js Fix typo in 'change_always_open_with' i18n key 2024-04-01 12:00:58 +01:00
UINotification.js fix license formatting 2024-03-04 13:00:26 -08:00
UIPopover.js fix license formatting 2024-03-04 13:00:26 -08:00
UIPrompt.js Correct capitalisation of i18n() keys 2024-04-01 11:26:07 +01:00
UITaskbar.js Fix spelling mistake 2024-03-29 20:59:50 -07:00
UITaskbarItem.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindow.js Notify parents/children when an app closes 2024-04-09 15:55:14 +01:00
UIWindowChangePassword.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowChangeUsername.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowClaimReferral.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowColorPicker.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowConfirmDownload.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowCopyProgress.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowDesktopBGSettings.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowDownloadDirProg.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowDownloadProgress.js More translation 2024-03-18 21:29:27 +01:00
UIWindowEmailConfirmationRequired.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowFeedback.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowFontPicker.js Correct capitalisation of i18n() keys 2024-04-01 11:26:07 +01:00
UIWindowGetCopyLink.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowItemProperties.js remove deprecated sharing endpoints and event handlers 2024-03-29 20:49:53 -07:00
UIWindowLogin.js Add an error message when login fails because of domain misconfiguration 2024-04-08 15:49:00 +01:00
UIWindowLoginInProgress.js Merge pull request #14 from HeyPuter/object-field-duplicates 2024-03-04 13:06:01 -08:00
UIWindowMoveProgress.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowMyWebsites.js More translation 2024-03-18 21:29:27 +01:00
UIWindowNewFolderProgress.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowNewPassword.js Translation WIP 2024-03-18 21:07:29 +01:00
UIWindowProgressEmptyTrash.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowPublishWebsite.js fixing html encoding issue in i18n 2024-03-23 13:52:50 +05:30
UIWindowQR.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowRecoverPassword.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowRefer.js Fixes styling of the button to remain on the left 2024-03-24 13:25:47 -07:00
UIWindowRequestPermission.js Merge pull request #14 from HeyPuter/object-field-duplicates 2024-03-04 13:06:01 -08:00
UIWindowSaveAccount.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowSessionList.js Add i18n for English, Korean, and Chinese 2024-03-17 16:01:06 -07:00
UIWindowSignup.js fixing html encoding issue in i18n 2024-03-23 13:52:50 +05:30
UIWindowThemeDialog.js Fix i18n 2024-04-07 17:27:09 -04:00
UIWindowUploadProgress.js Correct capitalisation of i18n() keys 2024-04-01 11:26:07 +01:00