Git Product home page Git Product logo

leto's People

Contributors

brahims avatar daniel-silvavieira avatar dependabot[bot] avatar fauconfan avatar hchybz avatar sohzaz avatar treivax avatar

Watchers

 avatar  avatar  avatar

leto's Issues

Workspace list is not accessible in Workspaces tab

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:

  1. Click on Workspaces on the left menu panel
  2. Workspace menu button is deactivated -> we can't see the workspace list

Expected behavior

We should be able to see the workspace list in the Workspaces tab.

Application

Desktop

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Role creation form does not block on missing mandatory fields

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:

  1. Go to Settings -> Roles
  2. Click on Add new role
  3. Fill the form with missing fields
  4. Click on Create
  5. The role creation windows closes, the role is not created, and we have no error message

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

bug_role.mp4

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Impossible to register with github

Describe the bug

When we want to register with github, nothing happens.

To Reproduce

Steps to reproduce the behavior:

  1. Click on register
  2. Click on the github logo
  3. Nothing happens, and in dev console we have an error.

Expected behavior

We should be able to login with github.

Screenshot

Screenshot of the dev console:
Screenshot_20220621_171431

Application

Desktop

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Fix the build of the application

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:

  1. Build the project npm run build
  2. Go to folder dist/spa cd dist/spa
  3. Type python -m http.server
  4. Go to the navigator and open localhost:8000
  5. The page is blank
  6. Go to dev console : an error appear.

Expected behavior

The home page should appear instead of a blank page.

Screenshots

Screenshot_20220620_143723

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch linux
  • Browser Mozilla
  • Version 101.0.1 (64-bit)

But also on SG desktop.

Display project complete git URL in product

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

  • Add a copy icon button to copy the URL to clipboard.

Resources:

project_complete_url

project_complete_url_zoom

Authorization edition erase fields

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:

  1. Go to Settings
  2. Go to Authorizations
  3. Click on an authorization
  4. Click on the edit button
  5. Click on Update
  6. The previous fields of the authorization are erased.

Expected behavior

The authorization fields should not be erased.

Video capture

but_author_edit.mp4

Application

Desktop

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Add top menu bar with enriched model switch

Description

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

Constraints

  • The left and right panels should be hidden when switching to Text representation.
  • Remove the stepper when we are on the modelization page

Resources:

CaptureLetoModeler_newmenu_up

Solve the switch between the textual and visual mode in the model editor

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.

Acceptance Criteria

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]

Workspace selected is not displayed after workspace creation

Describe 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:

  1. Create a new workspace
  2. Click on another workspace in the left panel.
  3. It does not appear.
  4. Click on the edit button.
  5. It does appear here.

Expected behavior

The workspace selected should be displayed.

Video capture

2022-06-20.16-59-10.mp4

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch linux
  • Browser Mozilla
  • Version 101.0.1 (64-bit)

03/02/2022


Settings pages:

Create a table to manage authorization :

  • Update authorization: Fix issues with a dialog box to pick up the right input value -- Second Part ---

Domain Details page: TabPanel

  • Get and show the right Data on the authorization Card
  • Show the right Data on the authorization Card after submitting the event

Get the git configuration from the parent

Description

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

Acceptance Criteria

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

Links

Related to:

Dashboard in the user profile menu is a 404 page

Describe the bug

When we go to the user dashboard, we have a 404 page.

To Reproduce

Steps to reproduce the behavior:

  1. Login
  2. Click on the user icon on the top right of the screen
  3. Click on dashboard
  4. See a 404 page.

Expected behavior

The dashboard button should lead a dashboard or it should not exist at all.

Screenshot

Screenshot_20220621_172127

Application

Desktop

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Save changes in the modelization panel

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

  • This will be represented by a button on the top right of the modelization panel with "Save" written on it.
  • An error message must be displayed in case of connection issue with the git provider.

⚠ Temporarily, when the button action is not working, on button click, add a warning toaster to explain that this functionality is under construction.

Resources:

save_button

Update `GitProvider` configuration in existing workspace

Description

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

Acceptance Criteria

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

Constraints

  • The three git provider parameters must appear in a new tab : Git config
  • They must be editable.

Resources

image

in

image

Links

related to:

Workspace creation form is not blocked with missing mandatory fields

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:

  1. Click on New workspace
  2. Click on Next
  3. It goes to the next page.

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

2022-06-20.17-33-15.mp4

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

[Draft] Load github repository into modelization view

Description

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

Acceptance Criteria

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).

Constraints

  • A product must be linked to a git repository.
  • The repo loading must be transparent from the user (must be charged when clicking on a "see modelization" button).

Resources:

[Add images of the interface]

[Draft] Have a Information context for the access token usage

Description

As 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

Resources:

TODO: Complete this with the informational text

Links

  • Block by: #64

Workspace edition does not work after creation

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:

  1. Create a new workspace
  2. Click on its name in the left panel.
  3. Click on the edit button.
  4. Change something (like its name)
  5. Click on update
  6. The name is not changed.

Expected behavior

The workspace should be updated.

Video capture

bug_workspace_edit.mp4

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch linux
  • Browser Mozilla
  • Version 101.0.1 (64-bit)

Add workspace childs list to workspace tabs panel

Description

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

Acceptance Criteria

Scenario

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

Steps:

  • Add a childTabCard component
  • Add a composable file childTabData
  • Add a store to handle state for childTabData component
  • Add logics in order to modify, update and delete workspace child

Block switch between 3D and text in case of compile error

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

An error message should explain why the switch is blocked.

Inform user that modification is not saved

Description

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

Acceptance Criteria

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

Resources:

TODO: add image of the popup

Object details panel does not correspond to selected component

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:

  1. Load (or create) a model 3D on modelization panel.
  2. Select a component.
  3. The Object details panel is not updated, and is just an example.

Expected behavior

The Object details panel should be related to the component selected.

Fix new workspace menu on second step of workspace creation

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

  1. Go to create new workspace
  2. Fill the first form and click on Next
  3. Click on Products, or Requirements, Libraries, Environments...
  4. Click on Authorizations
  5. The Authorization panel has disappeared, and we can't click on Next.

Expected behavior

The Authorizations panel should still be there.
We should be able to click on Next.

Screenshots

Initial state :
w1

After having clicked on other menu items :

w3
(And Next button is blocked)

Application

Leto commit hash 063bca4

Creation forms do not block on missing mandatory fields

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 :

  • Tags
  • Roles
  • Users
  • Authorizations

To Reproduce

Tags

  1. Go to Settings -> Tags
  2. Click on Root (or another workspace)
  3. Click on the three dots on the right, then Add
  4. Fill the form with missing fields
  5. Click on Create
  6. The tag creation windows closes, but the tag is not created, and we have no error message

Roles

  1. Go to Settings -> Roles
  2. Click on Add new role
  3. Fill the form with missing fields
  4. Click on Create
  5. The role creation windows closes, the role is not created, and we have no error message

Authorizations

  1. Go to Settings -> Authorizations
  2. Click on Add new authorization
  3. Fill the form with missing fields
  4. Click on Create
  5. The authorization creation windows closes, the role is not created, and we have no error message
    NB: The mandatory fields are missing the * character.

Users

  1. Go to Settings -> Users
  2. Click on Add new users
  3. Fill the form with missing fields
  4. Click on Create
  5. The authorization creation windows closes, the role is not created, and we have no error message

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

Tags

tag_bug.mp4

Roles

bug_role.mp4

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Add reset button on object details form

Description

As a user,

I want to reset object details configuration

so that I can get the object previous values

Acceptance Criteria

Scenario 1

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

Constraints

Add a Reset button on the bottom of the object details panel.

Notify the user on API errors

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

There are many other cases where API errors are not catched.

Fix click event on user profile avatar

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

See caption

Add a workspace git config to workspace tabs panel

Description

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

Acceptance Criteria

Scenario

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

Steps:

  • Add a gitConfigTabCard component
  • Add a composable file gitConfigTabData

Product creation does not work

Describe the bug

When we create a Product, nothing happens.

To Reproduce

Steps to reproduce the behavior:

  1. Go to the workspaces list.
  2. Click on a workspace.
  3. Go to the Products panel
  4. Click on New Product
  5. Fill the form
  6. Click on Create
  7. Nothing happens, and there is an error in the dev console.

Expected behavior

The product should be created.

Screenshot

Screenshot of the dev console:
Screenshot_20220622_123523

Video capture

product_bug.mp4

Application

Desktop

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Solving the language switch in edition mode

Description

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

Acceptance Criteria

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

Create a component categories submenu in modelization panel

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

We need to define the categories.
For example, they could correspond to the provider of a component.

Force default workspace parent when creating a new workspace

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

  1. Click on New workspace
  2. Fill the form except for the workspace parent button
  3. Click on Next
  4. The next step is empty and we can't click on Next

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:

Screenshot_20220615_144543

Add export files option on the modelization panel

Description

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)

Acceptance Criteria

Scenario 1

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

Constraints

  • This will be represented by a button on the top right of the modelization panel with "Export" written on it.
  • Files should be exportable as tf files for terraform [add here other extensions]

Resources:

export_button

Create product panel tabs

Description

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

Acceptance Criteria

Scenario 1

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

Change components view as cards with search bar

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

  • Components cards should display a name, type and svg image.
  • A component should be found in the search bar using a name or a type.
  • The menu should be able to close or open.
  • A description should appears when we hover a component, it if exists.
  • Technical possibility: see Quasar table grid.

Resources:

components_grid

User information is not saved into the right fields

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:

  1. Go to Settings
  2. Click on edit a user
  3. See wrong fields.

Expected behavior

The fields should correspond to what was written during user creation.

Screenshots
Screenshot_20220620_172153

Application (please complete the following information):

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser Mozilla
  • Version 101.0.1

Create a template menu in the modelization panel

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

  • We need to define the templates categories.
  • A template is a bit more complex to process than a simple component : we need to retrieve its code, compile it and then regenerate the graphic.

Resources

template_menu

Build with environment variable

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.

Create form for object details on modelization panel

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

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.

Resources:

Example of configuration :
object_details_form

[Temporary] Hide empty tabs

Description

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

Acceptance Criteria

Scenario 1

Scenario Hide tabs
Given The Leto application
When I want to see what is implemented
Then I don't want to see empty tabs

Constraints

  • Hide Libraries
  • Hide Requirements
  • Hide Dashboard
  • Create an "Under construction" banner in the Home tab

Bug on refresh token

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:

  1. Go to the app
  2. log in
  3. wait one hour or two
  4. try to make any creation or refresh the page and try to login

Expected behavior

If, we have a 404 on a refresh token, clear refresh token and go to login page.

Screenshots

image

gandalf branch: develop
leto branch: dev

Generate new Token after access Token expiration

Description

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

Acceptance Criteria

Scenario 1

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

Constraints

  • Implement a solution to handle expired token in the axios interceptor middleware.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.