Skip to content

Commit

Permalink
Merge pull request #509 from NASA-IMPACT/develop
Browse files Browse the repository at this point in the history
[prod] revert UI to 5.11.2
  • Loading branch information
hanbyul-here authored Dec 17, 2024
2 parents 6809965 + ac836e7 commit ddafd67
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
55 changes: 55 additions & 0 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Preview build with VEDA UI

on:
workflow_dispatch:
inputs:
VERSION_NUMBER:
type: string
repository_dispatch:
types: [update-version]

permissions:
contents: write
pull-requests: write

jobs:
makepr:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
ref: ${{ github.event.client_payload.ref }}
fetch-depth: 0
- name: Use Node.js ${{ env.NODE }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE }}

- name: Set Version Variable
id: set-version
run: echo "VERSION=${{ github.event.client_payload.VERSION_NUMBER || inputs.VERSION_NUMBER }}" >> $GITHUB_ENV

- name: git config
shell: bash
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Update Submodule
shell: bash
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
cd ./.veda/ui
git fetch --tags
git checkout ${{ env.VERSION }}
cd -
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "Update UI to ${{ env.VERSION }}"
title: "ci: Update submodule to version ${{ env.VERSION }}"
body: "This is an automatic PR that updates the submodule to version `${{ env.VERSION }}`."
base: develop
branch: ci-update-${{ env.VERSION }}
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 71 files
+0 −2 .env
+0 −15 .github/workflows/conventional-commit.yml
+0 −32 .github/workflows/release.yml
+0 −29 .release-it.json
+5 −2 .stylelintrc.json
+1 −4 .vscode/settings.json.sample
+3 −4 app/scripts/components/common/catalog/catalog-card.tsx
+5 −0 app/scripts/components/common/catalog/catalog-content.tsx
+2 −3 app/scripts/components/common/catalog/filters-control.tsx
+3 −0 app/scripts/components/common/catalog/index.tsx
+5 −109 app/scripts/components/common/cookie-consent/index.tsx
+47 −2 app/scripts/components/common/google-form.tsx
+1 −1 app/scripts/components/common/layout-root/index.tsx
+8 −16 app/scripts/components/common/map/style-generators/raster-paint-layer.tsx
+1 −4 app/scripts/components/common/map/style-generators/raster-timeseries.tsx
+0 −1 app/scripts/components/common/map/types.d.ts
+0 −217 app/scripts/components/common/nasa-logo-color.js
+8 −23 app/scripts/components/common/nav-wrapper.js
+0 −360 app/scripts/components/common/page-header-legacy/index.tsx
+0 −248 app/scripts/components/common/page-header-legacy/nav-menu-item.tsx
+36 −69 app/scripts/components/common/page-header/default-config.ts
+315 −72 app/scripts/components/common/page-header/index.tsx
+31 −0 app/scripts/components/common/page-header/logo-container.tsx
+0 −49 app/scripts/components/common/page-header/logo-container/index.tsx
+0 −45 app/scripts/components/common/page-header/logo-container/styles.scss
+0 −0 app/scripts/components/common/page-header/logo.tsx
+171 −0 app/scripts/components/common/page-header/nav-menu-item.tsx
+0 −48 app/scripts/components/common/page-header/nav/create-dynamic-nav-menu-list.tsx
+0 −53 app/scripts/components/common/page-header/nav/nav-dropdown-button.tsx
+0 −38 app/scripts/components/common/page-header/nav/nav-item-cta.tsx
+0 −53 app/scripts/components/common/page-header/nav/nav-item-links.tsx
+0 −72 app/scripts/components/common/page-header/page-header.test.tsx
+0 −25 app/scripts/components/common/page-header/styles.scss
+15 −19 app/scripts/components/common/page-header/types.ts
+0 −42 app/scripts/components/common/page-header/use-mobile-menu-fix.ts
+0 −6 app/scripts/components/common/uswds/header/extended-nav.tsx
+0 −10 app/scripts/components/common/uswds/header/index.tsx
+0 −6 app/scripts/components/common/uswds/header/menu.tsx
+0 −6 app/scripts/components/common/uswds/header/nav-drop-down-button.tsx
+0 −6 app/scripts/components/common/uswds/header/nav-menu-button.tsx
+0 −4 app/scripts/components/common/uswds/index.tsx
+0 −10 app/scripts/components/common/uswds/input.tsx
+3 −0 app/scripts/components/data-catalog/container.tsx
+0 −12 app/scripts/components/exploration/atoms/hooks.ts
+1 −0 app/scripts/components/exploration/components/dataset-selector-modal/index.tsx
+0 −71 app/scripts/components/exploration/components/datasets/colorRangeSlider/color-range-slider.scss
+0 −99 app/scripts/components/exploration/components/datasets/colorRangeSlider/colorRangeSlider.spec.tsx
+0 −329 app/scripts/components/exploration/components/datasets/colorRangeSlider/index.tsx
+0 −81 app/scripts/components/exploration/components/datasets/colorRangeSlider/utils.tsx
+27 −99 app/scripts/components/exploration/components/datasets/colormap-options.tsx
+41 −84 app/scripts/components/exploration/components/datasets/data-layer-card.tsx
+7 −24 app/scripts/components/exploration/components/datasets/dataset-list-item.tsx
+1 −4 app/scripts/components/exploration/components/map/layer.tsx
+1 −7 app/scripts/components/exploration/types.d.ts.ts
+1 −3 app/scripts/components/home/index.tsx
+2 −0 app/scripts/index.ts
+17 −20 app/scripts/styles/_uswds-theme.scss
+0 −33 app/scripts/styles/_veda-ui-theme-vars.scss
+12 −11 app/scripts/styles/styles.scss
+1 −1 app/scripts/styles/theme.ts
+0 −59 app/scripts/utils/use-pathname.ts
+2 −1 app/scripts/utils/utils.ts
+0 −29 docs/content/CONFIGURATION.md
+0 −18 jest-transformer-mdx.js
+1 −3 jest.config.js
+0 −11 jest.setup.js
+5 −43 mock/veda.config.js
+6 −10 package.json
+7 −5 parcel-resolver-veda/index.d.ts
+1 −3 parcel-resolver-veda/index.js
+454 −1,733 yarn.lock

0 comments on commit ddafd67

Please sign in to comment.