feat: Add Chrome Network Monitor extension with popup UI and request handling

- Implemented popup.html for user interface with search functionality and request display.
- Developed popup.js to manage search items, matched requests, and clipboard operations.
- Created mergeConflictManager.js for automated git operations in specified repositories.
- Added projects.txt to maintain a list of relevant projects.
- Introduced pushReleaseBranches.js for managing release branches across multiple projects.
- Developed releasePrepper.js to prepare projects for release with branch management.
- Created stashUpdater.js to update git origins for projects.
- Added updatedProjects.txt to track projects that have been updated.
This commit is contained in:
Greg Jacobs
2026-01-26 16:18:42 -05:00
parent 6702f04050
commit f7d928506a
82 changed files with 9285 additions and 122 deletions

View File

@@ -0,0 +1,62 @@
@import "@bootstrap/scss/_functions.scss";
@function strip-unit($num) {
@return divide($num, $num * 0 + 1);
}
@function -zf-to-rem($value, $base: null) {
// Check if the value is a number
@if type-of($value) != "number" {
@if $unit-warnings {
@warn inspect($value) + ' was passed to rem-calc(), which is not a number.';
}
@return $value;
}
// Transform em into rem if someone hands over 'em's
@if unit($value) == "em" {
$value: strip-unit($value) * 1rem;
}
// Calculate rem if units for $value is not rem or em
@if unit($value) != "rem" {
$value: divide(strip-unit($value), strip-unit($base)) * 1rem;
}
// Turn 0rem into 0
@if $value == 0rem {
$value: 0;
}
@return $value;
}
@function rem-calc($values, $base: null) {
$rem-values: ();
$count: length($values);
// If no base is defined, defer to the global font size
@if $base == null {
$base: 1rem;
}
// If the base font size is a %, then multiply it by 16px
// This is because 100% font size = 16px in most all browsers
@if unit($base) == "%" {
$base: divide($base, 100%) * 16px;
}
// Using rem as base allows correct scaling
@if unit($base) == "rem" {
$base: strip-unit($base) * 16px;
}
@if $count == 1 {
@return -zf-to-rem($values, $base);
}
@for $i from 1 through $count {
$rem-values: append($rem-values, -zf-to-rem(nth($values, $i), $base));
}
@return $rem-values;
}