Open simar0at opened 9 months ago
The status of development at this point:
targetType: "DictQuery"
textId
(this refers to the ID of the dictionary; would be nice to rename to dictId
and add it to the dedupe logic, too) and queryParams
which mimics the parameters of the corresponding api call (/restvle/dicts/{{ _.dict_name }}/entries
) – making it possible to open a new query window with a programmatically predefined query,textId
,
/restvle/dicts
),/restvle/dicts/{{ _.dict_name }}
) if they are not cached yet,q
parameter can be edited freely; in this case, upon pressing the Query button the value is parsed so that the key-value pairs are also loaded in the "smart" editor's box list for easy editing,page
, pageSize
, id
, ids
, sort
, altLemma
and format
,q
, id
or ids
values is specified,id
, sid
, lemma
, status
and released
are displayed without formatting (this definitely needs improvement on design),entry
is rendered as html, the necessary stylesheet is added to the vuejs component.For the pagination navigator @nuxt/ui
was added to the project, and a necessary upgrade to nuxt v3.9 was made.
Since @nuxt/ui
redefines the --color-primary
css variable, a workaround was needed to maintain the project's unique color (see the last commit); there may be a more elegant solution to this issue.
q
parameter, compare with an old api description - locigal expressions etc.), and the feature criteria editing logic in the vue component adjusted
https://vicav.acdh-ch-dev.oeaw.ac.at/openapi/#/vleserver-api