-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: sync #54
Merged
Merged
feat: sync #54
Conversation
This file contains 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
- Updated various dependencies in package.json and package-lock.json to their latest versions, including React, DnD Kit, FontAwesome, and others. - Introduced TypeScript support by adding tsconfig.json and type declarations for SVG and PNG files. - Removed the reportWebVitals.js file and its references from index.js to streamline the application. - Cleaned up devDependencies and ensured compatibility with the latest libraries.
- Removed legacy JavaScript files and replaced them with TypeScript versions for improved type safety and maintainability. - Cleaned up unused files and optimized imports across the application. - Implemented conditional rendering for JSONPreview in development mode.
- Replaced the legacy JavaScript CharacterList and NewCharacterButton with TypeScript versions, enhancing type safety and maintainability. - Removed outdated JavaScript files to streamline the codebase and improve overall application structure.
…oving type safety and maintainability. - Updated existing components to utilize new props and state management patterns. - Cleaned up unused files and optimized imports for better performance and readability.
…ing credentials, attributes, and proof requests. - Enhanced test coverage for credential-related functionalities in json-helper.spec.ts. - Made minor adjustments to types and imports across multiple files for consistency and clarity.
…istency. - Introduced new helper functions for managing onboarding steps, including adding, updating, and removing credentials. - Updated the `OnboardingPage` to handle state management and rendering of onboarding steps effectively. - Enhanced type safety by converting components to TypeScript and updating type definitions. - Cleaned up imports and optimized component structure for better maintainability.
…dingStep`, `isArrayProperty`, `updateOnboardingStepSingleValue`, `updateOnboardingStepCredentials`, `removeOnboardingStepCredential`, and `addOnboardingStepCredential`.
- Added state management using `useImmer` for handling nested JSON structures, enhancing performance and maintainability. - Updated `DEFAULT_JSON` to include a new `screenId` for onboarding steps. - Created a new `ScenarioPage` component to manage scenarios, including adding and editing steps with dynamic credential handling. - Refactored existing components to utilize updated props and state management patterns, ensuring type safety across the application. - Introduced new helper functions for updating JSON properties and managing state transitions effectively.
…e-dependencies [SHOWCASE-18] Update dependencies, add TypeScript support, and remove unused files
- Converted project from Create React App to Next.js 14 with TypeScript - Restructured project files and directories to follow Next.js conventions - Added new configuration files: tailwind.config.ts, tsconfig.json - Implemented theme provider and dark mode toggle - Created UI components using shadcn/ui pattern - Removed legacy React and src folder files - Updated dependencies and added Next.js specific configurations
- Added jest.config.ts for configuring Jest with Next.js - Updated package.json with test scripts and testing library dependencies - Implemented comprehensive test suite for json-helper functions
- Migrated credentials and onboarding pages to use modern React hooks and state management - Introduced new `useCredentials` hook for managing credential state - Updated components to use Radix UI and shadcn/ui components - Simplified page layouts with two-column design - Added Zod schema validation for credential form - Removed legacy components and consolidated file structure
- Introduced a new LanguageSelector component with language switching functionality - Added Radix UI Dialog and Popover components for enhanced UI interactions - Updated package.json with new dependencies: @radix-ui/react-dialog, @radix-ui/react-popover, and cmdk - Implemented cookie-based language preference persistence - Created reusable UI components for command palette and dialog interactions
- Migrated onboarding screen components to use modern React hooks and state management - Introduced new `useOnboarding` and `useIssueStep` hooks for managing onboarding state - Created Zod schemas for form validation in onboarding steps
- Migrated scenario screen components to use modern React hooks and state management - Introduced new `useScenarios` hook for managing scenario state - Created Zod schemas for form validation in scenario steps and scenarios
…cra-to-next-js Migrate project to Next.js and update project structure
- Introduced `scenarioToFormData` transformer for consistent data conversion - Improved type safety in scenario editing and step management - Extracted common utility functions like `convertBase64` - Updated Zod schemas to use literal types and more precise validations - Enhanced test coverage for scenario-related functionality
- Removed @fortawesome/react-fontawesome and @fortawesome/free-solid-svg-icons dependencies - Replaced FontAwesomeIcon components with Lucide icons across multiple components
- Upgrade cmdk from 1.0.0 to 1.0.4 - Add @dnd-kit/react package - Update tslib to version 2.8.1 - Remove redundant type dependencies
- Create test suite for `cn` class name merging utility - Add test for `convertBase64` file conversion utility
…ASE_19 # Conflicts: # app/[locale]/layout.tsx # components/credentials/CredentialsEdit.tsx # components/credentials/CredentialsForm.tsx # components/credentials/CredentialsScreen.tsx # components/credentials/components/Credential.tsx # components/credentials/components/CredentialAttribute.tsx # components/credentials/components/CredentialAttributesList.tsx # components/json-uploader.tsx # components/navbar.tsx # components/onboarding-screen/BasicStepEdit.tsx # components/onboarding-screen/LocalFileUpload.tsx # components/onboarding-screen/SortableStep.tsx # components/onboarding-screen/create-step.tsx # components/pages/OnboardingPage.tsx # components/pages/ScenarioPage.tsx # components/save-modal.tsx # components/scenario-screen/EditProofRequest.tsx # components/scenario-screen/LocalFileUpload.tsx # components/scenario-screen/ScenarioEdit.tsx # components/scenario-screen/ScenarioStep.tsx # package-lock.json
- Add test, lint, and typecheck steps to CI pipeline - Ensure build process runs after all checks pass
- Disable TypeScript version warning in ESLint configuration - Upgrade eslint-config-next to version 15.1.6
Feature/showcase 19
- Add translation support to ProofAttribute and ScenarioStep components - Modify scenario step creation with more flexible title initialization - Update localization files with new translation keys - Remove commented-out code and improve null coalescing
Update i18n library
…tions-for-build Showcase 20 GitHub actions for build
…ios-screen Showcase 32 fix scenarios screen
bryce-mcmath
approved these changes
Feb 11, 2025
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.
No description provided.