Skip to content
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

Navigate through different Categories and display the corresponding Products (and their Models) as a List (No real Data, only dummy list) #25

Closed
MichaelScheiderer opened this issue Apr 26, 2021 · 9 comments
Assignees
Labels

Comments

@MichaelScheiderer
Copy link
Collaborator

MichaelScheiderer commented Apr 26, 2021

User story

  1. As a salesperson
  2. I need to navigate hierarchically inside the catalog
  3. So that I can find and select my desired product and model

Acceptance criteria

  • A hierarchical or collapse/expand (or any other way you find useful) type of navigation bar. For example: After clicking on products I see transformers, gas turbines, and... . then after clicking on the gas turbine I see different models of a gas turbine(model 1, model 2, ....)

Definition of done

  • Documentation for that feature is done
  • Feature branch has been merged
  • Code has been reviewed by at least one other team member
  • Unit tests are written
@MichaelScheiderer MichaelScheiderer added the feature New feature or request label Apr 26, 2021
@olyaee olyaee changed the title Get all scenarios Navigate through products and their models Apr 27, 2021
@olyaee
Copy link
Collaborator

olyaee commented Apr 28, 2021

https://miro.com/app/board/o9J_lJCD9Xc=/
Link to the miro workspace

@IremToroslu IremToroslu self-assigned this Apr 28, 2021
IremToroslu added a commit that referenced this issue May 1, 2021
Added a list to browse available scenarios
@Waldleufer
Copy link
Collaborator

@olyaee @MichaelScheiderer

Atm, we are working towards displaying a searchable list of all the available scenarios, so that the user can select one scenario (let's say the bike Production) and then change variables at the canvas (#28) there how they please.

I looked into SimaPro and I also figured that due to the big number of different library products, we will get the preconfigured scenarios from the SimaPro experts. (As of now there are 3800+ Library Products which are at first glance pretty much uncategorized)

According to our Project Description:

The scenarios are the basic setup.
The calculations are the usage of different materials for the scenario.

The scenarios and the calculations are predefined and provided through an existing cloud
service API.
- Project Description

-> Only two scenarios are predefined at the moment but we can safely assume that it is not our task to create new baseline scenarios.
We are nevertheless able to create different scenarios when the user selects certain variables and wants to save his work. This can be done by creating a new scenario, with data like Scenario-Autor, ...


Clarification

According to The PDF that explains the API access in this location, we assume the following in SimaPro API terminology.

  • So what is actually requested in this issue (as far as we understood) is a browsable list of the scenarios, which can e.g. be a scenario for a bike production. Or a gas turbine production.

  • A scenario then consists out of Products [(Endproduct, Component1, Component2) e.g. Bike, Frame, Gears] and these Products are represented through Library Products from the SimaPro API [e.g. Endproduct Bike = Component1 + Component2; Frame (Aluminum + Electricity); Gears (Steel + Heat)]

  • The data may or may not contain different versions of the Components which could be selected by the user as Variables

- Unclear please specify!
  • ➡️ Our Users want to be able to browse all available scenarios.
  • ➡️ They want to be able to select one scenario for further inspection.
  • (➡️ And they want to be able to create different sub-versions of those specific scenarios using different predefined Components == Variables)

    however, I am not quite sure about this last point!)

- Martin W

@Waldleufer
Copy link
Collaborator

Hey @gandompm ! Today we figured out where to put the list of scenarios that are requested in #25. We can probably provide the unique scenario ID of the selected scenario, and you could then use that for #28

Atm we are planning to display a searchable list of all the available scenarios, so that the user can select one scenario (lets say the bike Production scenario) and change variables (Different possible components like Aluminum Frame / Steel Frame /...) there how they please.

@olyaee
Copy link
Collaborator

olyaee commented May 1, 2021

The hierarchy should look like this:
only the first two nests are shown in the left navigation bar. the rest on the right-hand side. For example, after clicking on Products all the products are going to be shown on the right-hand side.
Screenshot 2021-05-01 at 22 56 36

@Waldleufer
Copy link
Collaborator

Maybe we could rename this Issue to:
"Navigate to products and their models."
Or to be more precise
=> "Navigate through different Product Categories and display the corresponding Products (and their Models) as a List."

Because the user doesn't actually browse through all the products, but he browses through the categories to reach specific products.

@MichaelScheiderer MichaelScheiderer changed the title Navigate through products and their models Navigate through different Categories and display the corresponding Products (and their Models) as a List May 2, 2021
@gandompm
Copy link
Collaborator

gandompm commented May 2, 2021

Hey @gandompm ! Today we figured out where to put the list of scenarios that are requested in #25. We can probably provide the unique scenario ID of the selected scenario, and you could then use that for #28

Atm we are planning to display a searchable list of all the available scenarios, so that the user can select one scenario (lets say the bike Production scenario) and change variables (Different possible components like Aluminum Frame / Steel Frame /...) there how they please.

@gandompm gandompm closed this as completed May 2, 2021
@gandompm
Copy link
Collaborator

gandompm commented May 2, 2021

Hey @gandompm ! Today we figured out where to put the list of scenarios that are requested in #25. We can probably provide the unique scenario ID of the selected scenario, and you could then use that for #28
Atm we are planning to display a searchable list of all the available scenarios, so that the user can select one scenario (lets say the bike Production scenario) and change variables (Different possible components like Aluminum Frame / Steel Frame /...) there how they please.

Hi, @MartinDuersch,
good, then I can send the Id to the server for calculation? did you get which API is exactly responsible for this? I couldn't understand yet which API is used for which request.
as far as I know, your issue this week is only to show a navigation bar with products and their models. and my issue is to provide a way for users to change the variables of the model.

@Waldleufer
Copy link
Collaborator

Hi @gandompm, I am Martin Wagner (@Waldleufer) not Martin Dürsch 😉

@Waldleufer Waldleufer reopened this May 3, 2021
@ScoutAtlas
Copy link
Collaborator

https://www.siemens-energy.com/global/en/company/about.html

Generations, Transmission, Industrial Applications.

Those are "Offerings", and they hopefully won't change for a while.

--> https://www.siemens-energy.com/global/en/offerings.html

Waldleufer added a commit that referenced this issue May 3, 2021
Adapted the routing so that dynamic paths will be handled.
@MichaelScheiderer MichaelScheiderer changed the title Navigate through different Categories and display the corresponding Products (and their Models) as a List Navigate through different Categories and display the corresponding Products (and their Models) as a List (No real Data, only dummy list) May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants