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

Read class reference data from SCSS files #4349

Merged
merged 12 commits into from
May 5, 2022
Merged

Conversation

bartaz
Copy link
Contributor

@bartaz bartaz commented Mar 3, 2022

Done

Based on work from the hackaton, we are reading Yaml data for class reference from the comments inside SCSS files.

QA

@webteam-app
Copy link

Demo starting at https://vanilla-framework-4349.demos.haus

@bartaz bartaz self-assigned this Apr 25, 2022
Copy link
Contributor Author

@bartaz bartaz left a comment

Choose a reason for hiding this comment

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

Some changes needed

package.json Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
webapp/app.py Outdated Show resolved Hide resolved
webapp/app.py Show resolved Hide resolved
@bartaz bartaz changed the title Classreference hackday Read class reference data from SCSS files Apr 29, 2022
@bartaz bartaz marked this pull request as ready for review April 29, 2022 15:11
@bethcollins92 bethcollins92 assigned bethcollins92 and unassigned bartaz May 3, 2022
Copy link
Contributor

@bethcollins92 bethcollins92 left a comment

Choose a reason for hiding this comment

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

LGTM with a couple of minor comments (I've asked @albertkol to review the python 😀)

templates/_layouts/_class-reference.html Outdated Show resolved Hide resolved
@@ -86,7 +86,7 @@ View example of the time notification pattern

## Class reference

{% include "_class-references/notification.html" %}
{{ class_reference() }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this one missing "notification" in the brackets?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doesn't need it. The function is smart enough to match it from the page it is on (via URL), only needs it when URL slug doesn't match the component name 1:1.

Copy link
Contributor

@albertkol albertkol left a comment

Choose a reason for hiding this comment

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

👍

bartaz and others added 2 commits May 4, 2022 11:24
Co-authored-by: Beth Collins <bethcollinsliv92@gmail.com>
@bartaz bartaz merged commit 81202f1 into main May 5, 2022
@bartaz bartaz deleted the classreference-hackday branch May 5, 2022 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants