Giter Site home page Giter Site logo

archdoc / archdoc-ui Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 7.12 MB

Web UI used to visualize and explore ArchDoc models.

License: MIT License

HTML 3.34% CSS 8.21% TypeScript 88.31% JavaScript 0.13%
architecture cli diagramming diagrams-as-code documentation

archdoc-ui's People

Contributors

mtfuller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

archdoc-ui's Issues

[SPEC] Change "services" to "components", to be more C4-like

Currently, the ArchDoc spec outlines two major contracts: users and services. The 'service' construct refers to microservices or apps that exist within your architecture. However, I feel we want to rename the term "service" to "component" to be more general. Components can be APIs, databases, storage buckets, etc. Another advantage of components is that it adheres to the C4 architecture framework terminology.

Examples

Instead of the following ArchDoc spec:

services:
  api:
    description: The API gateway of the application.
    repository: https://github.com/MyOrg/api-gateway
    tags:
      - backend
      - public

We will be using the following:

components:
  api:
    description: The API gateway of the application.
    repository: https://github.com/MyOrg/api-gateway
    tags:
      - backend
      - public

Acceptance Criteria

  • ArchDoc UI parses ArchDoc spec files so that the services is renamed to components
  • All ArchDoc UI tests are modified to reflect this
  • All ArchDoc spec examples are updated to the latest schema

[BUG] Node labels are miss-aligned to center

As a user, I want to ensure that the labels below each node are properly centered.

Steps to Reproduce

  1. Run archdoc examples/blog.yaml
  2. Zoom in on one of the nodes.

Expected

The label below the node should be centered.

Actual

[BUG] Edge arrows do not end at the start of the node shape

As a user, I want to ensure that the edges are properly visible.

Steps to Reproduce

  1. Run archdoc examples/blog.yaml
  2. Move a node around another node that are connected.

Expected

The edge is rendered such that the arrow is fully visible, and there is no white space between the edge and the outline of a node.

Actual

[CICD] Create NPM package pipeline

As a developer, I want to automatically build, test, and publish new changes to archdoc-ui to NPM.

Acceptance Criteria

  1. Every PR into the main branch will kick off the CI/CD process to build, test, and publish to NPM.
  2. At least one unit test runs apart of the CI/CD process.
  3. Before publishing to NPM, the version is bumped and committed to source.
  4. A test PR to main is merged to test and validate that the ArchDoc ui package can be successfully updated.

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.