|
20 | 20 | /* eslint-disable no-invalid-this */ |
21 | 21 | /* eslint-disable @stylistic/quotes */ |
22 | 22 | import path from '../../lib/path.js'; |
23 | | -import open_item from '../../helpers/open_item.js'; |
| 23 | +import open_item from '../../helpers/openItem.js'; |
24 | 24 | import UIContextMenu from '../UIContextMenu.js'; |
25 | 25 | import UIWindowProgress from '../UIWindowProgress.js'; |
26 | 26 | import UIAlert from '../UIAlert.js'; |
27 | | -import generate_file_context_menu from '../../helpers/generate_file_context_menu.js'; |
28 | | -import truncate_filename from '../../helpers/truncate_filename.js'; |
29 | | -import update_title_based_on_uploads from '../../helpers/update_title_based_on_uploads.js'; |
30 | | -import item_icon from '../../helpers/item_icon.js'; |
31 | | -import { user_facing_windows } from '../../helpers/window_visibility.js'; |
32 | | -import new_context_menu_item from '../../helpers/new_context_menu_item.js'; |
33 | | -import publish_as_website from '../../helpers/publish_as_website.js'; |
| 27 | +import generate_file_context_menu from '../../helpers/generateFileContextMenu.js'; |
| 28 | +import truncate_filename from '../../helpers/truncateFilename.js'; |
| 29 | +import update_title_based_on_uploads from '../../helpers/updateTitleBasedOnUploads.js'; |
| 30 | +import item_icon from '../../helpers/itemIcon.js'; |
| 31 | +import { user_facing_windows } from '../../helpers/windowVisibility.js'; |
| 32 | +import new_context_menu_item from '../../helpers/newContextMenuItem.js'; |
| 33 | +import publish_as_website from '../../helpers/publishAsWebsite.js'; |
34 | 34 | import ContextMenuModal, { isTouchPrimaryDevice } from './ContextMenu/ContextMenu.js'; |
35 | 35 | import UIItemPropertiesModal from './UIItemPropertiesModal.js'; |
36 | 36 | import UIShareModal from './UIShareModal.js'; |
37 | 37 | import { dedupedName } from './dedupedName.js'; |
38 | 38 | import { isEntryVisible, isHiddenName, showHiddenFiles } from './hiddenFiles.js'; |
39 | 39 |
|
40 | 40 | import { icons } from '../../helpers/actionIcons.js'; |
41 | | -import list_all_shared from '../../helpers/list_all_shared.js'; |
42 | | -import { can_share, remember_shared_roots } from '../../helpers/shared_access.js'; |
43 | | -import { parent_path_for, shared_crumbs_for, shared_uids_from_paths } from '../../helpers/share_paths.js'; |
| 41 | +import list_all_shared from '../../helpers/listAllShared.js'; |
| 42 | +import { can_share, remember_shared_roots } from '../../helpers/sharedAccess.js'; |
| 43 | +import { parent_path_for, shared_crumbs_for, shared_uids_from_paths } from '../../helpers/sharePaths.js'; |
44 | 44 |
|
45 | 45 | const { html_encode, SelectionArea } = window; |
46 | 46 |
|
@@ -2549,7 +2549,7 @@ const TabFiles = { |
2549 | 2549 | // For trashed items, use original_name from metadata if available |
2550 | 2550 | const item_id = window.global_element_id++; |
2551 | 2551 | // metadata is a client-writable, untrusted string stored verbatim, so |
2552 | | - // it may be '', undefined, or malformed. Guard the parse (as item_icon.js |
| 2552 | + // it may be '', undefined, or malformed. Guard the parse (as itemIcon.js |
2553 | 2553 | // does) — an unguarded throw here aborts the whole directory render. |
2554 | 2554 | let metadata = {}; |
2555 | 2555 | try { |
@@ -2652,7 +2652,7 @@ const TabFiles = { |
2652 | 2652 | * resolve to their target) against the data-file_uid that launch_app |
2653 | 2653 | * stamps on app windows. In dashboard mode the row doubles as that |
2654 | 2654 | * window's switcher (clicking it restores instead of relaunching — see |
2655 | | - * open_item.js), so the dot marks where a click will return, not launch. |
| 2655 | + * openItem.js), so the dot marks where a click will return, not launch. |
2656 | 2656 | * |
2657 | 2657 | * @returns {void} |
2658 | 2658 | */ |
|
0 commit comments