René's URL Explorer Experiment


Title: Expand / collapse (maximize) toggle for the chat composer · Issue #48 · modelstudioai/openwork · GitHub

Open Graph Title: Expand / collapse (maximize) toggle for the chat composer · Issue #48 · modelstudioai/openwork

X Title: Expand / collapse (maximize) toggle for the chat composer · Issue #48 · modelstudioai/openwork

Description: Problem or Motivation OpenWork's chat composer (FreeFormInput) auto-grows as you type, but only up to a fixed cap — min(66% of window height, 540px). There is no way to deliberately give the input a large editing area. When drafting or e...

Open Graph Description: Problem or Motivation OpenWork's chat composer (FreeFormInput) auto-grows as you type, but only up to a fixed cap — min(66% of window height, 540px). There is no way to deliberately give the input ...

X Description: Problem or Motivation OpenWork's chat composer (FreeFormInput) auto-grows as you type, but only up to a fixed cap — min(66% of window height, 540px). There is no way to deliberately give the in...

Opengraph URL: https://github.com/modelstudioai/openwork/issues/48

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Expand / collapse (maximize) toggle for the chat composer","articleBody":"## Problem or Motivation\n\nOpenWork's chat composer (`FreeFormInput`) auto-grows as you type, but only up to\na **fixed cap** — `min(66% of window height, 540px)`. There is no way to\ndeliberately give the input a large editing area. When drafting or editing a long\nprompt (a spec, a big paste, a multi-paragraph instruction), you're stuck writing\nand scrolling inside a small box even when the window has plenty of room.\n\nComparable desktop chat surfaces (Claude's desktop app, ChatGPT desktop, Codex\ndesktop) all offer a **maximize / expand** affordance on the composer so you can\npop the input open into a tall editor for composing long messages, then collapse\nit back. OpenWork is the conspicuous exception: the composer toolbar already has a\nmodel picker, a thinking-level picker, a context-usage indicator and an attach\ncontrol, but no expand toggle.\n\n## Proposed Solution\n\nAdd an **expand / collapse toggle** to the composer toolbar (right-side controls,\nnext to the thinking-level and model pickers, mirroring their `!compactMode`\nrule):\n\n- A small icon button (Maximize when collapsed, Minimize when expanded) with a\n  tooltip (\"Expand composer\" / \"Collapse composer\") and `aria-pressed` reflecting\n  the state.\n- Clicking it maximizes the input to a large share of the window\n  (`max(78% of window height, 560px)`, recomputed on resize) by applying a tall\n  `minHeight`/`maxHeight` to the editable area, so the box is genuinely large even\n  when empty.\n- Clicking again collapses it back to the normal auto-grow cap.\n- The maximized state resets when switching sessions, so a new conversation always\n  starts compact.\n\nThis is a **frontend-only** change:\n\n- It only adjusts the renderer's local layout state (`isComposerExpanded`) and the\n  inline height style already applied to the `RichTextInput`. No backend / no\n  qwen-code change.\n- Two new i18n keys (`chat.expandComposer`, `chat.collapseComposer`) added to all\n  locales for the tooltip.\n\n## Alternatives Considered\n\n- **Auto-grow only** (the status quo) helps for moderate text but caps out; it\n  can't be opened deliberately for long-form composing, and never exceeds ~540px.\n- **A separate full-screen editor modal** would be heavier and diverge from the\n  established composer-toolbar pattern (model/thinking pickers) that this mirrors.\n  An inline maximize is the lighter, more discoverable fit and can be layered with\n  a modal later if wanted.\n\n## Additional Context\n\nFeasibility: **frontend-only / doable.** Verified against `apps/electron` — the\ncomposer already owns its height state (`inputMaxHeight`, computed from the window\nin a resize effect) and passes an inline `style` (merged onto the contenteditable)\nto `RichTextInput`; the toggle just introduces a second, larger height and swaps\nwhich one is applied.\n\n### Acceptance criteria (CDP e2e assertion)\n\nA new `e2e/assertions/composer-expand.assert.ts` drives the real built app over\nCDP entirely in the draft (no-session) state — no seeded conversation needed:\n\n1. The composer renders the expand toggle, initially `aria-pressed=\"false\"`.\n2. Measure the input area's height (collapsed).\n3. Click the toggle → the input **grows substantially** (height \u003e= 2× the\n   collapsed height) **and** the toggle flips to `aria-pressed=\"true\"`.\n4. Click again → the input **collapses back** to roughly its start height **and**\n   the toggle returns to `aria-pressed=\"false\"`.\n\nThe height measurements prove the toggle actually *resizes* the composer, not\nmerely swaps an icon.\n\nPart of the autonomous desktop-feature loop (`loop-bot`).","author":{"url":"https://github.com/DragonnZhang","@type":"Person","name":"DragonnZhang"},"datePublished":"2026-07-03T01:37:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/48/openwork/issues/48"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d7b44c5c-3c0a-16be-0449-26ce10e8f72b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCA60:20A2E2:1559A87:1CFD9EC:6A52271C
html-safe-noncef78d2fa3b8a2a7a459838af28d93329e6dd4f2c14c78a15ec59af1a23363034b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTYwOjIwQTJFMjoxNTU5QTg3OjFDRkQ5RUM6NkE1MjI3MUMiLCJ2aXNpdG9yX2lkIjoiNjQ5MDgwODE3MTU0Nzk5Mzg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfbe8b1d37c9077832df728f61695bfd9ed7fba9fe5d33f159712e4b9f2f4b7b4
hovercard-subject-tagissue:4799425175
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelstudioai/openwork/48/issue_layout
twitter:imagehttps://opengraph.githubassets.com/72b08c60fd7669d7b188117885f56628907938fc0ffaa48a4ba8d7d7e2f9a622/modelstudioai/openwork/issues/48
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/72b08c60fd7669d7b188117885f56628907938fc0ffaa48a4ba8d7d7e2f9a622/modelstudioai/openwork/issues/48
og:image:altProblem or Motivation OpenWork's chat composer (FreeFormInput) auto-grows as you type, but only up to a fixed cap — min(66% of window height, 540px). There is no way to deliberately give the input ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDragonnZhang
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/modelstudioai/openwork git https://github.com/modelstudioai/openwork.git
octolytics-dimension-user_id283556804
octolytics-dimension-user_loginmodelstudioai
octolytics-dimension-repository_id1256697754
octolytics-dimension-repository_nwomodelstudioai/openwork
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1256697754
octolytics-dimension-repository_network_root_nwomodelstudioai/openwork
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelstudioai/openwork/issues/48#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelstudioai%2Fopenwork%2Fissues%2F48
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelstudioai%2Fopenwork%2Fissues%2F48
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelstudioai%2Fopenwork
Reloadhttps://github.com/modelstudioai/openwork/issues/48
Reloadhttps://github.com/modelstudioai/openwork/issues/48
Reloadhttps://github.com/modelstudioai/openwork/issues/48
Please reload this pagehttps://github.com/modelstudioai/openwork/issues/48
modelstudioai https://github.com/modelstudioai
openworkhttps://github.com/modelstudioai/openwork
Notifications https://github.com/login?return_to=%2Fmodelstudioai%2Fopenwork
Fork 3 https://github.com/login?return_to=%2Fmodelstudioai%2Fopenwork
Star 11 https://github.com/login?return_to=%2Fmodelstudioai%2Fopenwork
Code https://github.com/modelstudioai/openwork
Issues 14 https://github.com/modelstudioai/openwork/issues
Pull requests 12 https://github.com/modelstudioai/openwork/pulls
Actions https://github.com/modelstudioai/openwork/actions
Projects https://github.com/modelstudioai/openwork/projects
Security and quality 0 https://github.com/modelstudioai/openwork/security
Insights https://github.com/modelstudioai/openwork/pulse
Code https://github.com/modelstudioai/openwork
Issues https://github.com/modelstudioai/openwork/issues
Pull requests https://github.com/modelstudioai/openwork/pulls
Actions https://github.com/modelstudioai/openwork/actions
Projects https://github.com/modelstudioai/openwork/projects
Security and quality https://github.com/modelstudioai/openwork/security
Insights https://github.com/modelstudioai/openwork/pulse
#49https://github.com/modelstudioai/openwork/pull/49
Expand / collapse (maximize) toggle for the chat composerhttps://github.com/modelstudioai/openwork/issues/48#top
#49https://github.com/modelstudioai/openwork/pull/49
enhancementNew feature or requesthttps://github.com/modelstudioai/openwork/issues?q=state%3Aopen%20label%3A%22enhancement%22
loop-bothttps://github.com/modelstudioai/openwork/issues?q=state%3Aopen%20label%3A%22loop-bot%22
https://github.com/DragonnZhang
DragonnZhanghttps://github.com/DragonnZhang
on Jul 3, 2026https://github.com/modelstudioai/openwork/issues/48#issue-4799425175
enhancementNew feature or requesthttps://github.com/modelstudioai/openwork/issues?q=state%3Aopen%20label%3A%22enhancement%22
loop-bothttps://github.com/modelstudioai/openwork/issues?q=state%3Aopen%20label%3A%22loop-bot%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.