Skip to content

Conversation

@kargig
Copy link
Owner

@kargig kargig commented Jan 1, 2026

  • In the Gas Fill Price calculator, show the formula (Tank Size x Bars x Gas %) below the "Total O2 Needed" and "Total Helium Needed" labels.
  • Compact the layout of all calculators (MOD, Best Mix, Gas Fill Price, Gas Planning, Min Gas, SAC Rate, Weight) on mobile devices by reducing padding, margins, and font sizes.
  • Optimize result boxes with responsive text sizing to prevent overflow on small screens.
  • In Best Mix Calculator, restrict the maximum depth slider based on pO2 limit when Trimix is disabled to prevent hypoxic mixes.
  • Added showSwitchMode prop to GasTanksInput and hid mode switching buttons when used within planning tools (Weight and Tank Buoyancy).
  • Refactored AdvancedDiveProfileChart.js to reduce complexity, added PropTypes, and resolved numerous linting and accessibility warnings.
  • Fixed over 400 lint warnings across multiple components including SocialMediaIcons.js, StickyFilterBar.js, WindOverlay.js, WeightCalculator.js, GasTanksInput.js, GasMixInput.js, FormField.js, Combobox.js, and several Admin tables.
  • Improved accessibility by associating labels with controls, adding keyboard interactions to sortable table headers, and ensuring interactive elements are accessible.
  • Optimized StickyFilterBar.js using useMemo and removed unused imports and console statements throughout the codebase.

…sive linting fixes

- In the Gas Fill Price calculator, show the formula (Tank Size x Bars x Gas %) below the "Total O2 Needed" and "Total Helium Needed" labels.
- Compact the layout of all calculators (MOD, Best Mix, Gas Fill Price, Gas Planning, Min Gas, SAC Rate, Weight) on mobile devices by reducing padding, margins, and font sizes.
- Optimize result boxes with responsive text sizing to prevent overflow on small screens.
- In Best Mix Calculator, restrict the maximum depth slider based on pO2 limit when Trimix is disabled to prevent hypoxic mixes.
- Added `showSwitchMode` prop to `GasTanksInput` and hid mode switching buttons when used within planning tools (Weight and Tank Buoyancy).
- Refactored `AdvancedDiveProfileChart.js` to reduce complexity, added PropTypes, and resolved numerous linting and accessibility warnings.
- Fixed over 400 lint warnings across multiple components including `SocialMediaIcons.js`, `StickyFilterBar.js`, `WindOverlay.js`, `WeightCalculator.js`, `GasTanksInput.js`, `GasMixInput.js`, `FormField.js`, `Combobox.js`, and several Admin tables.
- Improved accessibility by associating labels with controls, adding keyboard interactions to sortable table headers, and ensuring interactive elements are accessible.
- Optimized `StickyFilterBar.js` using `useMemo` and removed unused imports and console statements throughout the codebase.
@kargig kargig merged commit 6735cad into main Jan 1, 2026
1 check passed
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.

2 participants