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

Move view_file into files controller #15766

Merged
merged 3 commits into from Mar 18, 2024

Conversation

hellcp-work
Copy link
Contributor

Depends on #15754

@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Mar 8, 2024
@hellcp-work hellcp-work force-pushed the files-controller-p3 branch 8 times, most recently from 1202320 to 66fc82e Compare March 14, 2024 13:32
@hellcp-work hellcp-work marked this pull request as ready for review March 14, 2024 14:53
@github-actions github-actions bot added the Test Suite / CI 💉 Things related to our tests/CI label Mar 14, 2024
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

Attention: Patch coverage is 48.48485% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 86.13%. Comparing base (b0ca06d) to head (417a554).
Report is 33 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15766      +/-   ##
==========================================
+ Coverage   86.10%   86.13%   +0.03%     
==========================================
  Files         793      793              
  Lines       26024    26023       -1     
==========================================
+ Hits        22407    22415       +8     
+ Misses       3617     3608       -9     

@@ -25,6 +25,3 @@
= link_to 'Repository State', project_package_repository_binaries_path(@project, @package_name, @repository)
%li.breadcrumb-item.active{ 'aria-current' => 'page' }
Statistics
- if current_page?(package_view_file_path(@project, @package))
Copy link
Contributor

@danidoni danidoni Mar 15, 2024

Choose a reason for hiding this comment

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

Why is this being removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm sorry but I don't see the same code in there...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

current_page?(package_view_file_path(@project, @package)) is equivalent to action_name == 'show' in the context of the new controller

Copy link
Contributor

Choose a reason for hiding this comment

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

Alright

@danidoni danidoni merged commit d328c71 into openSUSE:master Mar 18, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app Test Suite / CI 💉 Things related to our tests/CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants