Skip to content
Merged

Dev #168

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a6ec05a
refactor:updated file format to show file format of cms
AishDani Jun 27, 2024
97ac8c7
refactor:legacy cms bugs
AishDani Jun 27, 2024
c43ad23
Merge branch 'dev' of github.com:contentstack/migration-v2-node-serve…
AishDani Jun 27, 2024
44e5b20
added profile card
RohitKini Jul 2, 2024
4d7423d
added profile card
RohitKini Jul 2, 2024
cc89f4a
Merge pull request #163 from contentstack/feature/profile-design
sreeneshkini Jul 2, 2024
f861ca5
Done functionality fixes for existing content type mapping
sayalijoshi27 Jul 2, 2024
2203b2f
Merge pull request #164 from contentstack/feature/CMG-57
v1shalpatel Jul 3, 2024
417515d
Content Type status modified functionality
sayalijoshi27 Jul 3, 2024
ce6b331
Removed code for search fieldsmapping as per content type
sayalijoshi27 Jul 4, 2024
00058d3
refactor:legacy cms bugs
AishDani Jul 4, 2024
9dab0fc
Merge pull request #165 from contentstack/feature/CMG-57
v1shalpatel Jul 4, 2024
a45ee93
Merge branch 'dev' of github.com:contentstack/migration-v2-node-serve…
AishDani Jul 4, 2024
9b64a54
Merge branch 'dev' of github.com:contentstack/migration-v2-node-serve…
AishDani Jul 4, 2024
1867387
refactor:resolved legacy cms bugs
AishDani Jul 4, 2024
9e4653c
refactor:removed search from getAllProject api
AishDani Jul 4, 2024
0765dfc
Merge pull request #166 from contentstack/feature/legacy-cms
v1shalpatel Jul 4, 2024
3bec73b
added destination bugs
snehalsankhe Jul 4, 2024
ec50c84
merged from dev
snehalsankhe Jul 4, 2024
690c223
Merge pull request #167 from contentstack/layout-changes
v1shalpatel Jul 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed code for search fieldsmapping as per content type
  • Loading branch information
sayalijoshi27 committed Jul 4, 2024
commit ce6b33197bb5e16f88a6bdae70c1e40e69814b00
3 changes: 0 additions & 3 deletions ui/src/components/ContentMapper/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,9 @@
.ct-list {
border-right: 1px solid $color-brand-secondary-lightest;
list-style-type: none;
// margin: 0 0 0 $px-12;
padding: 15px 0 15px 0;
li {
align-items: center;
// border: 1px solid transparent;
cursor: pointer;
display: flex;
font-size: $size-font-xl;
Expand All @@ -75,7 +73,6 @@
padding: $px-8 $px-4 $px-8 $px-12;
&:hover, &.active-ct {
background-color: $color-brand-white-base;
// border: 1px solid $color-brand-primary-base;
.cms-title {
span {
color: $color-brand-primary-base;
Expand Down
8 changes: 1 addition & 7 deletions ui/src/components/ContentMapper/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -277,15 +277,10 @@ const ContentMapper = () => {

setContentTypes(data?.contentTypes);
setFilteredContentTypes(data?.contentTypes);
// setSelectedContentType(data?.contentTypes?.[0]);
// setTotalCounts(data?.contentTypes?.[0]?.fieldMapping?.length);
// setOtherCmsTitle(data?.contentTypes?.[0]?.otherCmsTitle);
// setContentTypeUid(data?.contentTypes?.[0]?.id);
// fetchFields(data?.contentTypes[0]?.id, searchText || '');
};

// Method to get fieldmapping
const fetchFields = async (contentTypeId: string | '', searchText: string) => {
const fetchFields = async (contentTypeId: string, searchText: string) => {
const { data } = await getFieldMapping(contentTypeId, 0, 30, searchText || '');

try {
Expand Down Expand Up @@ -603,7 +598,6 @@ const ContentMapper = () => {
'CheckBox': 'enum'
};
const OptionsForRow: optionsType[] = [];
// let ContentTypeSchema: ContentTypesSchema | undefined;

if (OtherContentType?.label && contentTypesList) {
const ContentType: any = contentTypesList?.find(
Expand Down