Skip to content

Restore the composer context window indicator as an optional setting #33639

Closed

Description

@arandomhooman

What happened

Please add back the composer's context window display as a setting. It was a legacy option, and it was recently removed.

Diagnosis

This is an intentional removal, not a regression. #33131 deleted ContextWindowMeter, its composer wiring, and the contextWindowMeterEnabled setting. The PR's reason is that Thread details already shows context usage.

The Thread details item does not fully replace the meter:

  • The meter was in the composer footer. The replacement is a row in the Thread details card.
  • The meter's hover popover had a Compact context button for providers that support compaction. That button is gone, and users now have to send /compact.
  • The popover also showed total processed tokens and cost when available. ThreadDetailsContext shows only context usage and the auto-compaction threshold.
  • contextWindowMeterEnabled was not migrated. The Thread details Context window item defaults to off and only inherits from threadDetailsUsageEnabled, so people who had the meter on lose context usage until they find the new setting.

The web client still receives this usage snapshot for Thread details, so restoring the meter behind a client setting should not need a server change.

Requested: bring back the meter behind a setting, off by default as before, including its Compact context action.

Steps to reproduce

  1. Run a build that includes feat(settings): clean up Labs: promote tool calls, remove plan mode and old toggles #33131, such as v0.1.8.
  2. Open Settings → Labs. The Context window indicator toggle is gone.
  3. Open a thread whose provider reports context usage.
  4. The composer footer shows no context window indicator, and no setting brings it back.

Version

0.1.9-nightly.20261109.4443 (removal also present in v0.1.8)

Environment

Windows 11 x64, T3 Code Nightly desktop app, Node 26.13.0

Evidence

#33131, merge commit 521ac7c218b3faa74281fb72fc36ce74a0951fb3:
  deleted apps/web/src/components/chat/ContextWindowMeter.tsx (-180)
  deleted apps/web/src/components/chat/ContextWindowMeter.logic.ts (-85)
  removed contextWindowMeterEnabled from packages/contracts/src/settings.ts

Replacement on main, apps/web/src/components/chat/threadDetailsItems.ts:
  { id: "context", label: "Context window", defaultVisible: false }

Related issues

#33131 removed it. #26499 asked to make it a regular setting and is closed. #9190 made it opt-in. No open issue requests restoring it.

Fix applied or workaround

Nothing was changed on the machine. Partial workaround: turn on Settings → Appearance → Thread details → Context window, and send /compact manually.

Filed by

claude (claude-opus-5-5) in T3 Code, following the t3 triage playbook

Activity

  1. bermudi commented on Nov 10, 2026

    @bermudi

    Holy shit Theo, not everyone is you. Stop trying to force everyone to do things EXACTLY how you want them done. LET US MANAGE OUR OWN DAMN CONTEXT!!! NOT EVERYONE CAN SPEND THOUSANDS ON SUBSCRIPTIONS AND WASTE MONEY LIKE THERE IS NO TOMORROW

    @t3dotgg

  2. arandomhooman commented on Nov 10, 2026

    @arandomhooman
    Author

    Yeah that but a lil less agressive. I really really wanna know what context I'm at. Likeee, this is doubly true on cheaper plans. I don't mind resuming a cold thread at 50-100k context but if it's 300k I'd rather make a new one. This is such a simple thing to have and doesn't interfere, would really like it back.

    Theo, I get you got like 5 Ultra subs. But not all of us do :/

    P.s. while we wait for this to probably get closed (lol) if you got to settings -> appearance -> thread details you cna make the context window appear there. Annoying, off by default, and less intuitive, but ig it exists :/

  3. arandomhooman commented on Nov 10, 2026

    @arandomhooman
    Author

    @juliusmarminge @maria-rcks I mean you could also bring this back 💔

  4. YPQuinn commented on Nov 10, 2026

    @YPQuinn

    couldn't agree more, I really need this indicator.

  5. mgabor3141 commented on Nov 10, 2026

    @mgabor3141

    Context window indicator is removed. Thread details already shows context usage (Settings → Appearance → Thread details → Context window).

    This could have been a settings migration at least, I didn't know that this was an option in thread details.

    That said, I would like to see it in the "normal spot" if possible. Also on mobile.

    I agree that this doesn't belong in Labs (which was the point of the PR, it just overextended a little bit it seems). Should have moved it to Chat and/or Appearance just like tool calls. Unlike Plan mode this has barely any development/complexity overhead to keep around.

    Please?

  6. t3dotgg commented on Nov 10, 2026

    @t3dotgg
    Member
    Image

    Right click the thread detail card.

    I'm not clogging up the composer for this stupid indicator anymore.

  7. t3dotgg commented on Nov 10, 2026

    @t3dotgg
    Member

    @bermudi you in particular should uninstall our software. I will ban you from the repo if you ever leave a comment like this again.

    You spent actual time being a dick to me personally for giving out software I could charge millions of dollars for for free. You spent zero time checking if there was an alternative option in the software.

    You're an ungrateful prick who is lazy as shit, and I do not care about your opinions. If you don't like me for cleaning up messes, you should go use some closed source messy software that never gets updated. Will fit you much better :)

    Image
  8. deleted a comment from DitherDude on Nov 10, 2026
  9. kevin-stuart commented on Nov 10, 2026

    @kevin-stuart

    Hey Theo (@t3dotgg), just to let you know, I liked and preferred having the little bubble there. The card is not visible if the width is not wide enough. It was an option for a reason. I would be in the "please" camp such as mgabor3141 as well.

    I concur that this would belong outside of labs and more in appearance. I feel you were a bit heated in the discussion with your bias, but from a more objective standpoint, I think there are people that like having this and reason for having this as an option instead of imposing a preference on everyone does feel like the worse option. Please reconsinder how this is handled.

    Thank you for having build T3 code with the thoughtful features and you and your teams hard work.

  10. arandomhooman commented on Nov 10, 2026

    @arandomhooman
    Author
    Image Right click the thread detail card.

    I'm not clogging up the composer for this stupid indicator anymore.

    Could we get smth like it on mobile perchance 🥺

  11. lAiasu commented on Nov 10, 2026

    @lAiasu

    I don't usually whine at UI changes but this is an absolutely baffling decision.

  12. bermudi commented on Nov 10, 2026

    @bermudi

    @bermudi you in particular should uninstall our software. I will ban you from the repo if you ever leave a comment like this again.

    You spent actual time being a dick to me personally for giving out software I could charge millions of dollars for for free. You spent zero time checking if there was an alternative option in the software.

    You're an ungrateful prick who is lazy as shit, and I do not care about your opinions. If you don't like me for cleaning up messes, you should go use some closed source messy software that never gets updated. Will fit you much better :)
    Image

    I was out line. I have no problem accepting that.

    You spent zero time checking if there was an alternative option in the software.

    In my defense it is really hard dealing with your aura of arrogance where everyone who disagrees with you is nothing but an idiot. I did check the release notes. Zero fucking mentions there. https://github.com/pingdotgg/t3code/releases/tag/v0.1.8
    I did try to right click everywhere that occurred to me, unfortunately i didn't fucking think of right clicking the card because I'm not theo therefore I'm an idiot for not knowing the card is the only thing that is configured with right click and not in settings. I guess I should have launched 5 agents to search the codebase to make sure it was really, really gone before commenting. What an idiot.

    Ban me, see how much I care. I've said my peace.

  13. juliusmarminge commented on Nov 10, 2026

    @juliusmarminge
    Member

    Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

  14. arandomhooman commented on Nov 10, 2026

    @arandomhooman
    Author

    Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.

    Not quite, this is an existing feature, not new. Just removed. All the confirmed working code for it exists and was in the project before.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions