feat: port stroy-bot-main as the hub page
Project picker, section cards and the period Excel export now live on the app's home page. The selected project is shared app state, so the sidebar hides sections with the same rules main used to disable its cards (archived, finished, no edit0 right). Queries are 1:1 with stroy-bot-main and covered by tests against a fake HTTP client. Behaviour differences are listed in the migration checklist. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ export const LISTS = {
|
||||
/** Библиотека с фотографиями отчётов: папка `{projectId}_{reportNumber}`. */
|
||||
export const REPORT_PHOTO_LIBRARY = 'DocLib';
|
||||
|
||||
/** Библиотека с архивом проектов: папка `Архив/{название проекта}`. */
|
||||
export const ARCHIVE_FOLDER_PATH = 'Shared Documents/Архив';
|
||||
/** Путь (в URL) к папке архива проектов в библиотеке «Документы»; дальше — `/{название проекта}`. */
|
||||
export const ARCHIVE_FOLDER_PATH = 'Shared%20Documents/Архив';
|
||||
|
||||
export type ListTitle = (typeof LISTS)[keyof typeof LISTS];
|
||||
|
||||
Reference in New Issue
Block a user