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

chore(examples): move app-crm to "Enterprise Edition" #6383

Merged
merged 6 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
38 changes: 18 additions & 20 deletions .github/workflows/example-previews-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- "examples/finefoods-antd/**"
- "examples/finefoods-client/**"
- "examples/finefoods-material-ui/**"
- "examples/app-crm/**"
- "examples/pixels/**"
- "examples/invoicer/**"
types:
Expand All @@ -24,25 +23,24 @@ jobs:
examples: ${{ steps.filter.outputs.changes }}
all_examples: ${{ steps.deploy-previews-label.outputs.all_examples }}
steps:
- uses: actions/checkout@v4
- name: Get PR labels
id: pr-labels
uses: joerick/[email protected]
- name: 'Check deploy previews label'
if: ${{ contains(steps.pr-labels.outputs.labels, ' deploy-previews ') }}
id: deploy-previews-label
run: echo 'all_examples=["finefoods-antd", "finefoods-client", "finefoods-material-ui", "app-crm", "pixels", "invoicer"]' >> $GITHUB_OUTPUT
- uses: dorny/paths-filter@v3
if: ${{ !contains(steps.pr-labels.outputs.labels, ' deploy-previews ') }}
id: filter
with:
filters: |
'finefoods-antd': 'examples/finefoods-antd/**'
'finefoods-client': 'examples/finefoods-client/**'
'finefoods-material-ui': 'examples/finefoods-material-ui/**'
'app-crm': 'examples/app-crm/**'
'pixels': 'examples/pixels/**'
'invoicer': 'examples/invoicer/**'
- uses: actions/checkout@v4
- name: Get PR labels
id: pr-labels
uses: joerick/[email protected]
- name: "Check deploy previews label"
if: ${{ contains(steps.pr-labels.outputs.labels, ' deploy-previews ') }}
id: deploy-previews-label
run: echo 'all_examples=["finefoods-antd", "finefoods-client", "finefoods-material-ui", "pixels", "invoicer"]' >> $GITHUB_OUTPUT
- uses: dorny/paths-filter@v3
if: ${{ !contains(steps.pr-labels.outputs.labels, ' deploy-previews ') }}
id: filter
with:
filters: |
'finefoods-antd': 'examples/finefoods-antd/**'
'finefoods-client': 'examples/finefoods-client/**'
'finefoods-material-ui': 'examples/finefoods-material-ui/**'
'pixels': 'examples/pixels/**'
'invoicer': 'examples/invoicer/**'

deploy_previews:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2023-03-22-react-admin-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Overall, the Refine CRM admin template is an excellent choice for businesses tha

**Live example:** https://example.crm.refine.dev/

**Source code**: https://github.com/refinedev/refine/tree/master/examples/app-crm
**Template**: https://refine.dev/templates/crm-application/

## 2. Elstar

Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2023-10-02-refine-crm-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ I want to introduce our newest example app – a full-fledged React CRM (Custome

👉 [Live Demo](https://example.crm.refine.dev/)

👉 [You can find the source code on GitHub here](https://github.com/refinedev/refine/tree/master/examples/app-crm)
👉 [Template](https://refine.dev/templates/crm-application/)

This example is open-source, which means anyone can freely utilize and customize the source code as they see fit. It's not just another application; it's a comprehensive solution that boasts all the features and functionalities required for an accurate enterprise-level application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ npm create refine-app@latest

- GitHub stars: +27K
- License: MIT
- Links: [Demo](https://example.crm.refine.dev/) | [Documentation](https://refine.dev/tutorial) | [GitHub](https://github.com/refinedev/refine/tree/master/examples/app-crm)
- Links: [Demo](https://example.crm.refine.dev/) | [Documentation](https://refine.dev/tutorial) | [Template](https://refine.dev/templates/crm-application/)

## Ant Design pro

Expand Down
1 change: 1 addition & 0 deletions examples/app-crm-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
"dayjs": "^1.10.7",
"graphql": "^15.6.1",
"graphql-tag": "^2.12.6",
"graphql-ws": "^5.9.1",
"react": "^18.0.0",
Expand Down
28 changes: 0 additions & 28 deletions examples/app-crm/.eslintrc

This file was deleted.

23 changes: 0 additions & 23 deletions examples/app-crm/.gitignore

This file was deleted.

2 changes: 2 additions & 0 deletions examples/app-crm/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
> 🚨 This example has been moved to the Enterprise Edition. However, we still have a version available for the Community. You can check it out [here](https://github.com/refinedev/refine/tree/master/examples/app-crm-minimal).

[![Cover Image](https://refine.ams3.cdn.digitaloceanspaces.com/example-readmes/CRM/crm-readme-temp.png "Cover Image")](https://github.com/refinedev/refine)

<div align="center">
Expand Down
19 changes: 0 additions & 19 deletions examples/app-crm/codegen.ts

This file was deleted.

37 changes: 0 additions & 37 deletions examples/app-crm/graphql.config.ts

This file was deleted.

13 changes: 0 additions & 13 deletions examples/app-crm/index.html

This file was deleted.

30 changes: 0 additions & 30 deletions examples/app-crm/jest.config.js

This file was deleted.

24 changes: 0 additions & 24 deletions examples/app-crm/jest.setup.ts

This file was deleted.

4 changes: 0 additions & 4 deletions examples/app-crm/netlify.toml

This file was deleted.

87 changes: 0 additions & 87 deletions examples/app-crm/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions examples/app-crm/postcss.config.cjs

This file was deleted.

Binary file removed examples/app-crm/public/refine_favicon.png
Binary file not shown.
8 changes: 0 additions & 8 deletions examples/app-crm/sandbox.config.json

This file was deleted.

Loading
Loading