feat(commerce): reports_only hides Library and defaults to task board#4711
Merged
Conversation
…ard default Hides the Library toggle for commerce (reports-only) orgs and defaults the main panel to the task board when no explicit ?main param is present. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… panel Replace the panel-force-open behavior with the correct intent: reports_only orgs have task_board_enabled treated as true so the Tasks button appears in the toolbar without needing a manual settings toggle. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
decocms Bot
pushed a commit
that referenced
this pull request
Jul 17, 2026
PR: #4711 feat(commerce): reports_only hides Library and defaults to task board Bump type: minor - decocms (apps/mesh/package.json): 4.72.3 -> 4.73.0 Deploy-Scope: web
rafavalls
added a commit
that referenced
this pull request
Jul 22, 2026
Resolve conflicts between the top-bar redesign and main: - Tasks/Library/runtime-switcher toggles: keep the redesign that folds the agent-independent overlays into the main-panel tab bar; drop the now-orphaned library-toggle / tasks-toggle / runtime-switcher files. - Port main's features into the redesign: reports-only hides the Library overlay (#4711), task board graduated out of its org flag (#4883, dropped useTaskBoardEnabled), i18n strings (#4971), and the new Connect-to-Claude footer action (#2765). - sidebar footer: keep the redesign's unified account row (Settings tucked into a bottom-right icon) but restore the reports-only trimmed extra-actions variant. - preview: keep the redesign's header-portal structure over main's inline toolbar; main's a11y/focus/reload fixes auto-merged and are preserved. Verified: tsc --noEmit, oxlint (0 errors), knip (clean).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this contribution about?
Two behavior changes gated on the `reports_only` org flag for commerce orgs:
Screenshots/Demonstration
Manual testing required — enable `reports_only` on a local org and verify the Library button is absent and the Tasks toggle is visible without touching settings.
How to Test
Review Checklist