Implement document tabs in mobile menu with full desktop feature parity#43
Merged
ThisIs-Developer merged 3 commits intomainfrom Mar 9, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add a Documents section to the mobile menu panel that shows all open tabs with the active one highlighted. Users can switch tabs by tapping, delete tabs via the × button, and create new tabs via the + button. The mobile tab list is kept in sync with the desktop tab bar via renderMobileTabList called from renderTabBar. Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Deploying markdown-viewer with
|
| Latest commit: |
448fc5c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://4f330933.markdown-viewer.pages.dev |
| Branch Preview URL: | https://copilot-implement-document-t.markdown-viewer.pages.dev |
Deploying markdownviewer with
|
| Latest commit: |
448fc5c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://08907eaa.markdownviewer.pages.dev |
| Branch Preview URL: | https://copilot-implement-document-t.markdownviewer.pages.dev |
Copilot
AI
changed the title
[WIP] Implement document tab in mobile tab view
Implement document tabs in the mobile menu
Mar 9, 2026
Replace the mobile tab's simple × delete button with the same three-dot (⋯) dropdown menu used on the desktop (Rename, Duplicate, Delete). Add a "Reset all files" button below the mobile tab list matching the desktop Reset button. Clean up the now-unused mobile-tab-delete-btn CSS. Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Copilot
AI
changed the title
Implement document tabs in the mobile menu
Implement document tabs in mobile menu with full desktop feature parity
Mar 9, 2026
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.
On screens ≤480px the desktop tab bar is hidden via CSS, leaving mobile users unable to switch, create, rename, duplicate, or reset documents. Two commits address this:
First commit — Mobile tab list (basic)
Added a Documents section to the mobile slide-out menu panel:
#mobile-tab-list) kept in sync viarenderMobileTabList()called at the end ofrenderTabBar()+new-tab button in the section headerswitchTab()+ close menuSecond commit — Feature parity with desktop
Replaced the stripped-down
×delete button with the same three-dot (⋯) dropdown used on the desktop:Dropdown positioning reuses the same
getBoundingClientRect()+position: fixedapproach so it escapes the panel's scroll container correctly.Also added a full-width Reset all files button (
#mobile-tab-reset-btn) below the tab list, wired toresetAllTabs(). Menu closes before the confirmation modal opens to avoid z-index overlap.Removed now-unused
.mobile-tab-delete-btnCSS; added.mobile-tab-item .tab-menu-btnvisibility rules.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.