tei-publisher-app issueshttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues2021-03-10T21:12:39Zhttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/218Output one list of notes for both transcription and translation in parallel v...2021-03-10T21:12:39ZOndrej TichyOutput one list of notes for both transcription and translation in parallel viewsHi!
I am using TEI Publisher 6 to display Old Czech texts in parallel with their translation, facsimile and notes.
The structure of the XML is roughly this:
```
<TEI>
<teiHeader></teiHeader>
<facsimile></facsimile>
<text>
...Hi!
I am using TEI Publisher 6 to display Old Czech texts in parallel with their translation, facsimile and notes.
The structure of the XML is roughly this:
```
<TEI>
<teiHeader></teiHeader>
<facsimile></facsimile>
<text>
<front></front>
<body>
<div type="original">text <anchor n="s.1"/></div>
<div type="translation">text <anchor n="t.1"/></div>
<div type="notes"><note n="s.1">text</note> <note n="t.1">text</note></div>
</body>
</text>
</TEI>
```
I display the original, translation, facsimile and notes in parallel (based on the simplified odd and template for van gogh).
The template displays the notes as:
```
<template title="Notes">
<pb-view src="document1" xpath="//div[@type='original']"
subscribe="transcription">
<pb-param name="view" value="notes"/>
</pb-view>
</template>
```
The odd uses a mode for div to list all notes for current page (in page view mode) like this:
```
<elementSpec ident="div" mode="change">
<model predicate="$parameters?view='notes'" behaviour="inline">
<param name="content" value="for $anchor in .//anchor/@n return root($parameters?root)//div[@type='notes']//note[@n=$anchor]"/>
<param name="type" value="'custom'"/>
</model>
</elementSpec>
```
Unfortunately, this way I can only list notes based on the anchors either in the original text or in the translation (if I change the xpath in the template), but not of both together. I was able to display all notes together, but not per page changing the odd xpath from .//anchor/@n to root($parameters?root)//anchor/@n. I can also have two parallel divs in the template for two lists of notes.
However, what I want is one list of notes displaying notes from both the original and the translation per each page (in page view mode).
Is that feasible? Any hints would be greatly appreciated!
Best
Ondrejhttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/217i18n Fallback languages2020-05-27T15:38:18ZLars Windauerlars@existsolutions.comi18n Fallback languagesThe TEI-Publisher supports many languages but not all are translated 100%. Compare: https://crwd.in/tei-publisher. If a label is not available in one language, the fallback language for the label is: English.
Feature Request: make the ...The TEI-Publisher supports many languages but not all are translated 100%. Compare: https://crwd.in/tei-publisher. If a label is not available in one language, the fallback language for the label is: English.
Feature Request: make the fallback language configurable out of all languages that are 100% translated. In best case users can decide themselves which of the supported fallback languages to use when their default language does not cover 100% of TEI-Publisher labels.
https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/216[Bug] Resetting a search query and reload will result in empty page2020-05-06T13:10:03ZGhost User[Bug] Resetting a search query and reload will result in empty pageSteps to reproduce:
1. Enter a search query in one of the 2 search inputs and submit the search. -> The results will be displayed and the search query will be displayed in both search inputs.
2. Reset the query (by clicking the cross i...Steps to reproduce:
1. Enter a search query in one of the 2 search inputs and submit the search. -> The results will be displayed and the search query will be displayed in both search inputs.
2. Reset the query (by clicking the cross icon in the input) and submit the search by clicking the input's search icon again (which input you interact with doesn't seem to be important, the bug will appear in both inputs). -> The page will be empty except for the menu and the side panel.
Other way to reproduce:
1. Search any query term.
2. Delete the query parameter value in the url and reload.
![Screenshot_2020-05-06_at_14.22.07](/uploads/ded0ac0c11dabf51d7af987b8cf5a663/Screenshot_2020-05-06_at_14.22.07.png)
![Screenshot_2020-05-06_at_14.38.44](/uploads/76a4f434f672226107f9c03a3dadccc4/Screenshot_2020-05-06_at_14.38.44.png)https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/215[layout] Login button needs a visible session state on small screen2020-03-13T15:53:00ZMagdalena Turska[layout] Login button needs a visible session state on small screencopying @alexandra's report from https://gitlab.existsolutions.com/tei-publisher/pb-components/issues/41
On small screens the login button and any descriptive state message is just hidden, so as a user you can't see the current session ...copying @alexandra's report from https://gitlab.existsolutions.com/tei-publisher/pb-components/issues/41
On small screens the login button and any descriptive state message is just hidden, so as a user you can't see the current session state (logged-in or not?).
![Screenshot_2020-02-28_at_15.13.02](/uploads/28d7bb2837306c8ae40ba419330db6ae/Screenshot_2020-02-28_at_15.13.02.png)Unknown futurehttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/214[layout] issues w/ facet & filter components on small screens2020-03-13T15:50:32ZMagdalena Turska[layout] issues w/ facet & filter components on small screensCopy @alexandra's initial issue report from pb-components@53 below
Start Page - The left alignments of all elements differ:
* logo + search input in toolbar + document panel title (share the same value for left-aligment)
* headline + pa...Copy @alexandra's initial issue report from pb-components@53 below
Start Page - The left alignments of all elements differ:
* logo + search input in toolbar + document panel title (share the same value for left-aligment)
* headline + paragraph (share a different value)
* tabs in document seem un- or randomly styled
* input + label for sorting (no left alignment)
![IMG_1610](/uploads/cb50fa5a0af50aac600f0f49c2434cc3/IMG_1610.png)
---
Search Results:
1. - Facet panel: When searching a random query and not enough facets can be displayed, the layout just collapses.
- Search result: The content is hidden behind the facet panel and can't be viewed by users (broken functionality). The layout at least let users view the results, so stacking panel and results could be one solution, or facets will be moved into a sidebar on small screens (but in an consistent way throughout the whole app layout/ all templates).
2. - Facet panel: Is ok when enough options can be shown.
- Search results: Same problem as in 1.)
![IMG_1608](/uploads/858c102a07c384891ae8c18f5d47f121/IMG_1608.png)
![IMG_1609](/uploads/9eac93b09025ff117fcaaa4cf79f4228/IMG_1609.png)
(Tested in iOS / FF + Safari and emulated in MacOS / Chrome)https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/213[i18n] mechanism to overwrite TEI Publisher common labels2020-03-13T11:45:56ZMagdalena Turska[i18n] mechanism to overwrite TEI Publisher common labelsFor custom TEI Publisher-based apps ideal i18n customization and fallback scenario would involve TEI Publisher backend and local project backend:
* [x] TEI Publisher backend (all tei-publisher labels and their community-maintained trans...For custom TEI Publisher-based apps ideal i18n customization and fallback scenario would involve TEI Publisher backend and local project backend:
* [x] TEI Publisher backend (all tei-publisher labels and their community-maintained translations)
* [x] Local project backend (for customized labels)
* [x] `app` custom app namespace for project-specific labels
* [ ] `common` for overwriting tei-publisher labels
NB TEI Publisher v6.0.0 already implements double-backend scenario and custom project labels. Only overwriting tei-publisher labels is missing7.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/212Bad request error when creating ODD from examples2020-03-09T07:46:55ZMaria NikuBad request error when creating ODD from examplesLatest version of eXist-db and TEI Publisher. Trying to create ODD from examples gives a bad request error (400), see message below. This occurs both with the examples that come with TEI Publisher and with TEI 5-files I have added myself...Latest version of eXist-db and TEI Publisher. Trying to create ODD from examples gives a bad request error (400), see message below. This occurs both with the examples that come with TEI Publisher and with TEI 5-files I have added myself. Number of examples selected has no effect.
`<?xml version="1.0" ?><exception><path>/db/apps/tei-publisher/modules/lib/components-odd.xql</path><message>exerr:ERROR Exception while transforming node: java.lang.IllegalArgumentException: URI is not absolute [at line 139, column 31]
In function:
obe:merge(node()*, xs:string, xs:string?, node()) [139:21:/db/apps/tei-publisher/modules/odd-by-example.xql]
obe:process-example(xs:string, xs:string, xs:string?, xs:string*, xs:string?) [76:6:/db/apps/tei-publisher/modules/odd-by-example.xql]
local:create-by-example(item()*, item()*, item()*) [116:34:/db/apps/tei-publisher/modules/lib/components-odd.xql]</message></exception>`https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/210[odd editor] adding element for which elementSpec already exists creates a copy2020-03-13T12:02:29ZMagdalena Turska[odd editor] adding element for which elementSpec already exists creates a copyif an elementSpec already exists for a given element (e.g. person in the example below)
adding it to the ODD via visual editor results in creating another copy of it; expected behaviour would be
to open already existing elementSpec in th...if an elementSpec already exists for a given element (e.g. person in the example below)
adding it to the ODD via visual editor results in creating another copy of it; expected behaviour would be
to open already existing elementSpec in the editor and/or give an error message
![image](/uploads/1a36c7cf4c481cdf5c2cb4916d0419af/image.png)6.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/204[non-TEI ns] Uploaded XML file does not appear in the document list2020-03-13T15:23:45ZPerttu Nikander[non-TEI ns] Uploaded XML file does not appear in the document listI manage upload the xml file and it appears in the upload window, but does not appear in the document list. The documents list seems to be refreshing itself but without any effect.
![upload](/uploads/22ce8425359ff2d672d41cad77682137/upl...I manage upload the xml file and it appears in the upload window, but does not appear in the document list. The documents list seems to be refreshing itself but without any effect.
![upload](/uploads/22ce8425359ff2d672d41cad77682137/upload.png)
I tested with app running in Docker (pulled latest image) with Chrome Version 77.0.3865.90 (Official Build) (64-bit) and Firefox 69.0.1 (64-bit).7.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/193login problem with generated tei publisher app2020-03-13T12:02:42ZEduard Drenthlogin problem with generated tei publisher app- generate app with user onfw/onfw
- login => succeeds
- click start/tei publisher icon or F5 => logged out- generate app with user onfw/onfw
- login => succeeds
- click start/tei publisher icon or F5 => logged out6.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/179generated apps should contain basic testing scaffold2020-03-13T15:25:00ZDuncan Patersongenerated apps should contain basic testing scaffoldgenerated apps do not contain any scaffolding for tests, they should contain at minimum a folders and files to perform wct tests when working on a generated app.generated apps do not contain any scaffolding for tests, they should contain at minimum a folders and files to perform wct tests when working on a generated app.Unknown futurehttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/172Use CI to build xar2020-03-13T15:24:15ZDuncan PatersonUse CI to build xarToo often tei-publisher repo is in a state where users can't build the app because of missing or undeclared dependencies. This has been going on since 3.0.0 and was also a problem with 4.0.0RC.
Instead of me harping on about this every...Too often tei-publisher repo is in a state where users can't build the app because of missing or undeclared dependencies. This has been going on since 3.0.0 and was also a problem with 4.0.0RC.
Instead of me harping on about this every time a new features is worked on, why not use the CI service here to simply build the xar and see if that fails.7.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/169TOC: Rework pattern for selecting elements, that will be listed in the TOC2020-03-13T12:04:34ZGhost UserTOC: Rework pattern for selecting elements, that will be listed in the TOCSome documents won't have a headline, but just division containers, that have to be listed in the TOC. Currently that distinction is not supported.Some documents won't have a headline, but just division containers, that have to be listed in the TOC. Currently that distinction is not supported.7.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/167Add label next to document title showing the XML schema used2018-09-17T12:39:28ZWolfgangAdd label next to document title showing the XML schema usede.g. TEI, docbook, jatse.g. TEI, docbook, jatshttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/164Support other TEI document structures not based on div2020-03-13T12:02:08ZWolfgangSupport other TEI document structures not based on dive.g. text within group, teiCorpus with multiple TEI roots...e.g. text within group, teiCorpus with multiple TEI roots...7.0.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/161PDF output of Serafin letter broken2019-09-12T10:32:25ZWolfgangPDF output of Serafin letter brokenNeed to choose a better font for the PDFNeed to choose a better font for the PDFVersion 4.0https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/159publisher should be a single-page app2019-03-19T15:42:34ZJoern Turnerpublisher should be a single-page appcurrently we have several pages sharing at least the same header so we have duplicated markup.
Furthermore to have a global configuration for the UI we would need to duplicate that also with the danger of things going out-of-sync.
Furt...currently we have several pages sharing at least the same header so we have duplicated markup.
Furthermore to have a global configuration for the UI we would need to duplicate that also with the danger of things going out-of-sync.
Further advantages of single-page app would be better control of lazy loading as well as a smoother experience with page transitions.https://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/154Examples for JATS2020-03-13T13:33:42ZWolfgangExamples for JATSWe would love to have a good JATS example document which could be distributed with TEI Publisher.We would love to have a good JATS example document which could be distributed with TEI Publisher.Unknown futurehttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/153Examples for Docbook2020-03-13T13:33:51ZWolfgangExamples for DocbookThe TEI Publisher documentation is docbook, but this might not be obvious to users as they just want to read it without paying attention to what it actually is. Might be better to have a separate docbook sample, maybe even with additiona...The TEI Publisher documentation is docbook, but this might not be obvious to users as they just want to read it without paying attention to what it actually is. Might be better to have a separate docbook sample, maybe even with additional features. Could use the docbook documentation itself?Unknown futurehttps://gitlab.existsolutions.com/tei-publisher/tei-publisher-app/-/issues/144Create example: compare multiple witnesses of a text2020-03-13T15:27:26ZWolfgangCreate example: compare multiple witnesses of a textCreate an example template (like `letter.html`) to showcase viewing multiple witnesses of a text side by side. Need a good TEI example here.Create an example template (like `letter.html`) to showcase viewing multiple witnesses of a text side by side. Need a good TEI example here.Unknown futureMagdalena TurskaMagdalena Turska