Skip to content

Json to ts for tags page - #678

Merged
darth-coder00 merged 6 commits into
open-metadata:mainfrom
ShaileshParmar11:json-to-ts
Oct 6, 2021
Merged

darth-coder00 merged 6 commits into
open-metadata:mainfrom
ShaileshParmar11:json-to-ts

Conversation

@ShaileshParmar11

Copy link
Copy Markdown
Contributor

Describe your changes :

JSON to TS type change for tags page

Type of change :

  • Bug fix
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Frontend Preview (Screenshots) :

Checklist:

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my own.
  • I have tagged my reviewers below.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

Frontend: @shahsank3t, @darth-coder00, @Sachin-chaurasiya

name: '',
description: '',
categoryType: 'Descriptive',
categoryType: TagCategoryType.Descriptive,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

import { EntityReference as UserTeams } from '../generated/entity/teams/user';
import { countBackground } from './styleconstant';

type UserTeam = {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is done in multiple places, we can find some way to put it in one place

import { getCategory, getTags } from '../axiosAPIs/tagAPI';
import { TagsCategory } from '../pages/tags/tagsTypes';
import { TagCategory, TagClass } from '../generated/entity/tags/tagCategory';
// import { TagsCategory } from '../pages/tags/tagsTypes';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Don't add new commented lines

@darth-coder00 darth-coder00 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Added few comments

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