Repository navigation
Hide BottomAppBar in FacilityConfigPage when in app context #15545 - #15701
marcellamaki merged 1 commit into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
👋 Hi @tushaar-05, thanks for contributing! For the review process to begin, please verify that the following is satisfied:
📢✨ Before we assign a reviewer:
Also check that issue requirements are satisfied & you ran Pull requests that don't follow the guidelines will be closed. Reviewer assignment can take up to 2 weeks. |
🟡 Waiting for changesOutcome: reviewed Last updated: 2026-10-28 05:31 UTC |
Build Artifacts
Smoke test screenshot |
rtibblesbot
left a comment
There was a problem hiding this comment.
PR #15701: no findings.
Moving v-if="!isAppContext" onto <BottomAppBar> fixes #15545. DeviceSettingsPage already hides its bar the same way.
- CI passing.
- Jest not run locally: the worktree has no
node_modules. - Manual QA did not complete, so the app-context layout is unverified in a running app.
Next step: Needs a full code review by a human engineer, then manual QA once that reviewer sets Needs QA.
- The author is outside the team: confirm this should be built at all.
- User-visible files changed:
kolibri/plugins/facility/frontend/views/FacilityConfigPage/index.vue. - In app context, confirm the facility settings page shows no empty bottom bar and Save changes still works from the page body.
Written by rtibblesbot, an LLM-based coding agent.
| it('shows Save changes in the page content instead of the bottom app bar', () => { | ||
| renderPage({ isAppContext: true }); | ||
| const bottomBar = screen.getByTestId('bottom-bar'); | ||
| expect(screen.queryByTestId('bottom-bar')).not.toBeInTheDocument(); |
There was a problem hiding this comment.
praise: This test now fails without the fix. The old assertion passed even with the bug's empty bar rendered.
marcellamaki
left a comment
There was a problem hiding this comment.
Code review + manual QA confirm. Thank you @tushaar-05
|
Quick check on rtibblesbot's review of this PR: react 👍 helpful · 😕 mixed · 👎 not helpful. Reply with anything specific. |
Closes #15545
Summary
!isAppContextcheck up to<BottomAppBar>itself (similar to howDeviceSettingsPagehandles it), so the bar is completely hidden in the app.FacilityConfigPage.spec.jsto confirm the bottom bar isn't rendered in app mode.References
Visual Changes (Videos / Screenshots)
kolibriUI.mp4
fix.mp4
Reviewer guidance
pnpm test-jestforFacilityConfigPage.spec.jsand all other facility tests (all 129 tests passed).isAppContext: true), check that the empty bottom bar is gone and the save button sits inside the page form.AI usage
I used an AI assistant to help compare the template logic with
DeviceSettingsPageand adjust the corresponding test inFacilityConfigPage.spec.js. I reviewed and tested all changes locally before submitting.