ditrit / leto Goto Github PK
View Code? Open in Web Editor NEWLicense: Mozilla Public License 2.0
License: Mozilla Public License 2.0
Describe the bug
When we go to the Workspaces tab, we have no way to see the existing workspaces list.
Workspace list is only accessible after a workspace creation, or if we change the URL manually, which is not user friendly.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should be able to see the workspace list in the Workspaces tab.
Application
Desktop
Describe the bug
When creating a role, the form is not blocked when we don't fill mandatory field and go to the next page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Create button should be blocked and an error message should appear to tell the user to fill the missing mandatory fields.
Video capture
Application (please complete the following information):
Desktop (please complete the following information):
Describe the bug
When we want to register with github, nothing happens.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should be able to login with github.
Screenshot
Screenshot of the dev console:
Application
Desktop
Describe the bug
When building the application and launching it in a http server, we have a "purple" blank page on any route and an error in the console(F12) that block all the thing.
The dev team of the sg had also this problem.
To Reproduce
Steps to reproduce the behavior:
npm run build
cd dist/spa
python -m http.server
Expected behavior
The home page should appear instead of a blank page.
Screenshots
Application (please complete the following information):
Desktop (please complete the following information):
But also on SG desktop.
As a a user,
When I go to the product view
And I go on the requirements panel
I want to be able to see the project complete git URL
And to be able to copy it
so that I can know from where exactly my project is loaded
Scenario | Display complte git URL |
---|---|
Given | The requirements panel of a product |
When | I read git information |
Then | I want to read the project complte URL |
And | I want to be able to copy it |
As a User
When I go the existing product page
I want to indicate the git configuration for my product
so that I can link my product with a git repository
in
[Some complementary notes if necessary]
Related to:
Describe the bug
When we edit an Authorization in Settings and do not modify the fields, these fields are erased.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The authorization fields should not be erased.
Video capture
Application
Desktop
As a User
When I go the modelization panel
I want to have a top menu bar with the product name and an enriched model switch
So that I can switch easily between 3D representation and text
Description
As a User in the modeler page,
I want to switch between visual and textual views
so that I do not lose the content of the views.
As a User in the modeler page, when I switch between textual and visual mode,
I want the 2 side panels to be updated to match the mode
so that I can manage components and edit configurations in visual mode and navigate in files in textual mode.
Scenario | [Switching from a mode to another] |
---|---|
Given | [the user is on the modeler page in textual mode] |
When | [he clicks on the switch] |
Then | [the modeler view turns to the visual editing mode] |
And | [all the previous changes are saved and it behaves the same when reswitching to textual mode] |
According to :
workspace
models to remove GitUrl
workspace
models the GitProvider
modelWorkspaceGitProvider
endpoint defined in the ditrit/gandalf#223Describe the bug
After workspace creation, when trying to click on another workspace in the workspace list, the display does not change.
However if we try to update the workspace viewed, we see that it tries to update the workspace previously selected.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The workspace selected should be displayed.
Video capture
Application (please complete the following information):
Desktop (please complete the following information):
Settings pages:
Create a table to manage authorization :
Domain Details page: TabPanel
As a User
When I create a product or a workspace
I want the git configuration of the parent is report on my product or workspace
so that I can use git repository in my product
Scenario | Saving new workspace and parent workspace doesn't have git information |
---|---|
Given | I have a workspace A without git information |
When | I create a new workspace under the workspace A |
And | I got to the requirement panel |
Then | I expect that all the fields related to git information is empty |
Scenario | Saving new product and workspace doesn't have git information |
---|---|
Given | I have a workspace A without git information |
When | I create a new product under the workspace A |
And | I got to the requirement panel |
Then | I expect that all the fields related to git information is empty |
Scenario | Saving new workspace and parent workspace have git information |
---|---|
Given | I have a workspace A with git information |
When | I create a new workspace under the workspace A |
And | I got to the requirement panel |
Then | I expect that all the fields related to git information is fill with the git information of the workspace A |
Scenario | Saving new product and workspace have git information |
---|---|
Given | I have a workspace A with git information |
When | I create a new product under the workspace A |
And | I got to the requirement panel |
Then | I expect that all the fields related to git information is fill with the git information of the workspace A |
Related to:
Describe the bug
When we go to the user dashboard, we have a 404 page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The dashboard button should lead a dashboard or it should not exist at all.
Screenshot
Application
Desktop
As a user,
When I make modifications into the modelization panel
I want to be able to save my work
so that I can find my work updated in my git repository
Scenario | Push changes to git |
---|---|
Given | Local changes on the files made in the modelization panel |
When | I am satisfied with the changes |
Then | I want to save them externally |
And | I want the modification to be reported in the git repository |
⚠ Temporarily, when the button action is not working, on button click, add a warning toaster to explain that this functionality is under construction.
As a user,
I want to update the git provider configuration of an existing workspace
so that all the products in the workspace can use the git provider
Scenario | Update in the requirements panel |
---|---|
Given | An existing workspace |
When | I go to settings, and then requirements |
Then | I update the git settings (git provider URL, organizatio and personal access token) |
And | I click on the save button to save my changes |
in
related to:
Describe the bug
When creating a workspace, the form is not blocked when we don't fill mandatory field and go to the next page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Next button should be blocked and an error message should appear to tell the user to fill the missing mandatory field.
Video capture
Application (please complete the following information):
Desktop (please complete the following information):
As a user,
I want the modelization panel use my repository url
so that it can be modelized in the modelization panel and I can work with it
Scenario | Load github repo |
---|---|
Given | A product selected |
When | Going to the modelization panel |
Then | Terraform files from the distant github repo must be loaded (and appear as a diagram). |
[Add images of the interface]
According to :
product
models to remove GitUrl
product
models the GitProvider
modelProductGitProvider
endpoint defined in the ditrit/gandalf#223As a User,
When I create a workspace
Or I update the git provider settings
I want to have an information context
so that I can understand the personal access token usage
TODO: Complete this with the informational text
I click on a component and its configuration is displayed
Describe the bug
After workspace creation, when trying to update it, nothing happens.
However if we refresh the page and try to update it, it works.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The workspace should be updated.
Video capture
Application (please complete the following information):
Desktop (please complete the following information):
As a user, I want to access to workspace childs
When I get to a workspace page details
than I wnat to access information related to the workspace childs list on the panel tab : childs
Scenario | Workspace child list cards |
---|---|
Given | The workspace details |
When | I click on the panel |
Then | I want be able to see informations related to workspace child |
childTabCard component
childTabData
childTabData component
I've found this issues related to Jest parcing css. I'tried this solution but it did not work:
https://jestjs.io/docs/webpack
@treivax , @Zorin95670 This alert is no more relevant due to folder deletion (3DModels ) , we don't use anymore three.js
Tracking issue for:
As a user,
When I want to switch between 3D model and text in the modelization panel
And there are compile errors
I want to be prevented from switching
so that I avoid to spread more errors when re-switching back
Scenario | Switch |
---|---|
Given | The modelization panel |
When | I want to use the switch between 3D model and text |
And | There is a compile error |
Then | I want to be blocked |
And | I want to see an error message explaining why |
An error message should explain why the switch is blocked.
I click on a component and its configuration is displayed.
As a User,
When I make modification on the modelization panel
I want to be informed that I have unsaved modification
so that I can't loose them when I move to another page
Scenario | Enable the save button on modification |
---|---|
Given | I'm on the modelization panel |
When | I make modification |
Then | the saving button become enable |
Scenario | Disable the save button on no modification |
---|---|
Given | I'm on the modelization panel |
When | I make modification |
And | I roolback manually my modification |
Then | the saving button become disable |
Scenario | Block user internal navigation if I have unsaved modification |
---|---|
Given | I'm on the modelization panel |
When | I make modification |
And | I want to navigate to another page |
Then | a blocking popup appear to inform me that I have unsaved modification |
Scenario | Block closing tab if I have unsaved modification |
---|---|
Given | I'm on the modelization panel |
When | I make modification |
And | I want to close my browser tab |
Then | a blocking popup appear to inform me that I have unsaved modification |
TODO: add image of the popup
Bug description
In the modelization panel, the Object details panel does not correspond to the selected component. It is just a generic example of an object details.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Object details panel should be related to the component selected.
Bug description
On the page of the second step of workspace creation, with Authorizations selected: when selecting other menu titles (Products, Requirements, Libraries, Environnements) and then coming back to Authorizations, the initial Authorizations table disappear and we cannot click on Next anymore.
Steps to reproduce
Expected behavior
The Authorizations panel should still be there.
We should be able to click on Next.
Screenshots
After having clicked on other menu items :
Application
Leto commit hash 063bca4
Describe the bug
When creating objects, the form is not blocked when we don't fill mandatory field and go to the next page.
Involved objects are :
To Reproduce
Expected behavior
The Create button should be blocked and an error message should appear to tell the user to fill the missing mandatory fields.
Video capture
Application (please complete the following information):
Desktop (please complete the following information):
As a user,
I want to reset object details configuration
so that I can get the object previous values
Scenario | Reset |
---|---|
Given | The object details of a component in the modelization panel |
When | I modify the object details content |
And | I click on the reset button |
Then | My initial values are back in the form |
Add a Reset button on the bottom of the object details panel.
As a a user,
When I perform an action that require an API call
And The API call fails
I want to be notified
so that I know what went wrong
Scenario | Create or delete tag |
---|---|
Given | The tag update panel |
When | I create or delete a tag |
And | The related API call is in error |
Then | I want to receive a notification |
There are many other cases where API errors are not catched.
As a a user,
When I log into the application
And I click on the user profile avatar on the top menu
I want To be able to see a card with the logged in user profile informations
Scenario | Create or delete tag |
---|---|
Given | The profile user avatar |
When | I click on the profile avatar |
Then I A card slide in with login user profile information |
See caption
As a user, I want to access to workspace git config
When I get to a workspace page details
than I wnat to access information related to the workspace childs list on the panel tab : git config
Scenario | Workspace git config list cards |
---|---|
Given | The workspace details |
When | I click on the panel |
Then | I want be able to see informations related to workspace git config |
gitConfigTabCard component
gitConfigTabData
Describe the bug
When we create a Product, nothing happens.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The product should be created.
Screenshot
Screenshot of the dev console:
Video capture
Application
Desktop
As a User in the modeler page,
I want to switch between Tosca and Terraform editing modes
so that I can edit either Tosca and Terraform files without opening a new tab
Scenario | Switching from Tosca to Terraform mode |
---|---|
Given | The user is on the modeler page in visual mode and the Tosca components palette is loaded on the left panel |
When | The clicks on the switch |
Then | The modeler turns to the Terraform editing mode |
And | The Terraform components palette is loaded and replace the Tosca palette in the left panel |
As a user,
When I see the list of components in the modelization panel
I want to see a submenu with component categories
so that I can find easily a component from a specific category
Scenario | Find a component of a specific category |
---|---|
Given | The component list in the modelization panel |
When | I want to look for a component of a specific category |
Then | I want be able to look for it in a submenu containing only components of this category |
We need to define the categories.
For example, they could correspond to the provider of a component.
Bug description
When creating a new workspace, if we don't select a workspace parent and we click on Next, then the next step is empty except for a button Next that does not work.
Steps to reproduce
Expected behavior
Either the workspace parent button should be mandatory, or it should be defined as "root" by default.
Screenshots
After clicking on Next on the first step of workspace creation:
As a a user,
When I read files on the modelization panel
I want to be able to dowload my files on my computer
so that I can have a local save on my computer (or do whatever I want with the files)
Scenario | Export files on my computer |
---|---|
Given | Files seen on the modelization panel |
When | I want to have them on my computer |
Then | I want to be able to export them |
As a user, I want to access to product details the same as the workspaces tab panel (without the product and childs tabs)
When I get to a product page details
than I wnat to access the whole information related to the product
Scenario | Product tab panel |
---|---|
Given | The product details |
When | I get to the single product page |
Then | I want be able to see informations related to product |
As a user,
When I am on the modelization panel
I want to see the list of components as cards
And I want to be able to search them by name or type
so that I have a better user experience when using them
Scenario | Export files on my computer |
---|---|
Given | The modelization panel |
When | I look through the components |
Then | I want to see them in pretty cards with their name, type and image |
And | I want to be able to search them by name or type |
And | I want to be able to close or open the menu with the list of components |
And | When I hover a component, I want to see a description if it exists |
Describe the bug
When trying to edit a user, we see that the fields does not correspond to what the user wrote when creating its account.
There is a timestamp where there should be the first name, a first name in the description field, and the last name is missing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The fields should correspond to what was written during user creation.
Application (please complete the following information):
Desktop (please complete the following information):
As a user,
When I see the list of components in the modelization panel
I want to see a menu with templates
so that I can use a complex group of components in one click
Scenario | Use a template |
---|---|
Given | The component list in the modelization panel |
When | I want to look for a specific template |
Then | I want be able to look for it in a templates menu |
And | I want to be able to use it |
Describe the bug
We don't have any environment variable to precise the Gandalf address. Is still pointing to localhost.
Expected behavior
On build, we want to precise the Gandalf address.
As a user,
When I see the object details of a component on the modelization panel
I want to be able to update the information of the component
so that I can have a custom component
Scenario | Switch |
---|---|
Given | The object details of a component in the modelization panel |
When | I want update the information of the component |
Then | I want be able to do it in the object details panel directly |
All the data of the form description is in the metadata. The below image is just an example.
The form is dynamic, and construct from the metadata.
We can only have two types of input: Text and Select. Text input can be only text or number.
As a user,
When I explore the application during the 4th July demo
I don't want to see empty tabs
so that I can focus on what is implemented in the application
Scenario | Hide tabs |
---|---|
Given | The Leto application |
When | I want to see what is implemented |
Then | I don't want to see empty tabs |
Describe the bug
Can't make any request or login.
Because, refresh token not exist on the api, but the UI still try to refresh the token. Even if we want to relogin it's not work because we still have a refresh token in data.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If, we have a 404 on a refresh token, clear refresh token and go to login page.
Screenshots
gandalf branch: develop
leto branch: dev
Bug : sur la page d'authentification, la partie gauche (visuel avec logo Leto) disparaît en agrandissant la fenêtre en largeur).
As a a user,
When I log into the platform
And although I was not disconnected, an hour later I could no longer access the data.
I want to be able to access the data until logout
Scenario | Automatically and periodically generate a new Token |
---|---|
Given | The access token |
When | I log into the Platform |
Then | Generate a new token every 1 hour |
And | I want to be able to access the data as long as I don't log out |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.