~cadence/breezewiki-discuss

Remove IWB promo for IWB users

Details
Message ID
<CAPrfS=X+j9=AgYQ4gwJqbhSAL-42WqKO84VgLTCGa50OVLr_2A@mail.gmail.com>
DKIM signature
missing
Download raw message
Hello! Indie Wiki Buddy dev here. I wanted to bump a discussion we had
about customizing the BreezeWiki experience for Indie Wiki Buddy
users.

When an Indie Wiki Buddy user visits a BreezeWiki instance, Indie Wiki
Buddy will append a header called "x-indie-wiki" to the request.
The header's value is a stringified JSON:
{"power":"on","breezewiki":"off"}

"power" is whether the user has Indie Wiki Buddy enabled, and
"breezewiki" is whether the user has redirects to BreezeWiki enabled.

To start, if the x-indie-wiki header is present (regardless of value),
BreezeWiki could hide the Indie Wiki Buddy promotion at the top of the
page.
Reply to thread Export thread (mbox)