Skip to content

Rename dataset as asset in UI - #43073

Merged
Lee-W merged 18 commits into
apache:mainfrom
astronomer:rename-dataset-as-asset-in-ui
Oct 23, 2024
Merged

Rename dataset as asset in UI#43073
Lee-W merged 18 commits into
apache:mainfrom
astronomer:rename-dataset-as-asset-in-ui

Conversation

@Lee-W

@Lee-WLee-W commented Oct 16, 2024

Copy link
Copy Markdown
Member

As part of #42307


Rename DagRunTriggeredByType.DATASET as DagRunTriggeredByType.ASSET and all the name dataset in all the UI components to asset.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborgboring-cyborgBot added area:API Airflow's REST/HTTP API area:db-migrations PRs with DB migration area:Scheduler including HA (high availability) scheduler area:serialization area:UI Related to UI/UX. For Frontend Developers. labels Oct 16, 2024
@Lee-WLee-W added legacy ui Whether legacy UI change should be allowed in PR legacy api Whether legacy API changes should be allowed in PR labels Oct 16, 2024
@Lee-W
Lee-Wforce-pushed the rename-dataset-as-asset-in-ui branch from 6bd7966 to 1513aceCompareOctober 16, 2024 11:23
@Lee-WLee-W mentioned this pull request Oct 16, 2024
2 tasks
@Lee-W
Lee-Wforce-pushed the rename-dataset-as-asset-in-ui branch 12 times, most recently from cbaedd7 to aad1ea8CompareOctober 21, 2024 10:46
@Lee-W
Lee-W marked this pull request as ready for review October 21, 2024 10:47
@Lee-W
Lee-Wforce-pushed the rename-dataset-as-asset-in-ui branch from 28f27b2 to 6ccd484CompareOctober 22, 2024 09:34
@bbovenzi

Copy link
Copy Markdown
Contributor

Would the backend not also have issues with backporting changes to 2.10/11?

I do agree that much of this work isn't necessary because we will be removing the /api_connexion, and /www directories. It wasn't just confusing to mix "asset" and "datasets" in the codebase, it did introduce a few bugs. So I am ok with swapping everything over for consistency's sake.

@Lee-W

Copy link
Copy Markdown
MemberAuthor

Would the backend not also have issues with backporting changes to 2.10/11?

Yep, whenever I need to do that kind of change, I just did them in separate branch instead of just backporting the merged commit.

I do agree that much of this work isn't necessary because we will be removing the /api_connexion, and /www directories. It wasn't just confusing to mix "asset" and "datasets" in the codebase, it did introduce a few bugs. So I am ok with swapping everything over for consistency's sake.

Thanks for confirming. If it actually introduced bugs, I think it's better to just change it in main. I'll go ahead and merge it

@Lee-WLee-W added the airflow3.0:breaking Candidates for Airflow 3.0 that contain breaking changes label Oct 23, 2024
@Lee-W
Lee-W merged commit d186d3f into apache:mainOct 23, 2024
@Lee-W
Lee-W deleted the rename-dataset-as-asset-in-ui branch October 23, 2024 06:16
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
* feat(airflow/www): rename DatasetEventCard as AssetEventCard
* feat(airflow/www): rename DatasetUpdateEvents as AssetUpdateEvents
* feat(airflow/www): rename DatasetTriggerEvents as AssetTriggerEvents
* feat(airflow/www): rename DatasetNode as AssetNode
* feat(airflow/www): rename getUpstreamDatasets as getUpstreamAssets
* feat(airflow/www): rename DatasetDependencies as AssetDependencies
* feat(airflow/www): rename upstreamDatasetEdges as upstreamAssetEdges
* feat(airflow/www): rename DatasetListItem as AssetListItem
* feat(airflow/www): rename DatasetGraph as AssetGraph
* feat(airflow/www): rename DatasetsData as AssetsData
* feat(airflow/www): rename dataset as asset in ts* files
* feat(airflow): rename airflow/www/static/js/datasets/ as airflow/www/static/js/assets
* feat(airflow/www): rename dataset as asset in js files
* feat(airflow/www): rename dataset as asset in html files
* test(www): rename test_views_dataset as test_views_asset
* feat: rename dataset as asset in other files
* docs: update screenshots
* docs: add newsfragment
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this pull request Oct 24, 2024
* feat(airflow/www): rename DatasetEventCard as AssetEventCard
* feat(airflow/www): rename DatasetUpdateEvents as AssetUpdateEvents
* feat(airflow/www): rename DatasetTriggerEvents as AssetTriggerEvents
* feat(airflow/www): rename DatasetNode as AssetNode
* feat(airflow/www): rename getUpstreamDatasets as getUpstreamAssets
* feat(airflow/www): rename DatasetDependencies as AssetDependencies
* feat(airflow/www): rename upstreamDatasetEdges as upstreamAssetEdges
* feat(airflow/www): rename DatasetListItem as AssetListItem
* feat(airflow/www): rename DatasetGraph as AssetGraph
* feat(airflow/www): rename DatasetsData as AssetsData
* feat(airflow/www): rename dataset as asset in ts* files
* feat(airflow): rename airflow/www/static/js/datasets/ as airflow/www/static/js/assets
* feat(airflow/www): rename dataset as asset in js files
* feat(airflow/www): rename dataset as asset in html files
* test(www): rename test_views_dataset as test_views_asset
* feat: rename dataset as asset in other files
* docs: update screenshots
* docs: add newsfragment
@Lee-WLee-W self-assigned this Oct 28, 2024
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* feat(airflow/www): rename DatasetEventCard as AssetEventCard
* feat(airflow/www): rename DatasetUpdateEvents as AssetUpdateEvents
* feat(airflow/www): rename DatasetTriggerEvents as AssetTriggerEvents
* feat(airflow/www): rename DatasetNode as AssetNode
* feat(airflow/www): rename getUpstreamDatasets as getUpstreamAssets
* feat(airflow/www): rename DatasetDependencies as AssetDependencies
* feat(airflow/www): rename upstreamDatasetEdges as upstreamAssetEdges
* feat(airflow/www): rename DatasetListItem as AssetListItem
* feat(airflow/www): rename DatasetGraph as AssetGraph
* feat(airflow/www): rename DatasetsData as AssetsData
* feat(airflow/www): rename dataset as asset in ts* files
* feat(airflow): rename airflow/www/static/js/datasets/ as airflow/www/static/js/assets
* feat(airflow/www): rename dataset as asset in js files
* feat(airflow/www): rename dataset as asset in html files
* test(www): rename test_views_dataset as test_views_asset
* feat: rename dataset as asset in other files
* docs: update screenshots
* docs: add newsfragment
@Lee-WLee-W mentioned this pull request Nov 18, 2024
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

airflow3.0:breakingCandidates for Airflow 3.0 that contain breaking changesarea:APIAirflow's REST/HTTP APIarea:db-migrationsPRs with DB migrationarea:Schedulerincluding HA (high availability) schedulerarea:serializationarea:UIRelated to UI/UX. For Frontend Developers.legacy apiWhether legacy API changes should be allowed in PRlegacy uiWhether legacy UI change should be allowed in PR

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants

@Lee-W@bbovenzi@jscheffl