Skip to content

Conversation

@nikitayutanov
Copy link
Member

No description provided.

@nikitayutanov nikitayutanov marked this pull request as ready for review January 21, 2026 18:41
@nikitayutanov nikitayutanov added C2-refactoring Refactoring proposal D1-idea Gear Idea D6-vara-eth-idea Vara.Eth Idea labels Jan 21, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the sails payload forms logic by extracting it into a new shared package @gear-js/sails-payload-form to enable code reuse between the gear-idea and vara-eth-idea frontends.

Changes:

  • Created a new shared package @gear-js/sails-payload-form containing reusable form components, utilities, hooks, and types for handling Sails payload forms
  • Updated both gear-idea/frontend and vara-eth-idea/frontend to use the new shared package, removing duplicate code
  • Added workspace configuration and build setup for the new package

Reviewed changes

Copilot reviewed 82 out of 89 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
utils/sails-payload-form/* New shared package containing extracted sails payload form logic
idea/gear/frontend/src/features/sails/* Removed duplicate code and integrated with shared package
idea/vara-eth/frontend/src/features/sails/* Removed duplicate code and integrated with shared package
idea/gear/frontend/vite.config.ts Added alias configuration for the shared package
idea/gear/frontend/tsconfig.app.json Added path mapping for the shared package
idea/vara-eth/frontend/vite.config.ts Added alias configuration for the shared package
idea/vara-eth/frontend/tsconfig.app.json Added path mapping for the shared package
yarn.lock Added workspace entry for the new package
package.json Added the new package to workspaces
lerna.json Added the new package to lerna configuration
eslint.config.mjs Added the new package to ESLint configuration
idea/gear/frontend/Dockerfile Updated yarn workspaces focus command

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@nikitayutanov nikitayutanov force-pushed the ny-payload-form-lib branch 2 times, most recently from db7ab54 to 849168d Compare January 21, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C2-refactoring Refactoring proposal D1-idea Gear Idea D6-vara-eth-idea Vara.Eth Idea

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants