Skip to content
This repository was archived by the owner on May 10, 2022. It is now read-only.
This repository was archived by the owner on May 10, 2022. It is now read-only.

Developer docs for showcase page #59

@rufuspollock

Description

@rufuspollock

Docs for how showcase page works behind the scenes:

  • rendering and connection with store - dpr-js
    • could connect this with views docs (or even merge them in)
  • docs of how the in progress stuff is done (see below for algorithm)

Don't need to overdo this but some minimal docs are probably useful

Algorithm for showing statuses

graph TD

check[Check pkgstore + check Status]

404[pkg 404 + status 404]

check --> pkg404[Pkg 404]
check --> pkg200[Pkg 200]

pkg404 --> 404

404 --> show404[Show 404]

pkg200 --> statusrun[Status Pending]
pkg200 --> statusdone[Status Complete]

pkg404 --> statusok[pkg 404 + status 200]

statusok --uploading js--> uploading[Uploading]

statusrun -.uploading js in notice area.-> showcase

statusdone --OK - show nothing--> showcase
statusdone --failed - show notice<br/>link to pipeline <br/>in notice--> showcase
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions