"Справочники" in the sidebar expands into links to the site's lists and
pages (projects, companies, professions, units, equipment, archive,
manual, recycle bin), each opening in a new tab. Uses the new Sidebar
groups and links from @tnsu/ui-kit 0.13.0.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
New "Импорт работ из Excel" section checks the planned volumes file
against /Import/StroyBot/Works as soon as it is picked. The builder
turns checked rows into works and decides per work whether to create it
or update the volume and unit of an existing work with the same title
on the object. Saving comes next.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The /Import/StroyBot/Reports endpoint only validates the file, so the
check now runs as soon as a file is picked. When there are no errors,
"Import" builds the reports from the ids in the response and saves them
with the same Dataverse code as the report form: one report per date,
company, shift and object; resources nested under their work; idle and
repair hours as separate rows.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Ports the weather check added to stroy-bot-main on 2026-10-16: daily
station weather, report positions with weather per shift and the AI
assessment of working conditions. Opens as ?page=weather&start=&end=
instead of the #weathercheck hash, and hub dates survive the way back.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
After F5 without projectId in the address the hub and sidebar showed the
status and edit right saved in sessionStorage, so a project switched to
Архивный or a revoked edit0 right was ignored until the project was
picked again. The fresh list from SharePoint now always wins; the saved
copy is used only while the list is loading. Found in T-HUB-07/09.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Enable supportsFullBleed so the web part can sit in full-width sections,
and lift the SharePoint canvas max-width so it also fills a regular
one-column section (workbench and live page).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
All eight sections of the old stroy-bot-* web parts are now reachable
from the app. Unknown routes fall back to the hub.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Checked line by line against stroy-bot-report: form modes, validation
texts and order, payloads, delete-children-first then recreate save
sequence, photo upload, access lookup and dictionary fallbacks. The fake
HTTP client can now answer per call so created rows get distinct ids.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Tree table of an object's works from Dataverse with add / add child /
edit / delete, "save and add more", units dictionary and parent
re-binding, 1:1 with the legacy web part. Reuses the tree widgets from
the objects page; the parent navigation property lookup is cached as a
single promise so concurrent saves don't race.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Project object tree with add/edit/delete, drag & drop re-parenting,
context menu and Excel export, 1:1 with the legacy web part. The tree
widgets live in pages/_tree so the works page can reuse them.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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>
One web part replaces the separate stroy-bot-* web parts. The section and
its parameters live in the page query string (?page=objects&projectId=5),
so links can be copied, opened in a new tab and the browser Back button works.
- shared config: site/Dataverse/API addresses, list and table names
- HTTP layer behind IHttpClient so repositories can be unit-tested
- ui-kit AppLayout + Sidebar, placeholder for sections not ported yet
- migration checklist with every feature of the old web parts
- design tokens mirrored from ui-kit instead of 8 copies
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>