Git Product home page Git Product logo

qc-atlas-ui's People

Contributors

aaronschi avatar c-mueller avatar dependabot[bot] avatar emymaria avatar flxb2 avatar lharzenetter avatar lhommedebat avatar manuwei avatar mar-be avatar mathonto avatar mbeisel avatar mhinkie avatar philwun avatar salmma avatar t-haller avatar tgrosskopf avatar timniederhausen avatar valesayfa avatar wederbn avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

qc-atlas-ui's Issues

**### List of remaining instances where type is specified as any**

### List of remaining instances where type is specified as any

  1. qc-atlas-ui\src\app\components\generics\chip-collection\chip-collection.component.ts (11)
    From generics folder
  2. qc-atlas-ui\src\app\components\generics\data-list\data-list.component.ts (18)
    From generics folder
  3. qc-atlas-ui\src\app\components\generics\dialogs\confirm-dialog.component.ts (1)
    From generics folder - Cannot remove this any since used for deleteion of different types of data
  4. qc-atlas-ui\src\app\components\generics\dialogs\link-item-list-dialog.component.ts (3)
    From generics folder - // Could not remove any type of selectedItems and pagingInfo(content?: T[]) used for different
    types
  5. qc-atlas-ui\src\app\components\generics\link-input\link-input.component.ts (3)
    From generics folder
  6. qc-atlas-ui\src\app\components\generics\navigation-breadcrumb\navigation-breadcrumb.component.ts (2)
    EventEmitter
  7. qc-atlas-ui\src\app\components\generics\property-input\abstract-value-accessor.ts (8)
    From generics folder
  8. qc-atlas-ui\src\app\http-interceptors\auth-interceptor.ts (4)
    HttpEvent(1) and HttpRequest
  9. qc-atlas-ui\src\app\util\show-on-feature.direct.ts (1)
    TemplateRef line 18
  10. qc-atlas-ui\src\app\util\util.service.ts (10)
    Used in multiple components for diffrent data types
    line 67 method getColorOfSelectedButton() - No usages found
    qc-atlas-ui\src\app\util\latex-renderer-service-constants.ts and qc-atlas-ui\src\app\util\util.service.ts
    line 50: The renderedData (response from util service) looks similiar to a blob but couldnot assign type Blob,So directly
    assigned the response to latexBlob in utilService
    const latexBlob = this.latexRendererServiceConstants.createBlobFromRenderedResult(response); in line 200 replaced with
    const latexBlob = response;

// the number in bracket is the number of times of any in the file

Originally posted by @emymaria in #162 (comment)

ExecutionResultDto result from strings to ENUM

Currently, ExecutionResultDto result consists of strings instead of an ENUM such as in the NISQ Analyzer backend.

See files

  • execution-result-dto.ts
  • nisq-analyzer.component.ts
  • implementation-nisq-analyzer-qpu-selection.component.ts

Add Code Style to Angular Frontend

As a developer, I'd like to follow a common code style so that performing reviews / PR / merges is not hindered by different whitespace/code formatting settings.

Fix adding new compute resource properties

In algorithm, implementation, and compute resource properties, currently it is not possible to add a new compute resource property by first setting the type name, as then, errors in the browser console occur and no further changes are possible.

Further, also support suggesting existing property types and, thereby, prevent the addition of a duplicate property type (see, for example, Algorithm Relation Types).

Automated addition of available QPUs via QProv

If QProv is available, available QPUs should be automatically added to the list of compute resources and Provenance data should be visible.
Furthermore, also based on QProv available cloud providers (IBMQ) should be added to the cloud providers list

Prevent scrollbar on text fields

If too much text is added to a text field a scrollbar appears which looks weird and is obstructive for users, especially when inserting longer texts. This can be fixed by automatically adding more height to the text field.

screen

File Handling differs between QC Atlas and PlanQK Platform

Therefore, a non-generated method exists for accessing implementation files on the platform.
As soon as both backends are the same in the context of file handling, generate the new API and remove the non-generated accessing method.

See files:

  • planqk-platform.service.ts
  • impl-selection-criteria.components.ts

Support Markdown

As the PlanQK platform contains markdown context, we also should support it to beautify the context.

Sort List of Problem Types by Parent Problem Type Name (+ Code Improvement)

Currently, sorting the list of problem types under "Manage Components" does not work as the request
GET http://localhost:8080/atlas/problem-types?page=0&size=10&sort=parentProblemTypeName,asc
to the QC Atlas returns a 500 because sorting by parent problem type NAME is not supported.
If necessary I would propose to hide the sorting possibility at the "Parent" column.

Further, if possible, improve the logic of the assignParentProblemTypeNames() method to reduce the number of requests for each problem type with a parent problem type.
But be careful that also pagination is supported with more than one page!
That is why I adapted the original method:
In case the parent problem type was on another page, the problem type did not show a parent.

Generate new PatternAtlas API and improve pattern relation component

  • Generate new PatternAtlas ( = patternpedia) API, when PatternAtlas api-docs are available again.

  • Improve the AlgorithmRelatedPatternsComponent.getPatternLanguage
    method (src/app/components/algorithms/algorithm-related-patterns/algorithm-related-patterns.component.ts) by using the generated PatternLanguageControllerService for getting a pattern language instead of the http.get method.

Link to Pattern Atlas UI

In context Algorithm > Related Patterns enable invocation of Pattern Atlas UI.

As shown on the image, a button (with no functionality) is already given when adding a new pattern relation:

Bildschirmfoto 2021-05-03 um 14 59 16

If the button is clicked a new browser window should open addressing the Pattern Atlas UI.

To be discussed:
In context of related patterns a "Browse Pattern Atlas" button is provided even without the context of adding a new pattern relation.

TODO:

Hide editing feature

Add 'showEditing'/'enableEditing' feature in features list in the settings menu to en-/disable editing content in our QC-Atlas-UI.

Integration of PlanQK Platform - Focus: NISQ Analyzer - QC Atlas UI Part

For integrating the data of the PlanQK Platform, the necessary data has to be requested from the Platform and POSTed to the NISQ Analyzer.

  • dynamically change root url either to QuAntiL or to PlanQK Platform

    • if PlanQK Platform, set authentication header with bearer token
  • POST data about algorithm, implementation, and SDK to NISQ Analyzer

    • (transform Platform data to required formats (e.g. required input format for NSIQ Analyzer is specified))
    • also transfer bearer token as header to NISQ Analyzer

Enable Versioning of Impls and Algos when PlanQK Platform supports it

Currently, the platform does not support versioning for impls and algos.
Therefore it is enabled when accessing the platform data.
As soon as it is supported enable versioning also for the platform data.

See files:

  • algorithm-view.component.ts
  • implementation-view.component.ts

Enable Hash-Routing

If the UI is running in the Docker container, the requested route is iterpreted by the NGINX and results in a 404 if a deep link is followed. Thus we should enable hash routing or cnfigure the nginx to ignore the deep links.

Use typing in all classes

We should use typing everywhere and avoid any-Objects.
Benefits of typing

  • Returened data is typed, i.e., Intellisense is available and compile-time errors
  • Clearer structure

Inclomplete List of identified untyped methods and classes:

  • ActivationGuard
  • ...

Generic Data Service

Why we have this additional service? Couldn't this be replaced with the genereated ones?

Benefits

  • Returened data is typed, i.e., Intellisense is available and compile-time errors
  • Clearer structure

NISQ Analyzer: provided sdks

Currently the ui expects the Qiskit SDK to be contained inside the nisq analyzer db.
This causes several issues when using an empty db, as mentioned in this pull request

Fix pagination for link data lists

fix multiple issues
-manage pagination of link list and link list dialog respectively
-change page to previous if last element of last page gets deleted
-correctly disable already linked elements if link dialog gets called and multiple pages exist

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.