Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat(howto): the 3D films are on the stage, uploaded with the 3.1.0 web

purple7c38e5f58022
diff --git a/src/lib/__tests__/howto-lines-follow-the-film.test.ts b/src/lib/__tests__/howto-lines-follow-the-film.test.ts
index 46fd7465..dbe9878a 100644
--- a/src/lib/__tests__/howto-lines-follow-the-film.test.ts
+++ b/src/lib/__tests__/howto-lines-follow-the-film.test.ts
@@ -5,10 +5,10 @@ import { HOWTO, HOWTO_NOT_UPLOADED, HOWTO_GUIDE_BASE, HOWTO_VIDEO_BASE, howtoGui
import { INTENTS } from '../../components/create/experimental/intents'
describe('how it works', () => {
- // 3D (3.1.0) has no film on the server yet. Until it is uploaded the stage
- // offers none (stageHowtoTopic answers null), instead of a link to a film
- // that is not there.
- const NO_FILM_YET = new Set(['3d'])
+ // A tab whose film is not on the server yet gets none on the stage
+ // (stageHowtoTopic answers null), instead of a link to a film that is not
+ // there. Empty since the 3D films went up with 3.1.0.
+ const NO_FILM_YET = new Set<string>([])
const filmed = INTENTS.filter((i) => !NO_FILM_YET.has(i.id))
it('has a film for every Create tab, for Code and for Agent', () => {
@@ -18,8 +18,8 @@ describe('how it works', () => {
expect(HOWTO.agent).toBeTruthy()
})
- // The 3D films are rendered and wait for the upload (HOWTO_NOT_UPLOADED).
- // At upload the entry moves into HOWTO and '3d' leaves NO_FILM_YET.
+ // Films that are rendered but wait for the upload sit in HOWTO_NOT_UPLOADED.
+ // At upload the entry moves into HOWTO and its id leaves NO_FILM_YET.
it('keeps every film that waits for the upload ready, and out of the app', () => {
for (const id of NO_FILM_YET) {
const ready = HOWTO_NOT_UPLOADED[id]
@@ -34,7 +34,8 @@ describe('how it works', () => {
expect(stageHowtoTopic(id, 'local')).toBeNull()
expect(stageHowtoTopic(id, 'local', true)).toBeNull()
}
- expect(HOWTO_NOT_UPLOADED['3d'].films.map((f) => f.id)).toEqual(['3d', '3d-view'])
+ expect(HOWTO['3d'].films.map((f) => f.id)).toEqual(['3d', '3d-view'])
+ expect(HOWTO_NOT_UPLOADED['3d']).toBeUndefined()
})
it('names each Create film after the tab it stands on', () => {
diff --git a/src/lib/howto.ts b/src/lib/howto.ts
index d57c7711..b2fcdbbe 100644
--- a/src/lib/howto.ts
+++ b/src/lib/howto.ts
@@ -418,13 +418,6 @@ export const HOWTO: Record<string, HowtoTopic> = {
{ from: 6.56, text: 'Tools switches tool categories on or off for this chat only.' },
{ from: 12.83, text: 'Before a command runs you approve or reject it; the arrow shows its arguments.' },
], '/guide/agent/'),
-}
-
-/** Topics whose films are rendered but not yet on lu-labs.ai/howto/. They
- * are kept apart from HOWTO, so nothing in the app offers a film the server
- * does not have. Once the films are uploaded, the entry moves into HOWTO
- * as it is (and the test's NO_FILM_YET loses it). */
-export const HOWTO_NOT_UPLOADED: Record<string, HowtoTopic> = {
'3d': {
title: 'How 3D works',
guide: '/guide/create/',
@@ -450,6 +443,13 @@ export const HOWTO_NOT_UPLOADED: Record<string, HowtoTopic> = {
},
}
+/** Topics whose films are rendered but not yet on lu-labs.ai/howto/. They
+ * are kept apart from HOWTO, so nothing in the app offers a film the server
+ * does not have. Once the films are uploaded, the entry moves into HOWTO
+ * as it is (and the test's NO_FILM_YET loses it). */
+export const HOWTO_NOT_UPLOADED: Record<string, HowtoTopic> = {
+}
+
/** The Create tabs whose local lane has a film of its own. Every other film
* shows the cloud tabs and stands on the stage in Cloud mode only. 3D's
* first film shows the local lane too; it answers only once HOWTO has it. */