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

Feature: Pre-fill object when creating new entries #658

Open
2 tasks done
IngwiePhoenix opened this issue Jan 22, 2025 · 0 comments
Open
2 tasks done

Feature: Pre-fill object when creating new entries #658

IngwiePhoenix opened this issue Jan 22, 2025 · 0 comments
Labels
feature New feature or request

Comments

@IngwiePhoenix
Copy link

Is your feature request related to a problem?

Right now I reference my own schemas or memory to put together the objects I'd like to insert. During the development of the application I am working on, I am foregoing mock-data from JSON files and instead now putting actual records into the database for testing (so, seeding, if you will). However, those tables have become quite complex - so it would be really nice to have a little help.

Describe the solution

When you head to Explore, select a table, and click the + icon, you get a blank object. It would be very helpful if that object could be pre-filled with assumed default values for all the fields. Even if those defaults are wrong, just having a list of ready-to-edit fields would go a long way. Alternatively, just show a form and use field comments to show a description for them. The latter takes advantage of DEFINE FIELD afield ON atable (...) COMMENT "A useful text for the field and what it is ment to be.".

Have you considered contributing this feature yourself?

No - Surrealist's codebase is extremely complex and I am not a big fan of webdev stuff to be completely frank - React kills my brain, I am afraid... ^^;

Contact Details

[email protected]

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@IngwiePhoenix IngwiePhoenix added feature New feature or request triage This issue is new labels Jan 22, 2025
@macjuul macjuul removed the triage This issue is new label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants