Commit graph

150 commits

Author SHA1 Message Date
cristhianzl
ea8b5faad2 check SO before add keyboard command 2024-03-09 09:30:32 -03:00
Lucas Oliveira
2f586c32b9 Fixed design of new flow modal 2024-03-07 02:01:26 +01:00
anovazzi1
d6bbcd6bed record har file 2024-02-28 11:49:27 -03:00
Lucas Oliveira
efd4f80dcd Made animations with X and Check 2024-02-26 20:17:04 +01:00
cristhianzl
9f6a6251c3 🔧 fix(menuBar): replace Tooltip component with ShadTooltip component for better styling and consistency
🔧 fix(genericModal): change IconComponent name based on myModalTitle value to improve visual representation
🔧 fix(nodeToolbarComponent): replace IconComponent name "Code2" with "TerminalSquare" for better icon representation
2024-02-26 14:12:59 -03:00
Gabriel Luiz Freitas Almeida
64c7ef37ad Merge remote-tracking branch 'origin/dev' into zustand/io/migration 2024-02-26 13:56:56 -03:00
cristhianzl
fb98cc6e51 start fix tests 2024-02-23 12:30:30 -03:00
anovazzi1
165491e60b refactor(GenericNode/index.tsx): import Loading component for better code organization and readability
fix(GenericNode/index.tsx): update the button onClick logic to prevent building flow when the build status is already set to 'BUILDING'
2024-02-22 15:49:24 -03:00
Lucas Oliveira
463847ab6a
Improve group (#1406)
group components without edges losses
2024-02-22 13:31:20 +01:00
anovazzi1
e2ba143171 prevent save on buid using isBuilding 2024-02-21 14:47:45 -03:00
cristhianzl
7e42b52d8c Merge branch 'dev' into zustand/io/migration 2024-02-15 18:19:33 -03:00
Lucas Oliveira
ec545d0d5a Added cable icon to IO 2024-02-15 21:19:30 +01:00
anovazzi1
c5d84549a4 Update package-lock.json and fix error handling in newChatView 2024-02-14 15:39:44 -03:00
anovazzi1
86d866895a Add setNoticeData to handle missing ChatOutput node 2024-02-14 14:30:01 -03:00
anovazzi1
f591c480ce update group node function to reconnect edges when create groupNode 2024-02-06 16:57:52 -03:00
anovazzi1
d0a61fb084 Fix bug in login functionality***
***Update README with new instructions***

***Refactor code for better performance***

***Add new feature for user authentication***

***Fix formatting issues in code***

***Update dependencies to latest versions***

***Remove unused variables***

***Fix broken links in documentation***

***Add error handling for edge cases***

***Optimize database queries
2024-02-06 14:39:11 -03:00
dependabot[bot]
e617d36387
Bump vite from 4.5.1 to 4.5.2 in /src/frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 22:03:43 +00:00
Gabriel Luiz Freitas Almeida
392b81b519 Reapply "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes"
This reverts commit f3b3d2cf68.
2024-02-05 19:02:34 -03:00
Gabriel Luiz Freitas Almeida
f3b3d2cf68
Revert "Refactor state management to use Zustand, migrate components to CustomComponent and other fixes" 2024-02-05 18:29:03 -03:00
Lucas Oliveira
1ad2b0b9f2 Fix build button not working with beta badge 2024-01-30 16:27:11 +01:00
cristhianzl
d250bf868b fix(headerComponent): handle case where stars is null by displaying 0 instead to prevent rendering issues 2024-01-11 09:52:02 -03:00
cristhianzl
2899eacdc9 lock 2024-01-10 22:49:04 -03:00
cristhianzl
3babfedc05 lock 2024-01-10 11:04:09 -03:00
Lucas Oliveira
6a6d11447b Get types done at App.tsx and fixed handle position 2024-01-05 18:13:51 -03:00
cristhianzl
beb0223605 chore(package.json): add zustand package as a dependency to the frontend package.json file
fix(codeTabsComponent): remove unused imports and update import for FlowsContext

fix(headerComponent): remove unused imports and update import for FlowsContext, useDarkStore, and remove darkContext

fix(tagsSelectorComponent): remove unused import and update import for useDarkStore

refactor(darkStore): move darkContext functionality to a separate zustand store called darkStore

refactor(index.tsx): remove import for darkContext and DarkProvider

fix(codeAreaModal): remove unused imports and update import for useDarkStore

feat(darkStore): add zustand store for managing dark mode state, stars count, and gradient index

feat(darkStore): fetch and set stars count from API in darkStore

feat(darkStore): generate and set random gradient index in darkStore

feat(darkStore): add updateDark, updateStars, and updateGradientIndex actions to darkStore

feat(darkStore): initialize dark mode state, stars count, and gradient index in darkStore

feat(darkStore): fetch and set stars count from API in darkStore

feat(darkStore): generate and set random gradient index in darkStore

feat(darkStore): add updateDark, updateStars, and updateGradientIndex actions to darkStore

feat(darkStore): initialize dark mode state, stars count, and gradient index in darkStore
2024-01-04 11:17:09 -03:00
Gabriel Luiz Freitas Almeida
df443d7986 Add pretty-quick package for code formatting 2023-12-20 08:17:46 -03:00
Gabriel Luiz Freitas Almeida
a0cf3c3a02
Update frontend dependencies (#1198) 2023-12-11 15:10:34 -03:00
Gabriel Luiz Freitas Almeida
c59f87c420 🔒 chore(frontend): update @adobe/css-tools to version 4.3.2 for security and bug fixes
🔒 chore(frontend): update @babel/code-frame to version 7.23.5 for bug fixes
🔒 chore(frontend): update @babel/generator to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/helper-string-parser to version 7.23.4 for bug fixes
🔒 chore(frontend): update @babel/highlight to version 7.23.4 for bug fixes
🔒 chore(frontend): update @babel/parser to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/traverse to version 7.23.6 for bug fixes
🔒 chore(frontend): update @babel/types to version 7.23.6 for bug fixes
🔒 chore(frontend): update vite to version 4.5.1 for bug fixes

⬆️ chore(frontend): update dependencies

- Update `@babel/code-frame` from version 7.22.13 to 7.23.5
- Update `@babel/generator` from version 7.23.3 to 7.23.6
- Update `@babel/helper-string-parser` from version 7.22.5 to 7.23.4
- Update `@babel/highlight` from version 7.22.20 to 7.23.4
- Update `@babel/parser` from version 7.23.3 to 7.23.6
- Update `@babel/traverse` from version 7.23.3 to 7.23.6
- Update `@babel/types` from version 7.23.3 to 7.23.6
- Update `vite` from version 4.5.0 to 4.5.1

These updates include bug fixes, performance improvements, and new features.
2023-12-11 15:09:07 -03:00
dependabot[bot]
1cbe3b49e4
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 in /src/frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 18:29:16 +00:00
anovazzi1
15c4532e5b feat(exportModal): add version field to exported flow data
The version field is added to the exported flow data in order to keep track of the version of the flow. This allows for better management and identification of different versions of the flow.

fix(exportModal): fetch and set version from API

The version is fetched from the API using the `getVersion` function and then set in the state variable `version` using the `setVersion` function. This ensures that the correct version is used when exporting the flow.

feat(flow): add version field to FlowType

The `FlowType` interface is updated to include a `version` field. This allows for storing and retrieving the version of the flow when needed.
2023-11-16 17:19:44 -03:00
Gabriel Luiz Freitas Almeida
3e04ea2d38 Refactor code for improved readability and
efficiency.
2023-11-14 12:41:02 -03:00
Gabriel Luiz Freitas Almeida
3eec2e1a28 Update daisyui version to 4.0.4 and add culori
dependency
2023-11-14 11:32:24 -03:00
Lucas Oliveira
49cfbab715 Changed icons based on wether we are at the main or at the store page 2023-11-09 20:08:01 -03:00
Lucas Oliveira
066a1a263b Fixed padding on store page 2023-11-08 15:41:05 -03:00
anovazzi1
125d5c5152 chore(stackedComponents): update transform value in ElementStack component to improve visual positioning
refactor(market-card): remove unused code and console.log statements

fix(market-card): update saveFlowStore function to pass an array of tag ids instead of tag names

refactor(market-card): sort tags in ascending order of name length in the MarketCardComponent

refactor(market-card): update tag rendering in MarketCardComponent to use tag names instead of tag objects

refactor(market-card): remove commented out code and unused imports

refactor(market-card): update tag rendering in ShadTooltip component to use tag names instead of tag objects

refactor(market-card): update tag rendering in Button component to use tag names instead of tag objects

refactor(market-card): remove commented out code and unused imports

refactor(store/index): update tags property in storeComponent type to be an array of objects with id and name properties
2023-10-30 14:53:10 -03:00
anovazzi1
b3a8be547f fix(StorePage/index.tsx): handle error when fetching saved components and display error message
feat(StorePage/index.tsx): add error handling for API key fetch and display error message
2023-10-26 15:19:32 -03:00
anovazzi1
373551ab57 update package lock 2023-10-25 14:13:10 -03:00
anovazzi1
7c177a9930 feat(market-card.tsx): add loading state to MarketCardComponent to show loading spinner when adding flow
fix(market-card.tsx): fix typo in cloneFlowWithParent function call
fix(market-card.tsx): set loading state to false after flow is successfully saved
fix(market-card.tsx): set loading state to true when Add to Account button is clicked
fix(market-card.tsx): add animate-spin class to IconComponent when loading state is true
fix(market-card.tsx): change button text to "Install Locally" when flow is already added
feat(styleUtils.ts): add Loader2 icon from lucide-react library
2023-10-24 19:38:47 -03:00
anovazzi1
79cdcaf19a fix(typesContext.tsx): update component type key to match newKey value for consistency and clarity 2023-10-19 20:09:14 -03:00
anovazzi1
b78f17f9b0 update package lock 2023-10-19 15:22:34 -03:00
anovazzi1
92a109b65c Merge remote-tracking branch 'origin/dev' into saveComponent 2023-10-18 18:23:34 -03:00
anovazzi1
68e76dce41 chore(run-tests.sh): add installation of playwright if not already installed 2023-10-18 14:46:53 -03:00
anovazzi1
cba92c10b4 fix(typesContext.tsx): prevent wrong overwriting of component template by a group of the same type
refactor(reactflowUtils.ts): remove unused code that was causing a syntax error
2023-10-16 17:02:37 -03:00
anovazzi1
4b04aadd1d fix(nodeToolbarComponent): add missing useContext import for TabsContext
fix(reactflowUtils): add missing return statement in updateIds function
feat(nodeToolbarComponent): update expandGroupNode function to update ids of proxy nodes and edges before expanding group node
2023-10-16 14:50:40 -03:00
anovazzi1
f0c64112ea Merge branch 'dev' into saveComponent 2023-10-11 16:13:11 -03:00
anovazzi1
06c7328012 update makeFiles 2023-10-10 19:47:09 -03:00
anovazzi1
f7534516ef create shell scripts to run frontend test 2023-10-09 17:04:07 -03:00
anovazzi1
98afa2192b update poetry lock and package-lock 2023-10-06 15:46:00 -03:00
anovazzi1
88d91c48d8 Merge remote-tracking branch 'origin/dev' into NGNMergeDev 2023-10-06 15:41:42 -03:00
anovazzi1
56fce07318 refactor(reactflowUtils.ts): simplify logic for adding edges to selection in validateSelection function
fix(reactflowUtils.ts): filter edges in validateSelection function based on nodes in the selection to ensure only connected edges are added
2023-10-05 19:51:16 -03:00