Skip to content

Conversation

@purnimagarg1
Copy link
Collaborator

@purnimagarg1 purnimagarg1 commented May 30, 2025

@github-actions github-actions bot added the product PR or Issue related to the DataHub UI/UX label May 30, 2025
@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label May 30, 2025
@alwaysmeticulous
Copy link

alwaysmeticulous bot commented May 30, 2025

✅ Meticulous spotted visual differences in 50 of 1493 screens tested, but all differences have already been approved: view differences detected.

Meticulous evaluated ~8 hours of user flows against your PR.

Last updated for commit dc8a9b6. This comment will update as new commits are pushed.

@purnimagarg1 purnimagarg1 force-pushed the CH-372-empty-loading-state-ingestion-table branch from aa69369 to 3feee4f Compare May 30, 2025 15:22
@purnimagarg1 purnimagarg1 force-pushed the CH-358-add-owners-in-create-edit-ingestion branch from c528f70 to a95d281 Compare May 30, 2025 15:31
@codecov
Copy link

codecov bot commented May 30, 2025

Bundle Report

Changes will decrease total bundle size by 347 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
datahub-react-web-esm 19.66MB -347 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: datahub-react-web-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/index-*.js -347 bytes 16.03MB -0.0%

Files in assets/index-*.js:

  • ./src/app/ingest/source/builder/types.ts → Total Size: 40 bytes

  • ./src/app/ingestV2/source/IngestionSourceList.tsx → Total Size: 15.07kB

  • ./src/app/ingestV2/source/builder/IngestionSourceBuilderModal.tsx → Total Size: 3.66kB

  • ./src/app/sharedV2/owners/OwnersSection.tsx → Total Size: 4.88kB

  • ./src/app/ingest/source/builder/NameSourceStep.tsx → Total Size: 10.4kB

  • ./src/app/tags/ManageTag.tsx → Total Size: 6.05kB

  • ./src/app/ingestV2/source/IngestionSourceTable.tsx → Total Size: 2.73kB

  • ./src/app/ingestV2/source/IngestionSourceTableColumns.tsx → Total Size: 5.61kB

  • ./src/app/ingestV2/source/builder/types.ts → Total Size: 38 bytes

  • ./src/app/ingest/source/IngestionSourceList.tsx → Total Size: 15.44kB

  • ./src/app/ingest/source/builder/IngestionSourceBuilderModal.tsx → Total Size: 4.26kB

  • ./src/app/ingestV2/source/builder/NameSourceStep.tsx → Total Size: 10.59kB

  • ./src/app/tags/CreateNewTagModal/CreateNewTagModal.tsx → Total Size: 3.01kB

Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm i noticed a few things when testing this PR locally:

  1. the modal appears further down the screen than it was and the bottom of the modal has no rounded edges?
image

Because of that it looks like on step two the modal is getting cut off, just different than how it behaved before and feels off:
image

  1. Can we make "Name" and "Owners" consistent in styling? Also, anna asked us to move the red asterisk to be after "Name" and not before
image

variables: {
input: {
owners,
resources: [{ resourceUrn: newSource.urn }],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i hope newSource.urn is always the urn of the newly created source instwad of PLACEHOLDER_URN - i think that should be the case right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes. I suppose PLACEHOLDER_URN must have been added as a fallback for null cases. But if createIngestionSource returns an urn, this will that urn only.

@datahub-cyborg datahub-cyborg bot added pending-submitter-response Issue/request has been reviewed but requires a response from the submitter and removed needs-review Label for PRs that need review from a maintainer. labels May 30, 2025
Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i also don't see the owners show up on a source when i go to edit if i'd previously added owners. maybe you're not expecting that in this PR but wanted to call it out

Base automatically changed from CH-372-empty-loading-state-ingestion-table to master May 31, 2025 00:44
@purnimagarg1
Copy link
Collaborator Author

i also don't see the owners show up on a source when i go to edit if i'd previously added owners. maybe you're not expecting that in this PR but wanted to call it out

this was dependent on another PR of Victor's that had backend changes to add ownership in ingestion sources. Since that is merged now, we can see the existing owners in the modal.

@purnimagarg1
Copy link
Collaborator Author

Updated screenshots:

image

image

@purnimagarg1 purnimagarg1 changed the title feat(ingestion): add owners in create/edit ingestion source feat(ingestion): add owners in create/edit ingestion source and show owners in ingestion table Jun 2, 2025
@datahub-cyborg datahub-cyborg bot added needs-review Label for PRs that need review from a maintainer. and removed pending-submitter-response Issue/request has been reviewed but requires a response from the submitter labels Jun 2, 2025
Copy link
Collaborator

@chriscollins3456 chriscollins3456 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool beans here - one request to be done in a followup to do a debounce

Comment on lines 126 to 127
if (text && text.trim().length > 0) {
autoCompleteQuery({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! can we add a debounce here so we don't trigger a new api call with every key stroke?

@chriscollins3456
Copy link
Collaborator

looks like we have a failing related test src/app/ingestV2/source/builder/__tests__/NameSourceStep.test.tsx

@datahub-cyborg datahub-cyborg bot added pending-submitter-merge and removed needs-review Label for PRs that need review from a maintainer. labels Jun 2, 2025
@codecov
Copy link

codecov bot commented Jun 2, 2025

@purnimagarg1
Copy link
Collaborator Author

Add Owners in ingestV1:

image

@chriscollins3456 chriscollins3456 merged commit 65ae48e into master Jun 4, 2025
31 of 33 checks passed
@chriscollins3456 chriscollins3456 deleted the CH-358-add-owners-in-create-edit-ingestion branch June 4, 2025 15:35
kartikey-visa pushed a commit to kartikey-visa/datahub that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-submitter-merge product PR or Issue related to the DataHub UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants