Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Job Proposal Plugin #7750

Merged
merged 26 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
514e695
feat(plugin): job proposal template plugin basic structure
rahul-rocket Apr 11, 2024
3151431
Merge branch 'develop' into feat/job-proposals-plugin
rahul-rocket Apr 12, 2024
bda9776
feat(wip): job proposals plugins structure
rahul-rocket Apr 12, 2024
91fc063
Merge branch 'feat/job-proposals-plugin' into feat/custom-entity-fields
rahul-rocket Apr 12, 2024
f8896e8
Merge pull request #7742 from ever-co/feat/custom-entity-fields
rahul-rocket Apr 12, 2024
86c7ce4
fix: duplicate identifier 'ApiProperty'
rahul-rocket Apr 12, 2024
b0979b2
feat: proposal update command handler
rahul-rocket Apr 13, 2024
ccdd9ff
fix: proposal module moved on plugin folder
rahul-rocket Apr 13, 2024
7965587
Revert "fix: proposal module moved on plugin folder"
rahul-rocket Apr 13, 2024
e1492ca
fix: missing proposal update command handler
rahul-rocket Apr 13, 2024
7970d7d
feat: custom fields proposals for tag entity
rahul-rocket Apr 13, 2024
6f001ff
feat: job proposals build command
rahul-rocket Apr 13, 2024
db68ffe
Merge branch 'develop' into feat/job-proposals-plugin
rahul-rocket Apr 13, 2024
7f70104
Merge branch 'develop' into feat/job-proposals-plugin
rahul-rocket Apr 13, 2024
8f1c252
Merge branch 'develop' into feat/job-proposals-plugin
rahul-rocket Apr 13, 2024
7f65995
fix: cannot find module '@core/entities/internal'
rahul-rocket Apr 13, 2024
01f7668
Merge branch 'develop' into feat/job-proposals-plugin
rahul-rocket Apr 16, 2024
5ee9840
feat(wip): job proposal plugins structure
rahul-rocket Apr 16, 2024
6ed5def
fix: missing proposal seeder service & module for plugin
rahul-rocket Apr 16, 2024
9e11188
feat(migration): alter custom fields for tag [table]
rahul-rocket Apr 16, 2024
0a8dcef
fix: proposal module moved on plugin folder
rahul-rocket Apr 16, 2024
779dba8
fix: removed console
rahul-rocket Apr 16, 2024
df0ae99
feat: job proposal plugin include in API
rahul-rocket Apr 16, 2024
1871831
fix: proposal template module moved on proposal plugin folder
rahul-rocket Apr 16, 2024
b65dfef
fix: job proposal plugin seedable
rahul-rocket Apr 17, 2024
35c8e65
fix(deepscan): removed unused import
rahul-rocket Apr 17, 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
4 changes: 2 additions & 2 deletions .deploy/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ COPY --chown=node:node packages/plugins/product-reviews/package.json ./packages/
COPY --chown=node:node packages/plugins/knowledge-base/package.json ./packages/plugins/knowledge-base/
COPY --chown=node:node packages/plugins/changelog/package.json ./packages/plugins/changelog/
COPY --chown=node:node packages/plugins/job-search/package.json ./packages/plugins/job-search/
COPY --chown=node:node packages/plugins/job-proposal-template/package.json ./packages/plugins/job-proposal-template/
COPY --chown=node:node packages/plugins/job-proposal/package.json ./packages/plugins/job-proposal/

# We do not build here Wakatime plugin, because it used in Desktop Apps for now
# COPY --chown=node:node packages/plugins/integration-wakatime/package.json ./packages/plugins/integration-wakatime/
Expand Down Expand Up @@ -218,7 +218,7 @@ COPY --chown=node:node packages/plugins/product-reviews/package.json ./packages/
COPY --chown=node:node packages/plugins/knowledge-base/package.json ./packages/plugins/knowledge-base/
COPY --chown=node:node packages/plugins/changelog/package.json ./packages/plugins/changelog/
COPY --chown=node:node packages/plugins/job-search/package.json ./packages/plugins/job-search/
COPY --chown=node:node packages/plugins/job-proposal-template/package.json ./packages/plugins/job-proposal-template/
COPY --chown=node:node packages/plugins/job-proposal/package.json ./packages/plugins/job-proposal/

# We do not build here Wakatime plugin, because it used in Desktop Apps for now
# COPY --chown=node:node packages/plugins/integration-wakatime/package.json ./packages/plugins/integration-wakatime/
Expand Down
2 changes: 1 addition & 1 deletion .deploy/webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ COPY --chown=node:node packages/plugins/job-search/package.json ./packages/plugi
COPY --chown=node:node packages/plugins/product-reviews/package.json ./packages/plugins/product-reviews/
COPY --chown=node:node packages/plugins/knowledge-base/package.json ./packages/plugins/knowledge-base/
COPY --chown=node:node packages/plugins/changelog/package.json ./packages/plugins/changelog/
COPY --chown=node:node packages/plugins/job-proposal-template/package.json ./packages/plugins/job-proposal-template/
COPY --chown=node:node packages/plugins/job-proposal/package.json ./packages/plugins/job-proposal/

# We do not build here Wakatime plugin, because it used in Desktop Apps for now
# COPY --chown=node:node packages/plugins/integration-wakatime/package.json ./packages/plugins/integration-wakatime/
Expand Down
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@gauzy/changelog-plugin": "^0.1.0",
"@gauzy/core": "^0.1.0",
"@gauzy/jitsu-analytics-plugin": "^0.1.0",
"@gauzy/job-proposal-template-plugin": "^0.1.0",
"@gauzy/job-proposal-plugin": "^0.1.0",
"@gauzy/job-search-plugin": "^0.1.0",
"@gauzy/knowledge-base-plugin": "^0.1.0",
"@gauzy/sentry-plugin": "^0.1.0",
Expand Down
8 changes: 4 additions & 4 deletions apps/api/src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { ChangelogPlugin } from '@gauzy/changelog-plugin';
import { JitsuAnalyticsPlugin } from '@gauzy/jitsu-analytics-plugin';
import { KnowledgeBasePlugin } from '@gauzy/knowledge-base-plugin';
import { JobSearchPlugin } from '@gauzy/job-search-plugin';
import { JobProposalTemplatePlugin } from '@gauzy/job-proposal-template-plugin';
import { JobProposalPlugin } from '@gauzy/job-proposal-plugin';
import { SentryTracing as SentryPlugin } from './sentry';

const { jitsu, sentry } = environment;
Expand All @@ -27,8 +27,8 @@ export const plugins = [
ChangelogPlugin,
// Indicates the inclusion or intention to use the KnowledgeBasePlugin in the codebase.
KnowledgeBasePlugin,
// Indicates the inclusion or intention to use the JobProposalPlugin in the codebase.
JobProposalPlugin,
// Indicates the inclusion or intention to use the JobSearchPlugin in the codebase.
JobSearchPlugin,
// Indicates the inclusion or intention to use the JobProposalTemplatePlugin in the codebase.
JobProposalTemplatePlugin
JobSearchPlugin
];
4 changes: 2 additions & 2 deletions apps/desktop/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"../../../packages/plugins/jitsu-analytics",
"../../../packages/plugins/sentry-tracing",
"../../../packages/plugins/job-search",
"../../../packages/plugins/job-proposal-template"
"../../../packages/plugins/job-proposal"
]
},
"build": {
Expand Down Expand Up @@ -145,7 +145,7 @@
"@gauzy/desktop-libs": "^0.1.0",
"@gauzy/desktop-window": "^0.1.0",
"@gauzy/jitsu-analytics-plugin": "^0.1.0",
"@gauzy/job-proposal-template-plugin": "^0.1.0",
"@gauzy/job-proposal-plugin": "^0.1.0",
"@gauzy/job-search-plugin": "^0.1.0",
"@gauzy/knowledge-base-plugin": "^0.1.0",
"@gauzy/sentry-plugin": "^0.1.0",
Expand Down
4 changes: 2 additions & 2 deletions apps/gauzy/src/app/pages/tags/tags.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ export class TagsComponent extends PaginationFilterBaseComponent
type: 'string',
width: '25%',
filter: false,
componentInitFunction: (instance: TagsColorComponent, cell: Cell) => {
valuePrepareFunction: (_: any, cell: Cell) => {
const item = cell.getRow().getData();
instance.value = this.getCounter(item);
return this.getCounter(item);
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions apps/server/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"../../../packages/plugins/jitsu-analytics",
"../../../packages/plugins/sentry-tracing",
"../../../packages/plugins/job-search",
"../../../packages/plugins/job-proposal-template"
"../../../packages/plugins/job-proposal"
]
},
"build": {
Expand Down Expand Up @@ -143,7 +143,7 @@
"@gauzy/desktop-libs": "^0.1.0",
"@gauzy/desktop-window": "^0.1.0",
"@gauzy/jitsu-analytics-plugin": "^0.1.0",
"@gauzy/job-proposal-template-plugin": "^0.1.0",
"@gauzy/job-proposal-plugin": "^0.1.0",
"@gauzy/job-search-plugin": "^0.1.0",
"@gauzy/knowledge-base-plugin": "^0.1.0",
"@gauzy/sentry-plugin": "^0.1.0",
Expand Down Expand Up @@ -198,4 +198,4 @@
"node16-win-x64"
]
}
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"build:package:plugin:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugin build",
"build:package:plugins:pre": "yarn run build:package:plugin:integration-ai && yarn run build:package:plugin:integration-hubstaff && yarn run build:package:plugin:integration-upwork && yarn run build:package:plugin:integration-github && yarn run build:package:plugin:integration-jira",
"build:package:plugins:pre:prod": "yarn run build:package:plugin:integration-ai:prod && yarn run build:package:plugin:integration-hubstaff:prod && yarn run build:package:plugin:integration-upwork:prod && yarn run build:package:plugin:integration-github:prod && yarn run build:package:plugin:integration-jira:prod",
"build:package:plugins:post": "yarn run build:package:plugin:sentry && yarn run build:package:plugin:jitsu-analytic && yarn run build:package:plugin:product-reviews && yarn run build:package:plugin:job-search && yarn run build:package:plugin:job-proposal-template && yarn run build:package:plugin:knowledge-base && yarn run build:package:plugin:changelog",
"build:package:plugins:post": "yarn run build:package:plugin:sentry && yarn run build:package:plugin:jitsu-analytic && yarn run build:package:plugin:product-reviews && yarn run build:package:plugin:job-search && yarn run build:package:plugin:job-proposal && yarn run build:package:plugin:knowledge-base && yarn run build:package:plugin:changelog",
"build:package:plugins:post:prod": "yarn run build:package:plugin:sentry:prod && yarn run build:package:plugin:jitsu-analytic:prod && yarn run build:package:plugin:product-reviews:prod && yarn run build:package:plugin:job-search:prod && yarn run build:package:plugin:knowledge-base:prod && yarn run build:package:plugin:changelog:prod",
"build:package:plugin:integration-ai": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-ai build",
"build:package:plugin:integration-ai:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/integration-ai build",
Expand All @@ -153,8 +153,8 @@
"build:package:plugin:product-reviews:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/product-reviews build",
"build:package:plugin:job-search": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/job-search build",
"build:package:plugin:job-search:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/job-search build",
"build:package:plugin:job-proposal-template": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/job-proposal-template build",
"build:package:plugin:job-proposal-template:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/job-proposal-template build",
"build:package:plugin:job-proposal": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/job-proposal build",
"build:package:plugin:job-proposal:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/job-proposal build",
"build:package:plugin:knowledge-base": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/knowledge-base build",
"build:package:plugin:knowledge-base:prod": "cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/knowledge-base build",
"build:package:plugin:changelog": "cross-env NODE_ENV=development NODE_OPTIONS=--max-old-space-size=12288 yarn --cwd ./packages/plugins/changelog build",
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ import { OrganizationTeamJoinRequestModule } from './organization-team-join-requ
import { OrganizationAwardModule } from './organization-award/organization-award.module';
import { OrganizationLanguageModule } from './organization-language/organization-language.module';
import { OrganizationDocumentModule } from './organization-document/organization-document.module';
import { ProposalModule } from './proposal/proposal.module';
import { CountryModule } from './country/country.module';
import { CurrencyModule } from './currency/currency.module';
import { InviteModule } from './invite/invite.module';
Expand Down Expand Up @@ -383,7 +382,6 @@ if (environment.THROTTLE_ENABLED) {
OrganizationDocumentModule,
RequestApprovalEmployeeModule,
RequestApprovalTeamModule,
ProposalModule,
EmailHistoryModule,
EmailTemplateModule,
CountryModule,
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/core/entities/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ import {
ProductVariant,
ProductVariantPrice,
ProductVariantSetting,
Proposal,
Report,
ReportCategory,
ReportOrganization,
Expand Down Expand Up @@ -241,7 +240,6 @@ export const coreEntities = [
ProductVariant,
ProductVariantPrice,
ProductVariantSetting,
Proposal,
Report,
ReportCategory,
ReportOrganization,
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/core/entities/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export * from '../../product-variant-price/product-variant-price.entity';
export * from '../../product-variant/product-variant.entity';
export * from '../../product/product-translation.entity';
export * from '../../product/product.entity';
export * from '../../proposal/proposal.entity';
export * from '../../reports/report-category.entity';
export * from '../../reports/report-organization.entity';
export * from '../../reports/report.entity';
Expand Down
Loading
Loading