Skip to content

Conversation

@alshakero
Copy link
Member

@alshakero alshakero commented Dec 3, 2025

Fixes DOTCOM-15390

Proposed Changes

Allow users to access Odie unless banned.

Why are these changes being made?

For logged out support.

Testing Instructions

  1. Visit the live link while incognito.
  2. Open the Help Center from the masterbar.
  3. Search for an article.
  4. Read an article.

@matticbot
Copy link
Contributor

matticbot commented Dec 3, 2025

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~89 bytes added 📈 [gzipped])

name                   parsed_size           gzip_size
entry-reauth-required       +407 B  (+0.0%)      +89 B  (+0.0%)
entry-main                  +407 B  (+0.0%)      +89 B  (+0.0%)
entry-login                 +407 B  (+0.0%)      +89 B  (+0.0%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Async-loaded Components (~37 bytes added 📈 [gzipped])

name                               parsed_size           gzip_size
async-load-help-center-app               +68 B  (+0.0%)      +37 B  (+0.0%)
async-load-automattic-help-center        +68 B  (+0.0%)      +37 B  (+0.0%)

React components that are loaded lazily, when a certain part of UI is displayed for the first time.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

@matticbot
Copy link
Contributor

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • help-center

To test WordPress.com changes, run install-plugin.sh $pluginSlug dotcom-15390-make-the-help-center-offline-ready on your sandbox.

@wiesenhauss
Copy link

I set version 2.0.1 of the assistant as default for testing; I used the Calypso live link and started a new conversation with the AI. It appears that every message I sent started a new conversation, though. You can see the exchanged messages by loading these conversations:

https://mc.a8c.com/odie/odie-chats/?bot_slugs=wpcom-chat-loggedout&bot_version=2.0.1&sort_by=created_at&sort_order=DESC

There's no indication in the UI that new chats are being initiated with every new user message:

Screenshot 2025-12-03 at 11 50 02

@alshakero
Copy link
Member Author

@wiesenhauss yes that makes sense; the conversation retrieval hook doesn't yet support anonId, wil need more work to make it fully workable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants