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

Test run patternfly status bar - Obsoletes #1436 #1544

Merged
merged 4 commits into from Apr 15, 2020

Conversation

atodorov
Copy link
Member

Takes #1436 rebases it to the latest upstream and adjusts HTML & JavaScript.

asankov and others added 4 commits April 15, 2020 13:40
removes HTML mangling inside JavaScript
- can't have <li> elements outside of <ul>
- spacing between label & number was missing - inconsistent with
  the labels above
- point the URL explicitly to the current TR instead of using '#'

Note: when using '#' for the URL and filtering by status the
resulting URL was
'/runs/123/?status_id=x#', now it is '/runs/123/'!
@@ -131,6 +131,11 @@ class GetTestRunView(DetailView): # pylint: disable=missing-permission-required
model = TestRun
response_class = ModifySettingsTemplateResponse

def get_context_data(self, **kwargs):
Copy link
Member

Choose a reason for hiding this comment

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

I wasn't aware of this

@codecov
Copy link

codecov bot commented Apr 15, 2020

Codecov Report

Merging #1544 into refactor_testrun_ui will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@                   Coverage Diff                   @@
##           refactor_testrun_ui    #1544      +/-   ##
=======================================================
+ Coverage                76.11%   76.13%   +0.02%     
=======================================================
  Files                      122      122              
  Lines                     4384     4388       +4     
  Branches                   510      510              
=======================================================
+ Hits                      3337     3341       +4     
  Misses                     875      875              
  Partials                   172      172              
Impacted Files Coverage Δ
tcms/testruns/views.py 86.53% <100.00%> (+0.35%) ⬆️

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 2bca80a...7fe98df. Read the comment docs.

@atodorov atodorov merged commit cddca3d into refactor_testrun_ui Apr 15, 2020
@atodorov atodorov deleted the test-run-patternfly-status-bar branch April 15, 2020 11:45
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.

None yet

2 participants