-
Notifications
You must be signed in to change notification settings - Fork 441
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
Migrate project package table to bootstrap. #6396
Migrate project package table to bootstrap. #6396
Conversation
972a5de
to
212a64c
Compare
Review app will appear here: http://obs-reviewlab.opensuse.org/krauselukas-featureboostrappackage_list |
src/api/app/views/webui2/webui/project/_project_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_inherited_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_inherited_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_inherited_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_packages.html.haml
Outdated
Show resolved
Hide resolved
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.
One more thing, the commit message is not really useful:
Since we are moving the project view to bootstrap,
the package table need to be migrated as well
Maybe mentioning that this is one of the partial that needs to be implemented for this page to be done and to enable the project page for all beta users. 🤔
I just realized by trying this locally. The pages behind the links are not migrated to Bootstrap. They should. However, I am fine with doing that in a follow-up PR. It's easier to review then. |
212a64c
to
e1040c0
Compare
@krauselukas Yes I was referring to the links "Create Package" and "Branch existing Package" |
e1040c0
to
2a91a20
Compare
src/api/app/views/webui2/webui/project/_project_inherited_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_inherited_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_packages.html.haml
Outdated
Show resolved
Hide resolved
src/api/app/views/webui2/webui/project/_project_packages.html.haml
Outdated
Show resolved
Hide resolved
2a91a20
to
d40e0d3
Compare
@Ana06 done 🚀 |
d40e0d3
to
99d2088
Compare
99d2088
to
950972e
Compare
.card-body#comments | ||
= render partial: 'webui2/webui/comment/show', locals: { commentable: @project } | ||
|
||
= content_for :ready_function do | ||
$('#packages-table,#inherited-packages-table').DataTable(); |
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.
Take a look at openSUSE/obs-patterns#42 It solves a bug related to the search field
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.
@Ana06 fixed it
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.
950972e
to
52af409
Compare
@bgeuken seems like the generalized dataTable version fixed the problem |
This is already fixed, I think @krauselukas hadn't rebase. @krauselukas use |
52af409
to
1c36e0f
Compare
1c36e0f
to
805ff09
Compare
@bgeuken for some reason defining |
Codecov Report
@@ Coverage Diff @@
## master #6396 +/- ##
=========================================
- Coverage 91.22% 91.2% -0.02%
=========================================
Files 437 437
Lines 19660 19665 +5
=========================================
+ Hits 17935 17936 +1
- Misses 1725 1729 +4 |
@@ -67,3 +77,6 @@ | |||
- elsif [email protected]_locked? | |||
= render partial: 'webui2/webui/request/add_role_request_dialog', locals: { project: @project } | |||
= render partial: 'webui2/webui/request/delete_request_dialog', locals: { project: @project } | |||
|
|||
= content_for :ready_function do | |||
initializeDataTable('#packages-table,#inherited-packages-table'); |
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.
It's a small thing, but please add a whitespace here -> '#packages-table, #inherited-packages-table'
805ff09
to
30d890d
Compare
The project show view get migrated to bootstrap. The package table is a partial of it. In order to get this done and to serve it to the beta users, the table needs to be moved to bootstrap.
30d890d
to
94aad6a
Compare
Since we are moving the project view to bootstrap,
the package table need to be migrated as well