Skip to content

very-simple-editor-assistant (example entry location app) #9891

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Muzietto
Copy link
Contributor

@Muzietto Muzietto commented Jun 4, 2025

Purpose

I have created a very simple entry location app that solves a common problem not yet documented.

It is often necessary to re-label the fields in the editor's page: our editors ask us to see fields labeled in a different manner depending on the context in which a given content type is used. We don't aim to rename the field, but just to label it differently for the editor's sake. Please see the new labels indicated by the red arrows:

image

Approach

The new labels are specified inside a JSON file, depending on the contentTypeId. The app can be easily expanded to include all sorts of process information besides the editor label.

All the details + an example JSON config file are provided in the README.md file.

The JSON file in the codebase (vsea.json) is related to the image in the description of this PR, whereas the README.md mentions a more abstract yet very similar setup.

Testing steps

This app is very, very simple. I haven't seen the need for writing tests.

PLEASE NOTE that in the past I have submitted another pull request for another example app of mine. I was informed that your automated tests did not run initially; therefore I spent a considerable amount of time trying to please them, without success. At the end the tests were successfully run by one of your engineers.

Breaking Changes

No breaking changes. Just vanilla JS in the vanilla Apps Framework.

Dependencies and/or References

This app uses the SingleLineEditor from package '@contentful/field-editor-single-line'

Deployment

No special deployment care is needed. The app is meant to run on localhost.

@Muzietto Muzietto requested review from a team as code owners June 4, 2025 04:17
Copy link

netlify bot commented Jun 4, 2025

👷 Deploy request for ecommerce-app-base-components pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit e07909e

@wiz-inc-38d59fb8d7
Copy link

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities
Data Finding Sensitive Data 1 Info
Secret Finding Secrets
IaC Misconfiguration IaC Misconfigurations
Total 1 Info

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@Muzietto Muzietto changed the title very-simple-editor-assistant (example entry editor location app) very-simple-editor-assistant (example entry location app) Jun 4, 2025
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.

1 participant