Adaptive content: Ability to see what plan you're looking at #1074
Replies: 3 comments
-
|
This is already possible with the conditional block! You can set different blocks to show for different users - including ones on different plans if you’re passing this information to the GitBook side https://gitbook.com/docs/creating-content/blocks/conditional-content |
Beta Was this translation helpful? Give feedback.
-
|
Using content blocks would be a manual job, i.e you'd have to put one on every page. I think the above request is related to some kind of badge that would automatically show on every page. I might be wrong, but that's what I would like anyway. |
Beta Was this translation helpful? Give feedback.
-
|
Indeed, the request is related to a badge/banner, similar to the top announcement banner that can be configured in the settings on the site, or like the header or footer. These elements can be configured and modified across all pages in one action, whereas conditional blocks are 1) manually added to each page, and 2) not as distinct from the rest of the page, since the format is the same as everything else. Right now I'm using reusable conditional blocks for this; the only way they would look somewhat distinct was making them hints, but to the user it reads like there's crucial information related to the documented software on every page, only to find that it's letting them know which docs version they're seeing, rather than a message/banner/badge that can be seen once and otherwise ignored (like a footer, for example). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
From the user side, it would be great for them to know what documentation they're accessing (free plan, enterprise plan, etc) based on their claims.
For example, if documentation provides adaptive content via cookie-based authentication and
visitor.claims.plan === 'enterprise', they should see somewhere (top of the page, small banner at the bottom) that they're viewing theenterprisedocumentation.This would
enterpriseusers know when something is not available vs when their authentication is not working/expiredfreeusers to know that adaptive content existsBeta Was this translation helpful? Give feedback.
All reactions