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

Add a CMS Starter example #134

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open

Add a CMS Starter example #134

wants to merge 21 commits into from

Conversation

triozer
Copy link
Member

@triozer triozer commented Dec 13, 2024

Description

This pull request introduces a new CMS starter example, including updates to various configuration files, data sources, and UI components. The changes aim to set up a basic CMS plugin for Framer, providing a template for further development.

QA

  • Clone the repository.
  • Navigate to the examples/cms directory.
  • Install dependencies and start the plugin locally.
  • Adding a new Collection
    • Create a new collection.
    • Open the CMS plugin.
      • Confirm a prompt appears asking to select a collection to sync.
      • Verify you can select from the available collections.
  • Managing an existing Collection
    • Open an existing collection that has been set up previously.
    • Click the "Manage" button.
      • Confirm the "Field Mapping UI" is displayed.
      • Verify you can:
        • Change the slug field to a valid string field.
        • Rename fields.
        • Toggle fields on/off by clicking them.
  • Syncing an existing Collection
    • Open an existing, pre-configured collection.
    • Click the "Sync" button.
      • Confirm the sync process starts immediately.
      • Verify the collection syncs with the configured data source without further setup.

Additional Checks

  • Ensure all UI elements are properly styled and responsive.
  • Confirm error states are handled gracefully.
  • Verify field changes persist after saving.
  • Ensure sync operations display appropriate loading states.

@triozer triozer force-pushed the feature/cms-starter branch from ce26e37 to fc608ad Compare December 13, 2024 08:41
@triozer triozer force-pushed the feature/cms-starter branch from fc608ad to 36e36fc Compare December 13, 2024 08:43
@triozer triozer force-pushed the feature/cms-starter branch from 36e36fc to 354b9f5 Compare December 13, 2024 08:45
@triozer triozer force-pushed the feature/cms-starter branch from 64eda3c to 405e0df Compare December 13, 2024 10:05
@triozer triozer force-pushed the feature/cms-starter branch from 4104a2f to ba7fd80 Compare December 18, 2024 14:46
@triozer triozer force-pushed the feature/cms-starter branch from ba7fd80 to d5d0288 Compare December 18, 2024 14:49
@triozer triozer force-pushed the feature/cms-starter branch from d5d0288 to 80d249f Compare December 19, 2024 10:10
@triozer triozer marked this pull request as ready for review December 19, 2024 10:31
@tom-james-watson tom-james-watson self-requested a review December 19, 2024 12:12
examples/cms-starter/datasources/categories.json Outdated Show resolved Hide resolved
examples/cms-starter/src/data.ts Outdated Show resolved Hide resolved
examples/cms-starter/src/App.tsx Outdated Show resolved Hide resolved
examples/cms-starter/.gitignore Outdated Show resolved Hide resolved
examples/cms-starter/README.md Outdated Show resolved Hide resolved
examples/cms-starter/src/utils.ts Outdated Show resolved Hide resolved
examples/cms-starter/src/data.ts Outdated Show resolved Hide resolved
examples/cms-starter/index.html Outdated Show resolved Hide resolved
examples/cms-starter/src/data.ts Outdated Show resolved Hide resolved
examples/cms-starter/src/data.ts Outdated Show resolved Hide resolved
examples/cms-starter/src/data.ts Outdated Show resolved Hide resolved
@huntercaron
Copy link
Collaborator

Lets call the actual folder "cms" instead of "cms-starter" since its already in a folder called "examples"

examples/cms-starter/src/App.tsx Outdated Show resolved Hide resolved
examples/cms-starter/src/FieldMapping.tsx Outdated Show resolved Hide resolved
triozer and others added 21 commits February 18, 2025 16:33
Signed-off-by: Cédric Boirard <[email protected]>
- Chore

Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>

rm motion

Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
Signed-off-by: Cédric Boirard <[email protected]>
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.

5 participants