Giter Site home page Giter Site logo

docs-ui's People

Contributors

adam-cowley avatar alexicawright avatar davidoliversp2 avatar elainerosenberg avatar ggrossetie avatar johnymontana avatar jpryce-aklundh avatar lidiazuin avatar martin-neotech avatar mauvo avatar mneedham avatar nielsdejong avatar nvitucci avatar rafaljanicki avatar recrwplay avatar robsdedude avatar spgandhi avatar stefano-ottolenghi avatar vnickolov avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-ui's Issues

Use the "official" language name in the code header

  • csharp -> C#
  • xml -> XML
  • csv -> CSV
  • js -> JavaScript
  • javascript -> JavaScript

If there's no explicit mapping, we should probably capitalize the first letter:

  • java -> Java
  • scala -> Scala
  • python -> Python
  • groovy -> Groovy
  • cypher -> Cypher

I think conf and properties should remain in lowercase since they only refer to the file extension. Thoughts?

//cc @ElaineRosenberg

Add Asciidoctor frame-* and grid-* styles

The frame and grid can be configured with Asciidoctor (read: https://mrhaki.blogspot.com/2014/11/awesome-asciidoctor-changing-grid-and.html)

Arguably, tables should not be used to layout elements but some documents are using them.
Here's the current rendering:

layout-table

And here's the expected rendering:

expected

For reference, here's the default Asciidoctor stylesheet: https://github.com/asciidoctor/asciidoctor/blob/cabde9c25fe040221ad71bb6aaf8754d2e5ec099/data/stylesheets/asciidoctor-default.css#L259-L269

Publish Intercom, Mixpanel and Google Analytics events on course/enrollment pages

Maintain scroll position in documentation index

Is your feature request related to a problem? Please describe.
I'm frustrated when I scroll down the docs content on the LHS, click on a section and the content section auto scrolls back to the top. This makes clicking through items in a particular section involve a lot of scrolling.

Describe the solution you'd like
Maintain scroll position of index after click

Describe alternatives you've considered
n/a
Additional context
Particularly relevant for APOC documentation which can have some very long sections

CleanShot 2021-07-06 at 10 08 00

Add an input below the "Play as Browser Guide" button to configure the connection URL (to the database)

Here's a mockup:

image

"Database URL" should be renamed "Connection URL".

The default value of "Connection URL" field will be: bolt://localhost.

If the query string dbms is defined, we will use this value instead of the default value. For instance: https://neo4j.com/graphgists/northwind-recommendation-engine/?dbms=neo4j%2Bs://[email protected]
In this case, the value of the "Connection URL" field will be: neo4j+s://[email protected]

The connection URL will be used to update the link on the "Play as Browser Guide" button:

https://browser.neo4j.io/?cmd=play&arg=https://guides.neo4j.com/graph-examples/northwind-recommendation-engine/graph_guide&dbms={{connectionUrl}}

As you can see, the value of the field "Connection URL" is passed as a query string: &dbms={{connectionUrl}} (where {{connectionUrl}} is the connection URL filled out by the user).

Please note that we are now using https://browser.neo4j.io instead of neo4j-desktop://graphapps/neo4j-browser.

//cc @adam-cowley let me know what you think since you've worked on the original design.

Code blocks within lists don't get new style

They don't get the overlay with language/copy, nor the proper titling or collapsing.

- when a property list has multiple items, specify each property in a separate object within the list, and not as a single object containing them all.
+
.Good
[code, json]
----
"dates": [
  {"born": "born"},
  {"died": "died"}
]
----

Screenshot from 2023-09-26 09-29-05
Screenshot from 2023-09-26 09-28-51

Use a query cache on the source block component

The goal is to reduce the number of queries sent to Neo4j sandbox, aura and the GraphGists portal.

It should be possible to populate the cache from a query result generated at build time.
For instance, the GraphGists build could generate static files in the attachments directory that contain query results.

The source block component will then check if a file exists for a given couple page-query.

The source block component will use the cache when available. If not, it will switch to interactive mode and query the backend.

We could use a md5sum of the query as a unique key.

We can use https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage to save data.

When page-no-index is defined, configure noindex on googlebot and bingbot as well

Currently, the page-no-index attribute does not apply to googlebot or bingbot:

{{#if (ne page.attributes.no-index undefined) }}
<meta name="robots" content="noindex" />
{{else}}
<meta name="robots" content="index, follow" />
{{/if}}
<meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
<meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />

We should probably fix the condition:

{{#if (ne page.attributes.no-index undefined) }}
  <meta name="robots" content="noindex" />
  <meta name="googlebot" content="noindex" />
  <meta name="bingbot" content="noindex" />
{{else}}
  <meta name="robots" content="index, follow" />
  <meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
  <meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1" />
{{/if}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.