openfga / openfga.dev Goto Github PK
View Code? Open in Web Editor NEWOpenFGA website and documentation
Home Page: http://openfga.dev/
License: Apache License 2.0
OpenFGA website and documentation
Home Page: http://openfga.dev/
License: Apache License 2.0
In https://openfga.dev/docs/modeling/getting-started#02-list-the-object-types, the objects are not highlighted in blue. It is displayed as normal text instead.
Currently, we use a temporary swagger file as place holder. We need to update docusaurus.config.js to point to the correct swagger file.
Note that the new swagger file's tag is different. This means we will need to update the swagger file + call to /api/service for the correct API.
For landing page's resource section, we should update the links
Should link to https://github.com/orgs/openfga/projects/1 instead of https://github.com/orgs/openfga/projects
Pull request from non openfga repo did not trigger github check action. Consequently, Run Checks
, markdown-link-check
and markdown-link-check-md
did not run and is stale.
Use the published npm from https://github.com/openfga/syntax-transformer instead of doing our own transformation. This also involves updating the syntax name to a cleaner name.
Currently, after each push to main, the github page's CNAME is lost and require manual re-add.
Currently, clicking on breadcrumb will not lead you to the section. Root cause is that the overview file exists as a separate page instead of embedded them in the category.
In mobile browser (happened with both iPhone 12 and Samsung s20), the search bar resizes when clicking on it initially. This happens on both landing page as well as docs page search bar.
See following video capture:
The following link in landing page should point to https://github.com/openfga
If playground banner is specified, the playground name is not included in the introduction section.
As a reader, I should be to have an easy remember address that link to the docs directly.
In mobile browser of dimension 360x670, clicking the menu button shows a dark screen with no text.
See screen capture below:
Previously, it is pointing to github.com/openfga/openfga
Fix documentation for the openfga configuration changed here: https://github.com/openfga/openfga/pull/75/files
The viewport bounces around when clicking through the tabbed code views:
The links in the doc's section's table of contents component have a conflicting style between '*--active' styling classes and ':hover' rules. This leads to a flash of white (the intended hover colour) before the link turns grey again.
While they might appear to be working properly at a glance, hovering your cursor for more than a few moments reveals the issue.
We currently use a basic SVG for the OpenFGA pattern, but have an animated video available.
Add in the video in the correct format/implementation with a fallback to the svg
Page https://openfga.dev/api/service does not scale well in mobile browser.
See following image for details.
This is left over from previous review.
Currently, configuration language page's equivalent zanzibar concepts section has a line
In the OpenFGA DSL, it would become:
However, the authorization model viewer below shows both DSL and JSON.
It will be better if we extend authorization model to allow specifying to show only either DSL or JSON.
The link https://openfga.dev// shows 404 page not found error.
Note that this may require a higher level fix than in Docusaurus as https://docusaurus.io// also fails.
Bad link for OpenFGA Configuration Language. Should point to /docs/configuration-language.
Prism log such as
PROISM <ref *1> {
util: {
encode: [Function: encode],
type: [Function: type],
objId: [Function: objId],
clone: [Function: deepClone],
getLanguage: [Function: getLanguage],
setLanguage: [Function: setLanguage],
isActive: [Function: isActive]
},
...
is spawned during npm run build. Root cause is https://github.com/openfga/openfga.dev/blob/main/src/utils/prism-openfga-dsl.js#L20
As discussed in #58 (comment), we need to create raster image for metadata.
I looked deeper into the standard to refresh my memory, and it looks like [only raster images are supported](https://indieweb.org/The-Open-Graph-protocol#Does_not_support_SVG_images).
Maybe we should make another task for this, and I'll
make an image
place image in the right folder
add the appropriate og:image tag
The page setup-openfga has a table that does not fit into page width. Ideally, this should fit into page width
This page should be before after "Create a Store" and before "Update the Relationship Tuples".
Make sure it has the same model (i.e., with "reader", "writer" and "owner") as the "Update relationship tuples", "Perform a Check" and "Integrate within a Framework" pages.
Should be
docker pull openfga/openfga
docker run -p 8080:8080 openfga/openfga run
to match with the changes in openfga's README
Since we are using custom domain instead of hosting page off https://openfga.github.io/, the baseURL will now be /
instead of /openfga.dev/
. We need to update build script to reflect this.
Clicking on heading will overshot and skip over the heading line. See below:
It is possible to have more than 1 store. Thus, the definition of store as defined in https://openfga.dev/docs/concepts#what-is-a-store is incorrect.
Currently, the table in https://openfga.dev/docs/getting-started/setup-openfga#configuring-the-server is coded statically. Ideally, this should be generated dynamically from the artifacts of https://github.com/openfga/openfga so that there is no mistmatch between the two.
There should be no analytics enabled.
Currently we have a placeholder description that will show up if someone copy/pastes the URL into Discord (and likely also in Twitter, Slack, etc).
We should audit this and craft the right meta data so that the project logo and description show up correctly.
Side note: the title is also repeating needlessly on the homepage.
The playground pages should be removed. Instead, references should link directly to the playground pages.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.