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

add docs mol_link_source #629

Merged
merged 3 commits into from
Oct 9, 2023

Conversation

Lyumih
Copy link
Contributor

@Lyumih Lyumih commented Sep 9, 2023

image
image

Copy link
Member

Choose a reason for hiding this comment

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

Демки должны быть в отдельным модулях иначе поедут в прод вместе с компонентом.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Как вариант на подумать, добавить к компоненту component.view.tree файл с расширением component.view.tree.demo (или другая последовательность c demo) и на уровне бандла выпиливать её. Сейчас папка /demo/ для каждого компонента выглядит неказисто если честно

Copy link
Member

Choose a reason for hiding this comment

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

Модуль в MAM - это директория. Демки - это отдельные модули со своими отдельными зависимостями.

@@ -0,0 +1,20 @@
# $mol_link_source

Hyperlink on source with GitHub icon.
Copy link
Member

Choose a reason for hiding this comment

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

Думаю стоит поменять иконку на не связанную с гитхабом.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Захардкожено в самом https://github.com/hyoo-ru/mam_mol/blob/master/link/source/source.view.tree#L4
<= Icon $mol_icon_github_circle

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image Хотел сначала просто использовать $mol_link_iconed , но она выглядит очень тускло (прозрачно что-ли) по умолчанию и добавляет текст

Copy link
Member

Choose a reason for hiding this comment

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

Можно на $mol_icon_script_text_outline поменять.

@nin-jin nin-jin merged commit dc68f20 into hyoo-ru:master Oct 9, 2023
19 checks passed
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