You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type:document currently pulls a list of page paths - which can be a bit intimidating for non-technical users.
Is it possible to pull from page.title? I realize not all pages would have titles so I don't know if this is a convention we would want to enforce or if we perhaps add something like:
type: document
display_field: title
The text was updated successfully, but these errors were encountered:
I think the hardest part about this would be the responsiveness. Since to get the page title we would need to read in all of the documents and parse the yaml and get the page title. Currently we are also resetting the cache every time we load a page in the live editor so there would be no caching for parsing the docs.
Agree -- speed is preferable to showing the title here. If we can show the
titles in a separate RPC (i.e. from some shared site cache), that would be
fine! But we shouldn't sacrifice the speed of this component to show the
titles.
On Tue, Nov 24, 2020 at 10:19 AM Randy Merrill ***@***.***> wrote:
I think the hardest part about this would be the responsiveness. Since to
get the page title we would need to read in all of the documents and parse
the yaml and get the page title. Currently we are also resetting the cache
every time we load a page in the live editor so there would be no caching
for parsing the docs.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE527JHXXQHTDT7MEZ5KB3SRP2J3ANCNFSM4N7DELLA>
.
The
type:document
currently pulls a list of page paths - which can be a bit intimidating for non-technical users.Is it possible to pull from page.title? I realize not all pages would have titles so I don't know if this is a convention we would want to enforce or if we perhaps add something like:
The text was updated successfully, but these errors were encountered: