Skip to content

Conversation

@mfittko
Copy link

@mfittko mfittko commented Apr 1, 2025

This pull request introduces a new feature for toolbar configuration, allowing users to hide the toolbar and set a default tool. The changes span multiple files and include updates to the configuration context, UI components, and URL handling. The most important changes are detailed below:

Documentation Updates:

  • docs/features/toolbar-config.md: Added comprehensive documentation for the toolbar configuration feature, including user stories, implementation checklist, technical details, and key UX considerations.

Implementation Examples:

…n examples

- Introduced documentation for the toolbar configuration feature, detailing user stories, implementation checklist, and technical details.
- Added implementation examples for updating ConfigContext, ConfigModal, and Index components to support toolbar visibility and default tool selection.
- Included necessary translation updates for new UI elements and settings.
mfittko and others added 11 commits April 1, 2025 12:04
…ations

- Implemented toolbar visibility toggle in ConfigModal, allowing users to show or hide the toolbar.
- Updated ConfigContext to manage toolbar visibility state and persist it in local storage.
- Enhanced Index component to conditionally render the toolbar based on the visibility state.
- Added necessary translations for toolbar visibility settings in multiple languages.
- Updated Index component to show GeometryHeader only when the toolbar is visible.
- Adjusted layout calculations to account for toolbar visibility, ensuring proper spacing and layout when the toolbar is hidden.
- Enhanced user experience by maintaining the header's position in the layout even when the toolbar is not displayed.
…ation checklist progress

- Marked completed items in the implementation checklist for the toolbar configuration feature.
- Updated documentation to reflect the current status of configuration context updates, UI updates, index component integration, translations, and key UX considerations.
- Ensured clarity and completeness of the documentation for future reference and development.
- Added .npmrc settings to fix Rollup native module issues and manage optional dependencies.
- Modified package.json build script to include node options for Vercel compatibility.
- Introduced vercel.json for deployment configuration, specifying build and install commands.
@vercel
Copy link

vercel bot commented Apr 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
function-playground ❌ Failed (Inspect) Apr 2, 2025 8:23am

mfittko added 3 commits April 2, 2025 10:04
- Updated Rollup to version 3.29.5 in package.json and package-lock.json.
- Added support for various platforms in package-lock.json, including Android, Darwin, FreeBSD, Linux, and Windows architectures.
- Updated @types/estree to version 1.0.7 for improved type definitions.
…unction-playground into feature/configurable-toolbar
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.

3 participants