Skip to content

Commit

Permalink
Merge pull request #528 from ditrit/feature/update_ui
Browse files Browse the repository at this point in the history
Feature: update UI
  • Loading branch information
Zorin95670 authored Oct 15, 2024
2 parents 9a13dfe + a248890 commit 4465153
Show file tree
Hide file tree
Showing 79 changed files with 7,178 additions and 3,031 deletions.
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Error management on monaco editor and error footer.
* Generate diagrams from AI proxy.
* Add chat to discuss with AI.
* Load template from api
* Load template from api.
* Management of Preferred project.

### Changed

Expand All @@ -52,6 +53,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Use display name of plugin.
* Use new logo of plugin.
* Improve drawer to modify Component details, permit to resize it.
* Navigation between pages.
* Rework on Components list on draw page
* Style of project/template card.

### Fixed

Expand All @@ -71,6 +75,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* Default space character on file creation.
* Drawer for diagram from template creation.
* Left drawer on home page.

## [1.3.0] - 2023/09/12

Expand Down
3 changes: 3 additions & 0 deletions cypress/e2e/Bugfix/Issue392.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Feature: Fix issue #392: Delete diagram should only remove parsable files of dia
When I set on '[data-cy="create-model-form"] [data-cy="name-input"]' text 'diag1'
And I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
Then I expect current url is '{{ projectName }}/modelizer/draw\?plugin=@ditrit/terrator-plugin&path=diag1'
And I wait 1 seconds

# Diagram 2 creation
When I click on '[data-cy="models-page-link-button"]'
Expand All @@ -33,6 +34,7 @@ Feature: Fix issue #392: Delete diagram should only remove parsable files of dia
When I set on '[data-cy="create-model-form"] [data-cy="name-input"]' text 'diag1/diag2'
And I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
Then I expect current url is '{{ projectName }}/modelizer/draw\?plugin=@ditrit/terrator-plugin&path=diag1/diag2'
And I wait 1 second

# Check project folders and files are created in Text view
When I click on '[data-cy="navigation-bar"] [data-cy="modelizer-switch-button"] [aria-pressed="false"]'
Expand Down Expand Up @@ -70,6 +72,7 @@ Feature: Fix issue #392: Delete diagram should only remove parsable files of dia
## Should delete new_file.tf file but keep all non parsable files and sub-folder
When I click on '[data-cy="diagram-path_diag1/diag2"]'
Then I expect current url is '{{ projectName }}/modelizer/draw\?plugin=@ditrit/terrator-plugin&path=diag1/diag2'
And I wait 1 second

When I click on '[data-cy="navigation-bar"] [data-cy="modelizer-switch-button"] [aria-pressed="false"]'
And I wait 1 second
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/Bugfix/Issue393.feature
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Feature: Fix issue #393: File explorer is broken when creating a folder with the

When I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
Then I expect current url is 'projectName/modelizer/draw\?plugin=@ditrit/terrator-plugin&path='
And I wait 1 second

# Check project folders and files are created in Text view
When I click on '[data-cy="navigation-bar"] [data-cy="modelizer-switch-button"] [aria-pressed="false"]'
Expand Down
39 changes: 0 additions & 39 deletions cypress/e2e/DiagramsPage/CreateDiagram.feature

This file was deleted.

48 changes: 0 additions & 48 deletions cypress/e2e/DiagramsPage/DeleteDiagrams.feature

This file was deleted.

60 changes: 0 additions & 60 deletions cypress/e2e/DiagramsPage/DisplayDiagrams.feature

This file was deleted.

41 changes: 0 additions & 41 deletions cypress/e2e/DiagramsPage/FocusMovementDiagrams.feature

This file was deleted.

81 changes: 0 additions & 81 deletions cypress/e2e/DiagramsPage/ZoomDiagrams.feature

This file was deleted.

1 change: 1 addition & 0 deletions cypress/e2e/ModelizerPage/Common/SwitchView.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Feature: Test modelizer page: switch view (text/model)

When I set on '[data-cy="create-model-form"] [data-cy="name-input"]' text 'infra/main.tf'
And I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
And I wait 1 second

Scenario: Default modelizer page mode should be 'draw'
Then I expect current url is 'projectName/modelizer/draw\?plugin=@ditrit/terrator-plugin&path=infra'
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/RoundTrips/CreateProjectFiles.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Feature: Test roundtrip of the application : create project files
And I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
Then I expect 'positive' toast to appear with text 'Model has been created 🥳!'
And I expect current url is '{{ projectName }}/modelizer/draw\?plugin=<plugin>&path=<model>'
And I wait 1 second

# Check project files and folders are created in Text view
When I click on '[data-cy="modelizer-switch-button"] [aria-pressed="false"]'
Expand Down
2 changes: 2 additions & 0 deletions cypress/e2e/RoundTrips/DeleteProject.feature
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Feature: Test homepage: project deletion
When I set on '[data-cy="create-model-form"] [data-cy="name-input"]' text '{{ modelFolder }}'
And I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
Then I expect current url is '{{ projectName }}/modelizer/draw\?plugin=@ditrit/terrator-plugin&path={{ modelFolder }}'
And I wait 1 second

# Check project root folder is created in Text view
When I click on '[data-cy="navigation-bar"] [data-cy="modelizer-switch-button"] [aria-pressed="false"]'
Expand Down Expand Up @@ -77,6 +78,7 @@ Feature: Test homepage: project deletion
When I set on '[data-cy="create-model-form"] [data-cy="name-input"]' text '{{ modelFolder }}'
And I click on '[data-cy="create-model-form"] [data-cy="submit-button"]'
Then I expect current url is '{{ projectName }}/modelizer/draw\?plugin=@ditrit/terrator-plugin&path={{ modelFolder }}'
And I wait 1 second

When I click on '[data-cy="navigation-bar"] [data-cy="modelizer-switch-button"] [aria-pressed="false"]'
And I wait 1 second
Expand Down
Loading

0 comments on commit 4465153

Please sign in to comment.