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

Structured fact values as shown as pretty-printed, colored JSON + some bugs fixed #647

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

gdubicki
Copy link
Member

@gdubicki gdubicki commented Nov 22, 2021

#643 + #644

Fixes #612 and #567 and (I think that) it implements #83.

Here's a screenshot of how will the complex facts look: #644 (comment)

@codecov
Copy link

codecov bot commented Nov 22, 2021

Codecov Report

Merging #647 (3f7be95) into master (1976f7a) will increase coverage by 0.09%.
The diff coverage is 100.00%.

❗ Current head 3f7be95 differs from pull request most recent head 2aee6c4. Consider uploading reports for the commit 2aee6c4 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master     #647      +/-   ##
==========================================
+ Coverage   80.87%   80.97%   +0.09%     
==========================================
  Files          12       12              
  Lines         889      883       -6     
==========================================
- Hits          719      715       -4     
+ Misses        170      168       -2     
Impacted Files Coverage Δ
puppetboard/app.py 75.82% <100.00%> (+0.04%) ⬆️
puppetboard/utils.py 93.25% <100.00%> (+0.86%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1976f7a...2aee6c4. Read the comment docs.

@bastelfreak
Copy link
Member

some of the commits here don't prepare the release but fix bugs or add features. Can you please provide those as dedicated PRs?

@gdubicki gdubicki changed the title V3.3.0 V3.3.0: structured fact values as shown as pretty-printed, colored JSON + some bugs fixed Nov 29, 2021
and extend the width of the fact values column in the node
view as the values are usually longer that the names.
Thus this implements #83.

Also fix getting nodes with non-string fact values (#612):
Examples:
* int (in this case the filtering did not occur at all
  and ALL results were returned),
* list of dict (here the filtering was not done and
  ZERO results were returned),

As showing fact values does not use the code that strips
trailing 'u' anymore, this also fixes #567.
@gdubicki gdubicki changed the title V3.3.0: structured fact values as shown as pretty-printed, colored JSON + some bugs fixed Structured fact values as shown as pretty-printed, colored JSON + some bugs fixed Nov 29, 2021
@gdubicki gdubicki merged commit c85d37d into master Nov 29, 2021
@gdubicki gdubicki deleted the v3.3.0_rc branch November 29, 2021 10:01
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.

Numerical facts don't get filtered properly
3 participants