diff --git a/.gitignore b/.gitignore index 0320a9459..21aeaf7b0 100644 --- a/.gitignore +++ b/.gitignore @@ -20,37 +20,34 @@ erl_crash.dump # Also ignore archive artifacts (built via "mix archive.build"). *.ez +# Temporary files, for example, from tests. +/tmp/ + # Ignore package tarball (built via "mix hex.build"). skate-*.tar -# Ignore Storybook Logs -build-storybook.log +# Ignore assets that are produced by build tools. +/priv/static/ +## New Phoenix Assets Location +/priv/static/assets -# Ignore Chromatic Logs -chromatic.log +# Ignore digested assets cache. +/priv/static/cache_manifest.json -# If NPM crashes, it generates a log, let's ignore it too. +# In case you use Node.js/npm, you want to ignore these. npm-debug.log - -# The directory NPM downloads your dependencies sources to. -node_modules - -# Since we are building assets from assets/, -# we ignore priv/static. You may want to comment -# this depending on your deployment strategy. -/priv/static/ - -# Files matching config/*.secret.exs pattern contain sensitive -# data and you should not commit them into version control. -# -# Alternatively, you may comment the line below and commit the -# secrets files as long as you replace their contents by environment -# variables. -/config/*.secret.exs +/assets/node_modules/ # Self signed certificates to access Skate over HTTPS when developing /priv/cert/selfsigned*.pem +# Ignore Storybook Logs +build-storybook.log +assets/build-storybook.log + +# Ignore Chromatic Logs +chromatic.log + # dev and test cache files for faster loading *.terms @@ -58,4 +55,3 @@ node_modules .envrc.private .DS_Store -assets/build-storybook.log diff --git a/assets/css/nav/_top_nav.scss b/assets/css/nav/_top_nav.scss index ac2bf97fb..f5737ea6b 100644 --- a/assets/css/nav/_top_nav.scss +++ b/assets/css/nav/_top_nav.scss @@ -5,7 +5,7 @@ display: flex; justify-content: space-between; align-items: center; - padding: 0.75rem 1.5rem; + padding: 0; background-color: $color-gray-50; @@ -14,7 +14,6 @@ .c-top-nav__logo { width: 2.5rem; - height: 1.5rem; svg { width: 100%; @@ -23,14 +22,26 @@ } .c-top-nav__logo-icon { + &:not(.c-top-nav__logo-halloween-icon) { + margin-left: 1.5rem; + } svg { fill: $color-eggplant-900; } } +.c-top-nav__logo-halloween-icon { + background-color: #f4b347; + padding: 0 0.875rem; + @include media-breakpoint-up(lg) { + margin-left: 1.5rem; + } +} + .c-top-nav__right-items { display: flex; align-items: center; + padding-right: 1.5rem; :not(:last-child) { padding-right: 1.5rem; diff --git a/assets/src/components/detours/activateDetourModal.tsx b/assets/src/components/detours/activateDetourModal.tsx index f19bb24c3..4e87b51f5 100644 --- a/assets/src/components/detours/activateDetourModal.tsx +++ b/assets/src/components/detours/activateDetourModal.tsx @@ -66,7 +66,11 @@ const SurroundingModal = ({ Cancel {onActivate ? ( - ) : ( diff --git a/assets/src/components/detours/deactivateDetourModal.tsx b/assets/src/components/detours/deactivateDetourModal.tsx index 526365c03..3de119797 100644 --- a/assets/src/components/detours/deactivateDetourModal.tsx +++ b/assets/src/components/detours/deactivateDetourModal.tsx @@ -48,6 +48,7 @@ export const DeactivateDetourModal = ({ variant="ui-alert" onClick={onDeactivate} className="text-white" + data-fs-element="Confirm Return to Regular Route" > Return to regular route diff --git a/assets/src/components/detours/detourMap.tsx b/assets/src/components/detours/detourMap.tsx index 200385b36..2f3c81ab0 100644 --- a/assets/src/components/detours/detourMap.tsx +++ b/assets/src/components/detours/detourMap.tsx @@ -179,6 +179,7 @@ export const DetourMap = ({ onClick={onUndo} size="lg" title="Undo" + data-fs-element="Undo" > @@ -189,6 +190,7 @@ export const DetourMap = ({ onClick={onClear} size="lg" title="Clear" + data-fs-element="Clear" > diff --git a/assets/src/components/detours/detourPanelComponents.tsx b/assets/src/components/detours/detourPanelComponents.tsx index d2bc8328c..3528cebd6 100644 --- a/assets/src/components/detours/detourPanelComponents.tsx +++ b/assets/src/components/detours/detourPanelComponents.tsx @@ -99,6 +99,7 @@ export const CopyButton = ({ detourText }: { detourText: string }) => ( variant="outline-primary" size="sm" onClick={() => window.navigator.clipboard?.writeText(detourText)} + data-fs-element="Copy Details" > Copy details diff --git a/assets/src/components/detours/detourPanels/activeDetourPanel.tsx b/assets/src/components/detours/detourPanels/activeDetourPanel.tsx index 579fca95f..1a475e018 100644 --- a/assets/src/components/detours/detourPanels/activeDetourPanel.tsx +++ b/assets/src/components/detours/detourPanels/activeDetourPanel.tsx @@ -110,6 +110,7 @@ export const ActiveDetourPanel = ({ variant="ui-alert" className="flex-grow-1 m-3 icon-link text-light justify-content-center" onClick={onOpenDeactivateModal} + data-fs-element="Return to Regular Route" > Return to regular route diff --git a/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx b/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx index a098938d6..1148d2849 100644 --- a/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx +++ b/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx @@ -55,6 +55,7 @@ export const DetourFinishedPanel = ({ style={{ resize: "none", }} + data-fs-element="Detour Text" /> {connectionPoints && ( @@ -68,6 +69,7 @@ export const DetourFinishedPanel = ({