[Bug 32028] New: Add page-section to various administration pages (part 2)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Bug ID: 32028 Summary: Add page-section to various administration pages (part 2) Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Depends on: 30952 Blocks: 31757 Bug 31986 is part 1, these could be part 2: * Jobs * circulation rules * Patron attributes * Cities * Patron restrictions * Debit types * Credit types * Cash registers * Plugins Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30952 [Bug 30952] New design for staff interface https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31757 [Bug 31757] Add 'page-section' where it's missing -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=31699 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also|https://bugs.koha-community |https://bugs.koha-community |.org/bugzilla3/show_bug.cgi |.org/bugzilla3/show_bug.cgi |?id=31699 |?id=31986 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #1 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 143052 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143052&action=edit Bug 32028: Add page-section to smart-rules.tt and fix markup errors To test: 1. Apply patch 2. Go to Adminstration > Circulation and fine rules 3. Look at the page-section added and make sure each looks good. 4. Use an HTML validator to check and make sure the HTML looks good. Note: There are indentation changes and some fixes to bad markup ( stray tags, etc ). Since there were quite a few mark-up errors I am attaching the smart-rules.tt patch by itself. The rest of the Adminstration pages mentioned will be in a single patch that is incoming! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |lucas@bywatersolutions.com |ity.org | CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #2 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 143146 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143146&action=edit Bug 32028: Add page-section to various admin pages This patch adds the page section to div to the following administration pages: admin/cash_registers.tt admin/cities.tt admin/credit_types.tt admin/debit_types.tt admin/patron-attr-types.tt admin/restrictions.tt plugins/plugins-home.tt To test go the following pages and make sure everything looks good: Administration > Cash registers. You must enable the sys pref 'UseCashRegisters' Administration > Cities and towns. Administration > Credit types Administration > Debit types Administration > Patron restrictions Adminstration > Patron attribute types Administration > Manage plugins -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #3 from Lucas Gass <lucas@bywatersolutions.com> --- I believe the background jobs page has already handled in Bug 31960. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply CC| |david@davidnind.com --- Comment #4 from David Nind <david@davidnind.com> --- The patch no longer applies 8-(.. git bz apply 32028 Bug 32028 - Add page-section to various administration pages (part 2) 143052 - Bug 32028: Add page-section to smart-rules.tt and fix markup errors 143146 - Bug 32028: Add page-section to various admin pages Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 32028: Add page-section to smart-rules.tt and fix markup errors Using index info to reconstruct a base tree... M koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt Falling back to patching base and 3-way merge... Auto-merging koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt CONFLICT (content): Merge conflict in koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt error: Failed to merge in the changes. Patch failed at 0001 Bug 32028: Add page-section to smart-rules.tt and fix markup errors -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143052|0 |1 is obsolete| | --- Comment #5 from Lucas Gass <lucas@bywatersolutions.com> --- Created attachment 143214 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143214&action=edit Bug 32028: Add page-section to smart-rules.tt and fix markup errors To test: 1. Apply patch 2. Go to Adminstration > Circulation and fine rules 3. Look at the page-section added and make sure each looks good. 4. Use an HTML validator to check and make sure the HTML looks good. Note: There are indentation changes and some fixes to bad markup ( stray tags, etc ). -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143146|0 |1 is obsolete| | --- Comment #6 from David Nind <david@davidnind.com> --- Created attachment 143260 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143260&action=edit Bug 32028: Add page-section to various admin pages This patch adds the page section to div to the following administration pages: admin/cash_registers.tt admin/cities.tt admin/credit_types.tt admin/debit_types.tt admin/patron-attr-types.tt admin/restrictions.tt plugins/plugins-home.tt To test go the following pages and make sure everything looks good: Administration > Cash registers. You must enable the sys pref 'UseCashRegisters' Administration > Cities and towns. Administration > Credit types Administration > Debit types Administration > Patron restrictions Adminstration > Patron attribute types Administration > Manage plugins Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143214|0 |1 is obsolete| | --- Comment #7 from David Nind <david@davidnind.com> --- Created attachment 143261 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143261&action=edit Bug 32028: Add page-section to smart-rules.tt and fix markup errors To test: 1. Apply patch 2. Go to Adminstration > Circulation and fine rules 3. Look at the page-section added and make sure each looks good. 4. Use an HTML validator to check and make sure the HTML looks good. Note: There are indentation changes and some fixes to bad markup ( stray tags, etc ). Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #8 from David Nind <david@davidnind.com> --- Questions from testing: 1. Delete confirmation messages: there are two styles, assuming there will be bugs to fix these at some stage to make consistent: - Patron restrictions - "new" style (confirmation message in a page section div) - Patron attribute types - "old" yellow style (yellow box and asking you to confirm deletion) - Cities and towns - "old" yellow style 2. Patron restrictions: Delete - 'Delete this restriction' and cancel buttons are in the page section div. 3. Plugins: has the tools sidebar menu, breadcrumb, and page title - if there is not a bug for that already, then I can log one. Other notes: 1. Plugins: installed three plugins - BiblbioCommons connector plugin for Koha, Example Kitchen-Sink Plugin, and SMS::Send::LinkMobility::Driver. Assuming it will be up to the plugin author to update any pages for their plugin, for example, the kitchen sink plugin configure section. 2. Circulation and fines rules: - before patch applied any before any changes made: 0 errors, 73 warnings (using HTML Validator for Firefox - https://www.gueury.com/mozilla/) - after applying patch: 0 errors, 54 warnings - not sure of the "best" tool to do this or where the threshold is for addressing any issues -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |katrin.fischer@bsz-bw.de |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> ---
1. Delete confirmation messages: there are two styles, assuming there will be bugs to fix these at some stage to make consistent: - Patron restrictions - "new" style (confirmation message in a page section div) - Patron attribute types - "old" yellow style (yellow box and asking you to confirm deletion) - Cities and towns - "old" yellow style
I think it would be nice to have a separate bug about these. We should tackle them at some point for sure, just a lot of things to go through right now.
2. Patron restrictions: Delete - 'Delete this restriction' and cancel buttons are in the page section div.
Bit confused about this one. Aren't they all in the table?
3. Plugins: has the tools sidebar menu, breadcrumb, and page title - if there is not a bug for that already, then I can log one.
I believe that's because you can also access some plugins from the tools page. Could you file separately please?
Other notes:
1. Plugins: installed three plugins - BiblbioCommons connector plugin for Koha, Example Kitchen-Sink Plugin, and SMS::Send::LinkMobility::Driver. Assuming it will be up to the plugin author to update any pages for their plugin, for example, the kitchen sink plugin configure section.
2. Circulation and fines rules: - before patch applied any before any changes made: 0 errors, 73 warnings (using HTML Validator for Firefox - https://www.gueury.com/mozilla/) - after applying patch: 0 errors, 54 warnings - not sure of the "best" tool to do this or where the threshold is for addressing any issues
On this page the h2 headings are outside the page-sections, but for the advanced search and on other pages they are inside. I think this is already a good change, but we really need to write our style guide about these kinds of things. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143260|0 |1 is obsolete| | --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 143498 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143498&action=edit Bug 32028: Add page-section to various admin pages This patch adds the page section to div to the following administration pages: admin/cash_registers.tt admin/cities.tt admin/credit_types.tt admin/debit_types.tt admin/patron-attr-types.tt admin/restrictions.tt plugins/plugins-home.tt To test go the following pages and make sure everything looks good: Administration > Cash registers. You must enable the sys pref 'UseCashRegisters' Administration > Cities and towns. Administration > Credit types Administration > Debit types Administration > Patron restrictions Adminstration > Patron attribute types Administration > Manage plugins Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> https://bugs.koha-community.org/show_bug.cgi?id=32082 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143261|0 |1 is obsolete| | --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 143499 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143499&action=edit Bug 32028: Add page-section to smart-rules.tt and fix markup errors To test: 1. Apply patch 2. Go to Adminstration > Circulation and fine rules 3. Look at the page-section added and make sure each looks good. 4. Use an HTML validator to check and make sure the HTML looks good. Note: There are indentation changes and some fixes to bad markup ( stray tags, etc ). Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> https://bugs.koha-community.org/show_bug.cgi?id=32082 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #12 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 143500 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143500&action=edit Bug 32028: (follow-up) Improve smart rules formatting I correct the indenting here, so remember to diff ignoring whitespace ;) I remove some of the page-section divs introduced by the previous patch and instead add the page-section class to existing 'container' divs. This brings the page-sections more in line with elsewhere in the codebase. I also update the 'h3' headings to 'h2' as we were somehow skipping that heading level page wide. Finally, I break up the top section more, using bg-info for the top block of instructions. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143500|0 |1 is obsolete| | --- Comment #13 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 143503 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143503&action=edit Bug 32028: (follow-up) Improve smart rules formatting I correct the indenting here, so remember to diff ignoring whitespace ;) I remove some of the page-section divs introduced by the previous patch and instead replace the 'container' classes with the new 'page-section class on existing divs. This brings the page-sections more in line with elsewhere in the codebase. I also update the 'h3' headings to 'h2' as we were somehow skipping that heading level page wide and update the final 'h4' heading to 'h2' to match the other section headings appropriately. Finally, I break up the top section more, using bg-info for the top block of instructions. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #14 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Katrin and I clashed.. just as I was assigning it to myself for QA she passed it ;). Please check my final followup Katrin.. I think it improves the smart rules a fair bit ;P -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |22.11.00 released in| | Status|Passed QA |Pushed to master -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #15 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 22.11. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143498|0 |1 is obsolete| | --- Comment #16 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 143506 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143506&action=edit Bug 32028: Add page-section to various admin pages This patch adds the page section to div to the following administration pages: admin/cash_registers.tt admin/cities.tt admin/credit_types.tt admin/debit_types.tt admin/patron-attr-types.tt admin/restrictions.tt plugins/plugins-home.tt To test go the following pages and make sure everything looks good: Administration > Cash registers. You must enable the sys pref 'UseCashRegisters' Administration > Cities and towns. Administration > Credit types Administration > Debit types Administration > Patron restrictions Adminstration > Patron attribute types Administration > Manage plugins Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> https://bugs.koha-community.org/show_bug.cgi?id=32082 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143499|0 |1 is obsolete| | --- Comment #17 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 143507 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143507&action=edit Bug 32028: Add page-section to smart-rules.tt and fix markup errors To test: 1. Apply patch 2. Go to Adminstration > Circulation and fine rules 3. Look at the page-section added and make sure each looks good. 4. Use an HTML validator to check and make sure the HTML looks good. Note: There are indentation changes and some fixes to bad markup ( stray tags, etc ). Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> https://bugs.koha-community.org/show_bug.cgi?id=32082 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143503|0 |1 is obsolete| | --- Comment #18 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 143508 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143508&action=edit Bug 32028: (follow-up) Improve smart rules formatting I correct the indenting here, so remember to diff ignoring whitespace ;) I remove some of the page-section divs introduced by the previous patch and instead replace the 'container' classes with the new 'page-section class on existing divs. This brings the page-sections more in line with elsewhere in the codebase. I also update the 'h3' headings to 'h2' as we were somehow skipping that heading level page wide and update the final 'h4' heading to 'h2' to match the other section headings appropriately. Finally, I break up the top section more, using bg-info for the top block of instructions. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #19 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 143509 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143509&action=edit Bug 32028: (follow-up) Fix headings levels This patch corrects the headings levels on cash_registers, patron-attr-types and restrictions admin pages. We also move the h2 headings inside the page-section div as appropriate. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 --- Comment #20 from Lucas Gass <lucas@bywatersolutions.com> --- Cait and Martin, thanks for the follow-ups! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32028 Bug 32028 depends on bug 30952, which changed state. Bug 30952 Summary: New design for staff interface https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30952 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org