Skip to content

UI Refactor, better error handling, & Caching

Latest

Choose a tag to compare

@allen-n allen-n released this 01 Jun 19:59
· 3 commits to main since this release
3e2764c

This release fixes some bugs, and adds some new functionality, detailed below:

  • Refactor UI to component-based architecture using modular HTML includes
  • Create shared UIManager for consistent dialog, sidebar, and alert handling
  • Introduce dark mode styling and improve responsive layout across devices
  • Add toast notifications and async loading states for better UX
  • Improve error handling including SpreadsheetApp.getUi() fallback support
  • Add caching mechanism using cyrb64Hash to prevent redundant API calls
  • Fix #4: Prevent UI context errors when SpreadsheetApp.getUi() is not available
  • Fix #5: Add caching to avoid unnecessary re-calls during sheet sorting
  • Replace legacy hashString with faster, collision-resistant cyrb64Hash
  • Reorganize code into namespaced structure (SheetsAI) for maintainability
  • Enhance clipboard functionality and user feedback across UI components