Skip to content

Update content, CSS and assets for TB guide#160

Open
sande11 wants to merge 2 commits intocrash-fixesfrom
content-fixes
Open

Update content, CSS and assets for TB guide#160
sande11 wants to merge 2 commits intocrash-fixesfrom
content-fixes

Conversation

@sande11
Copy link

@sande11 sande11 commented Mar 17, 2026

This pull request mainly focuses on updating chapter and section titles across several HTML and JSON files to improve clarity and consistency, as well as refining CSS styles for improved UI presentation and accessibility. The changes include renaming chapters to emphasize "prevention and control," updating terminology, adding a new chart entry, and making various CSS adjustments for tables, tooltips, and layout.

Chapter and Section Title Updates:

  • Updated chapter titles in chapter.json and corresponding HTML files from "TB Infection Control: Hospital Isolation Procedures" to "TB Infection Prevention and Control in Healthcare Facilities" for clarity and alignment with current terminology. [1] [2] [3] [4] [5] [6]
  • Changed section and chapter titles related to community TB from "Community Tuberculosis Control" to "Community Tuberculosis Prevention Control" in both JSON and HTML files. [1] [2] [3] [4] [5]
  • Updated chapter 12 title in chapter.json to more inclusive language: "Alternative Housing Program for Persons with TB Experiencing Homelessness in Georgia".

Content and Terminology Refinements:

  • Improved terminology in HTML content, such as replacing "infection control" with "infection prevention and control," and clarifying references to "active TB disease" and "current epidemiology." [1] [2] [3] [4]
  • Updated chart titles for clarity and added a new chart entry about factors to consider for empiric TB treatment in chart.json. [1] [2]

CSS and UI Enhancements:

  • Added and adjusted CSS rules for table layout, tooltip stacking order (z-index), and text wrapping to improve UI consistency and accessibility. [1] [2] [3] [4] [5]
  • Modified styling for highlight elements, including font size, width, height, and animation properties for better visual appearance. [1] [2]
  • Removed a specific tooltip adjustment in CSS that previously prevented content clipping for a particular table.

Content Structure Adjustment:

  • Moved explanatory notes about rapid identification techniques and NAA tests from list items to standalone paragraphs for improved readability in 11_community_tuberculosis_control__c__tb_case_definitions_for_public_health_surveillance.html.Multiple content and UI fixes across the app: updated chapter and section titles, copy edits, typo fixes and clarified wording in many HTML pages (including epidemiology references and tables). CSS tweaks to improve layout and tooltip visibility (header flex, table layout, white-space, animation, sizing, and z-index adjustments) and removal of obsolete tooltip overrides. Data updates to chapter.json and chart.json (chart title changes and a new figure entry) and added a diagnostic image asset. Also updated Kotlin DB/UI files (ChartDao, ChartAndSubChapter, MainFragment) and root_preferences.xml to reflect these changes.

sande11 added 2 commits March 17, 2026 12:47
Multiple content and UI fixes across the app: updated chapter and section titles, copy edits, typo fixes and clarified wording in many HTML pages (including epidemiology references and tables). CSS tweaks to improve layout and tooltip visibility (header flex, table layout, white-space, animation, sizing, and z-index adjustments) and removal of obsolete tooltip overrides. Data updates to chapter.json and chart.json (chart title changes and a new figure entry) and added a diagnostic image asset. Also updated Kotlin DB/UI files (ChartDao, ChartAndSubChapter, MainFragment) and root_preferences.xml to reflect these changes.
Add BuildConfig field DYNAMIC_LINK_DOMAIN for debug and release and update BodyFragment to use it when building Firebase dynamic links (replace hardcoded DOMAIN_LINK). Also make multiple content corrections across assets: prefix chart title with "Figure 1:", change 'Children less than 5 years' to 'Children less than 6 years' in two tables, hyphenate 'Drug-Susceptible' in a table title, clarify ART timing tooltip text for TB meningitis to require TB meningitis under control and at least two weeks of anti-TB treatment, and update pregnancy/PZA wording and minimum therapy duration for drug-susceptible TB. These are documentation/text fixes and a small runtime config change for dynamic links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet