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

Limit Autocomplete of TEI Pointers to current document #520

Open
NickLaiacona opened this issue Jul 3, 2023 · 3 comments
Open

Limit Autocomplete of TEI Pointers to current document #520

NickLaiacona opened this issue Jul 3, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@NickLaiacona
Copy link
Member

NickLaiacona commented Jul 3, 2023

Instead of displaying the XML IDs for every document in the project, the attribute fields for attributes of the type TEI Data Pointer now just display the XML IDs found within the current TEI Document. If the resource isn't in a TEI Document, they should just display the XML IDs found in the current resource.

@NickLaiacona NickLaiacona added the enhancement New feature or request label Jul 3, 2023
@NickLaiacona NickLaiacona self-assigned this Jul 3, 2023
@SteveMarvin
Copy link

Maybe I've misunderstood the issue, or I applied the wrong attribute, but...

OK, so I assigned an XML ID (#lookforthis) to an element in Verbatim Plaintext and then went to FHL_007548733_TAOS_BAPTISMS_BATCH_1_TRANSLATION, and added a CopyOf attribute to another element there. WHen I clicked the field, I saw the #lookforthis ID in the lookup. That was in a different document within the same project. Should I be seeing that? I thought this issue was to limit autocomplete to the current doc...

image

@NickLaiacona
Copy link
Member Author

So two resources may be part of the same TEI Document - in this case FHL_007548733_TAOS_BAPTISMS_BATCH_1_TRANSLATION and Verbatim Plaintext are indeed in the same TEI Document.

The point of the feature is to limit it to things within the same TEI Document to make it easier to find facsimile surfaces, standoff records, etc that are part of this doc.

@SteveMarvin
Copy link

OK, I misunderstood. Thanks!

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

No branches or pull requests

2 participants