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

Developer docs for showcase page #59

Open
rufuspollock opened this issue Aug 17, 2017 · 0 comments
Open

Developer docs for showcase page #59

rufuspollock opened this issue Aug 17, 2017 · 0 comments
Milestone

Comments

@rufuspollock
Copy link
Member

rufuspollock commented Aug 17, 2017

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
@rufuspollock rufuspollock added this to the Backlog milestone Aug 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant