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
Fix/qml resources #135
Fix/qml resources #135
Conversation
e9c074b
to
93bfbe4
Compare
| if x.is_file() and res_name == x.name: | ||
| return x | ||
|
|
||
| for directory in locate_base_directories(root_dir, res_dirname): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NeonDaniel this should fix the bug you reported in chat
|
QML files are been resolved from a deeper level than the UI folder, it should only resolve the UI folder not deeper levels, for example its resolving for timer skill the "ui/+mediacenter/Timer.qml" where it should only be resolving "ui/Timer.qml" |
the resource file refactor was not handling non-lang resources properly, it would miss top level folders that are not localized QML files were completely ignored in the mk2 refactor, this commit adds "new style" support for handling of qml files
93bfbe4
to
d358472
Compare
Codecov Report
@@ Coverage Diff @@
## dev #135 +/- ##
==========================================
+ Coverage 50.35% 52.69% +2.34%
==========================================
Files 119 150 +31
Lines 10077 9652 -425
==========================================
+ Hits 5074 5086 +12
+ Misses 5003 4566 -437
Continue to review full report at Codecov.
|
qml files should not walk the directory, only check top level
fix/non_lang_resources - follow up to #130
the resource file refactor was not handling non-lang resources properly, it would miss top level folders that are not localized
QML files were completely ignored in the mk2 refactor, this commit adds "new style" support for handling of qml files