mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Improve project search UI (#22909)
GitOrigin-RevId: 83bc59269250afef3d25434b14151dbde5be5e5c
This commit is contained in:
@@ -1168,6 +1168,10 @@
|
||||
"project_ownership_transfer_confirmation_2": "",
|
||||
"project_renamed_or_deleted": "",
|
||||
"project_renamed_or_deleted_detail": "",
|
||||
"project_search_file_count": "",
|
||||
"project_search_file_count_plural": "",
|
||||
"project_search_result_count": "",
|
||||
"project_search_result_count_plural": "",
|
||||
"project_synced_with_git_repo_at": "",
|
||||
"project_synchronisation": "",
|
||||
"project_timed_out_enable_stop_on_first_error": "",
|
||||
|
||||
@@ -3,5 +3,5 @@ import { ButtonProps } from './button-props'
|
||||
export type IconButtonProps = ButtonProps & {
|
||||
accessibilityLabel?: string
|
||||
icon: string
|
||||
type?: 'button'
|
||||
type?: 'button' | 'submit'
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ import { BinaryFile } from '@/features/file-view/types/binary-file'
|
||||
import useScopeEventEmitter from '@/shared/hooks/use-scope-event-emitter'
|
||||
import useEventListener from '@/shared/hooks/use-event-listener'
|
||||
import { isSplitTestEnabled } from '@/utils/splitTestUtils'
|
||||
import { isMac } from '@/shared/utils/os'
|
||||
|
||||
export type IdeLayout = 'sideBySide' | 'flat'
|
||||
export type IdeView = 'editor' | 'file' | 'pdf' | 'history'
|
||||
@@ -55,8 +56,6 @@ type LayoutContextValue = {
|
||||
setProjectSearchIsOpen: Dispatch<SetStateAction<boolean>>
|
||||
}
|
||||
|
||||
const isMac = /Mac/.test(window.navigator?.platform)
|
||||
|
||||
const debugPdfDetach = getMeta('ol-debugPdfDetach')
|
||||
|
||||
export const LayoutContext = createContext<LayoutContextValue | undefined>(
|
||||
|
||||
@@ -1579,6 +1579,10 @@
|
||||
"project_ownership_transfer_confirmation_2": "This action cannot be undone. The new owner will be notified and will be able to change project access settings (including removing your own access).",
|
||||
"project_renamed_or_deleted": "Project Renamed or Deleted",
|
||||
"project_renamed_or_deleted_detail": "This project has either been renamed or deleted by an external data source such as Dropbox. We don’t want to delete your data on Overleaf, so this project still contains your history and collaborators. If the project has been renamed please look in your project list for a new project under the new name.",
|
||||
"project_search_file_count": "in __count__ file",
|
||||
"project_search_file_count_plural": "in __count__ files",
|
||||
"project_search_result_count": "__count__ result",
|
||||
"project_search_result_count_plural": "__count__ results",
|
||||
"project_synced_with_git_repo_at": "This project is synced with the GitHub repository at",
|
||||
"project_synchronisation": "Project Synchronisation",
|
||||
"project_timed_out_enable_stop_on_first_error": "<0>Enable “Stop on first error”</0> to help you find and fix errors right away.",
|
||||
|
||||
Reference in New Issue
Block a user