Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Фикс шаблонов #238

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Conversation

L140-beep
Copy link
Collaborator

@L140-beep L140-beep commented Mar 19, 2024

Добавление id у переходов в шаблоны

@L140-beep L140-beep force-pushed the meta-editor branch 2 times, most recently from f22d432 to aa6ce9f Compare March 19, 2024 07:06
@L140-beep L140-beep changed the title Редактор мета-данных Фикс шаблонов Mar 19, 2024
@L140-beep L140-beep marked this pull request as ready for review March 19, 2024 07:09
resources/templates/arduino/blinker.graphml Outdated Show resolved Hide resolved
let stringMeta = '';
for (const propName in meta) {
const property = meta[propName];
stringMeta += `${propName}/ ${property}\n`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно переписать лаконичнее с использованием этого:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join

Есть опасение про многострочные значения и экранирование слеша.

src/renderer/src/lib/data/GraphmlBuilder.ts Outdated Show resolved Hide resolved
@chekoopa chekoopa merged commit 2f6fc8b into kruzhok-team:main Mar 21, 2024
1 check passed
L140-beep added a commit to L140-beep/lapki-client that referenced this pull request Mar 23, 2024
chekoopa pushed a commit that referenced this pull request Apr 15, 2024
* condition building

* remove unused imports

* operatorAlias to object

* Фикс переходов в шаблонах (#238)

* fix issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants