Skip to content

Create standalone main documentation page#183

Open
konard wants to merge 5 commits into
releasefrom
issue-182-de1690b9c700
Open

Create standalone main documentation page#183
konard wants to merge 5 commits into
releasefrom
issue-182-de1690b9c700

Conversation

@konard

@konard konard commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Closes #182.

Summary

  • Make / the standalone Lefine documentation page with key instructions, pricing, authorization/publishing notes, repository space, and product screenshots.
  • Move the previous root workspace to /app, and update topbar, profile, repository, OpenSearch, and test routes to use the app route.
  • Keep legacy root workspace links working for ?q=, ?task=, ?create=, and #/orders/... URLs so existing shared links still open the task/search workspace.
  • Keep internally generated stage links, browser search discovery, and localized documentation links canonical under /app.
  • Remove the embedded gray docs section from the task composer and restyle the standalone docs page with existing Lefine theme tokens.

Reproduction and regression coverage

  • Before this change, the documentation was embedded above the workspace at /; now / renders only the documentation and /app renders the workspace.
  • e2e/main-docs.spec.ts verifies the required key, pricing, publishing, repository, and screenshot content; the standalone/app split; localized and OpenSearch links; and legacy root query links.
  • e2e/task-lifecycle.spec.ts verifies that generated stage links remain under /app while legacy root order hashes continue to open the workspace.

Screenshots

Desktop:

Main docs desktop

Mobile:

Main docs mobile

Verification

  • corepack pnpm check
  • corepack pnpm lint
  • corepack pnpm test
  • corepack pnpm test:integration
  • corepack pnpm build
  • PW_SKIP_WEB_SERVER=1 PW_BASE_URL=http://127.0.0.1:4173 corepack pnpm exec playwright test e2e/main-docs.spec.ts (6 passed)
  • pnpm test:e2e on GitHub CI (135 passed, 3 skipped)
  • ./scripts/crater-smoke.sh

Adding .gitkeep for PR creation (default mode).
This file will be removed when the task is complete.

Issue: #182
@konard konard self-assigned this Jul 6, 2026
@konard konard changed the title [WIP] Create main/docs Create main docs page Jul 6, 2026
@konard konard marked this pull request as ready for review July 6, 2026 15:52
@konard

konard commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

Working session summary

Implemented and pushed the main/docs page for issue #182.

PR #183 is updated and ready for review: #183

What changed:

  • Added the Lefine main docs page with key instructions, pricing, authorization/publishing, repository space, and screenshots.
  • Added runtime docs screenshot assets.
  • Added Playwright regression coverage for the docs page on desktop and mobile.
  • Included desktop/mobile verification screenshots in the PR description.

Verification:

  • pnpm check
  • pnpm lint
  • pnpm test
  • pnpm test:integration
  • pnpm test:e2e -- e2e/main-docs.spec.ts
  • pnpm build
  • Fresh GitHub CI on f0e4e343... is green: CI and Lighthouse CI both passed.

Working tree is clean.


This summary was automatically extracted from the AI working session output.

@konard

konard commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $15.431959

📊 Context and tokens usage:

  • 429.8K / 200K (215%) input tokens, 39.1K / 128K (31%) output tokens

Total: (429.8K + 9.4M cached) input tokens, 39.1K output tokens, $15.431959 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Thinking level: max (~31999 tokens)
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Gist (3840KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard

konard commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator Author

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@Payel-git-ol

Copy link
Copy Markdown
Contributor
image Большинство стилей не lefine откуда серый взялся непонятное и почему снизу поиск надо было просто отдельную страницу сделать и та страница которая была на главной / перенести на другую а документацию на главную

@konard konard marked this pull request as draft July 7, 2026 02:12
@konard

konard commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 AI Work Session Started

Starting automated work session at 2026-07-07T02:12:55.450Z

The PR has been converted to draft mode while work is in progress.

This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback.

@konard konard changed the title Create main docs page Create standalone main documentation page Jul 7, 2026
@konard konard marked this pull request as ready for review July 7, 2026 02:44
@konard

konard commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

Working session summary

Done. PR #183 is updated and ready for review:

#183

Implemented the reviewer feedback: / is now the standalone Lefine docs page, the previous workspace is moved to /app, embedded gray docs were removed from the composer, and navigation/search/OpenSearch/tests now point to /app while legacy root deep links still work.

Verification passed locally:

  • corepack pnpm check
  • corepack pnpm lint
  • corepack pnpm test
  • corepack pnpm build
  • full e2e: 133 passed, 3 skipped

Fresh GitHub checks also passed on 3cd5c68:

  • CI: success
  • Lighthouse CI: success

Working tree is clean. Local preview is running at http://127.0.0.1:4173/.


This summary was automatically extracted from the AI working session output.

@konard

konard commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $19.996497

📊 Context and tokens usage:

  • 526.8K / 200K (263%) input tokens, 54.6K / 128K (43%) output tokens

Total: (526.8K + 12.3M cached) input tokens, 54.6K output tokens, $19.996497 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Thinking level: max (~31999 tokens)
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Gist (6020KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard

konard commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator Author

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@konard konard marked this pull request as draft July 11, 2026 06:01
@konard

konard commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 AI Work Session Started

Starting automated work session at 2026-07-11T06:01:39.912Z

The PR has been converted to draft mode while work is in progress.

This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback.

@konard konard marked this pull request as ready for review July 11, 2026 06:41
@konard

konard commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

Working session summary

PR #183 is ready for review and fully green.

  • Added commit df6b57e fixing canonical /app stage, localized docs, and OpenSearch routes.
  • Added regression coverage for legacy root links.
  • Updated the PR description and screenshots.
  • CI: all 8 checks pass; E2E reports 135 passed, 3 skipped.
  • PR is mergeable with a clean worktree and up-to-date release base.

This summary was automatically extracted from the AI working session output.

@konard

konard commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.6 Sol
  • Provider: OpenAI
  • Public pricing estimate: $27.761489

📊 Context and tokens usage:

  • 572.6K / 200K (286%) input tokens, 44.2K / 128K (35%) output tokens

Total: (572.6K + 20.0M cached) input tokens, 44.2K output tokens, $27.761489 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.6-sol
  • Thinking level: max (~31999 tokens)
  • Model: GPT-5.6 Sol (gpt-5.6-sol)

📎 Log file uploaded as Gist (6104KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard

konard commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator Author

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

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.

Create main/docs

2 participants