mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-09-14 22:05:22 +03:00
feat(web-test): normalize navigateLink URLs
- Auto-prepend e1cib/list/ when missing - Translate English type names to Russian (AccumulationRegister → РегистрНакопления, etc.) - Accepts: full e1cib/..., short Тип.Имя, or English Type.Имя Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
e58f5c1f82
commit
a17a81fe98
@@ -218,13 +218,17 @@ Hint: if `readTable()` returns `hierarchical: true`, the list has groups.
|
||||
### Navigation links
|
||||
|
||||
```js
|
||||
// Open any form directly by 1C navigation link (e1cib/...)
|
||||
// Full e1cib link
|
||||
await navigateLink('e1cib/list/РегистрНакопления.ЗаказыКлиентов');
|
||||
await navigateLink('e1cib/list/Документ.ЗаказКлиента');
|
||||
await navigateLink('e1cib/list/Справочник.Контрагенты');
|
||||
// Short form — auto-prepends e1cib/list/
|
||||
await navigateLink('Документ.ЗаказКлиента');
|
||||
// English type names — auto-translated to Russian
|
||||
await navigateLink('AccumulationRegister.ЗаказыКлиентов');
|
||||
await navigateLink('Catalog.Контрагенты');
|
||||
```
|
||||
|
||||
Bypasses section/command navigation. Useful for registers, journals, and any form with a known path.
|
||||
Auto-normalizes: `e1cib/list/` prefix + English→Russian type translation.
|
||||
|
||||
### Submenu navigation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user