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

You can now search for and load existing metadata #52

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

marcpage
Copy link
Owner

%metadata_yaml% editor

There is an editor in the works, but does not currently work yet.
To run the editor:

  1. Add webserver.yml next to genweb.yml
  2. Execute python3 -m genweb.webserver
  3. Point your browser at localhost:8000

Here are the current features of the non-functional editor:

  • The metadata type selector should change the appropriate fields shown in the editor for the chosen type
  • Clicking the 🔎 button next to the Identifier field will allow you to search and load existing metadata
  • If the Identifier field is an existing metadata identifier, the submit button changes from Add to Update
  • Clicking the 🔎 button next to the People field will reveal a people search
  • Typing in the people search will filter the people ids
  • Clicking on a person in the filter list will display the person and their family
  • This will allow copy/pasting of people ids into the People field
Screenshot 2024-08-13 at 7 31 32 PM Screenshot 2024-08-13 at 7 31 57 PM Screenshot 2024-08-13 at 7 32 05 PM Screenshot 2024-08-13 at 7 32 26 PM Screenshot 2024-08-13 at 7 32 52 PM Screenshot 2024-08-13 at 7 32 52 PM Screenshot 2024-08-13 at 7 33 08 PM Screenshot 2024-08-13 at 7 33 31 PM

Part of #36

@marcpage marcpage added the enhancement New feature or request label Aug 14, 2024
@marcpage marcpage requested a review from pagerk August 14, 2024 00:36
@marcpage marcpage self-assigned this Aug 14, 2024
@pagerk pagerk merged commit de7dacc into main Aug 14, 2024
6 checks passed
@pagerk pagerk deleted the users/marcp/search-for-metadata branch August 14, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants