Skip to content

Conversation

atyrode
Copy link
Contributor

@atyrode atyrode commented May 5, 2025

This adds tabs at the bottom of the app, as well as proper per-pad backups and a new Main Menu option to manage your tabs (for mobile users)

atyrode added 23 commits May 2, 2025 08:11
- Added a new Tabs component for enhanced functionality within the Excalidraw interface.
- Integrated the Footer component to house the Tabs, improving layout and user interaction.
- Updated ExcalidrawWrapper to conditionally render the Footer and Tabs based on the excalidrawAPI availability.
- Introduced a new Tabs.scss file for styling the Tabs component.
- Updated Tabs.tsx to implement a tabs bar with a new button for creating a new pad, enhancing user interaction within the Excalidraw interface.
…ogout messages

- Updated logging statements in vite.config.mts, BuildVersionCheck.tsx, and MainMenu.tsx to use console.debug instead of console.log for improved log level management.
- Added a prefix '[pad.ws]' to debug messages for better context in logs.
- Deleted the main execution block in coder.py that instantiated CoderAPI and performed workspace status checks, streamlining the code for better modularity.
- Updated PadRepository to return pads sorted by creation timestamp for better organization.
- Refactored PadService to include type annotations for pads and removed redundant checks for existing pads during creation and updates.
- Implemented new API endpoints in PadRouter for updating, renaming, and deleting pads, enhancing user interaction with pad data.
- Introduced a context menu in the frontend for pad actions (rename, delete) and improved pad selection handling in Tabs component.
- Added utility functions for managing pad data in local storage, ensuring a seamless user experience across sessions.
- Implemented a new API endpoint to retrieve backups for a specific pad, including ownership verification and backup data formatting.
- Updated frontend API hooks to support fetching pad backups and integrated this functionality into the BackupsDialog component.
- Enhanced the context menu and tab components to improve user interaction with pad actions and backup management.
- Refactored styles for the tab context menu to improve UI consistency and responsiveness.
- Refactored TabContextMenu and Tabs components to improve user interaction with context menus.
- Introduced a new Popover component for better positioning and handling of context menus.
- Updated styles for context menus to ensure consistency and responsiveness across different screen sizes.
- Added functionality for dynamic context menu items based on user actions, including rename and delete options.
- Improved tooltip display logic in Tabs component for better user experience with long pad names.
- Added scroll buttons for navigating through tabs, improving user experience when there are more pads than can fit in the view.
- Implemented functionality to store and retrieve the current scroll index in local storage, ensuring consistent tab visibility across sessions.
- Updated tab styles for better layout and responsiveness, including new styles for tab content and positioning.
- Refactored Tabs component to handle horizontal scrolling via mouse wheel events, enhancing navigation efficiency.
- Enhanced the Tabs component to ensure newly created pads are visible by adjusting the start pad index based on the current pads in the query cache.
- Updated tooltip logic to display truncated pad names more effectively, improving user experience with long pad names.
- Removed border from tab buttons for a cleaner look.
- Added a solid border to active tab buttons to enhance visibility.
- Adjusted styles for new tab button container to maintain consistency in design.
- Introduced a new PadsDialog component to facilitate pad management, including renaming and deleting pads.
- Updated ExcalidrawWrapper and MainMenuConfig to integrate the new PadsDialog, allowing users to access it from the main menu.
- Enhanced the Tabs component to handle active pad changes via custom events, improving synchronization across components.
- Added styles for the PadsDialog to ensure a consistent and user-friendly interface.
- Implemented analytics tracking for pad creation, renaming, and deletion events to enhance user insights.
@atyrode atyrode merged commit f0e077a into main May 5, 2025
1 check passed
@atyrode atyrode deleted the tabs branch May 5, 2025 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant