Skip to content

Conversation

@sandrahoang686
Copy link
Collaborator

@netlify
Copy link

netlify bot commented Feb 27, 2025

Deploy Preview for veda-ui-next-test ready!

Name Link
🔨 Latest commit 9e33ebd
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui-next-test/deploys/67c0f2916c2f150007253f1b
😎 Deploy Preview https://deploy-preview-52--veda-ui-next-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sandrahoang686 sandrahoang686 changed the title Update data catalog [DO NOT MERGE] Update data catalog Feb 27, 2025
sandrahoang686 added a commit to NASA-IMPACT/veda-ui that referenced this pull request Mar 10, 2025
…og (#1479)

**Related Ticket:** #1453
**Related PRs:** NASA-IMPACT/next-veda-ui#52

https://deploy-preview-1479--veda-ui.netlify.app/data-catalog
https://deploy-preview-1479--veda-ui.netlify.app/sandbox/cards

### Description of Changes
* Added a `BaseCard` component where `FlagCard` and `DefaultCard` extend
off of
   * BaseCard Attributes to be used across cards
* Created Fork of `CatalogContent` where we can start migrating
components over to USWDS and renamed old one to `CatalogContentLegacy`.
   * This is FF
* Updated ** - Exposed `CatalogContent` instead of `CatalogView`,
updates reflected in connected NextJs PR
* Added `Tags` component from USWDS
* Added draft documentation of the components we are starting to expose
from the library with props, I created this for now because we gotta
start documenting this somewhere but we can figure out where and how
best to document later
* Added both card types to `/sandbox/cards` because right now we dont
have a storybook(esque) implemented but right now, it looked like a fine
enough place to showcase

**What this doesn't do:**
* DataSelectorModal isn't updated but uses the old view, @faustoperez
will work on the designs for that so a separate ticket will follow
* Card Accessibility states to be implemented as part of this ticket
#1481

### Notes & Questions About Changes
* `FlagCard` and `DefaultCard` can be exposed as is, if exposed as is,
they dont have the wrapping routing logic wrapped around it which makes
it behave as a button. If the wrapping routing logic is wanted. The
`Card` Component which is our wrapper to support current routing logic
could be exposed and used where type `FLAG-LAYOUT` would be passed in.
Users can decide.

### Validation / Testing
* Validate that the Feature Flagging works `ENABLE_USWDS_DATA_CATALOG`
* Validate when enabled...
   * DataCatalog Cards look correct
   * Entire card behaves like a button
   * The Card routes correctly
* Validate that the DataSelectorModal is still the same as originally
since nothing should have changed with its look or behavior

_____
  Self Validation Loom Walkthrough (recommended to watch @1.5x)

https://www.loom.com/share/c52aa4227651422dbac9554a744f2aa8?sid=3ac71fca-189f-42ce-856c-0104ee6703c7
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