Open turnerrainer opened 1 year ago
Blocked due to new AC coming from #8
Groomed by @ExiRain , @turnerrainer and @TarmoKlaarRIA , ready to proceed.
New time estimates needed due to added/changed AC.
@TarmoKlaarRIA will provide input for publishing Node.js packages on behalf of Bürokratt.
Let's make a Github npm package register for boerokratt developments. If UI components are sufficiently mature, then base components can be moved to the e-gov github repo. Here's an article about setting up own npm registry. https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry
?? namespace buerokratt?
@buerokratt/cvi-react -- for the common UI (cvi) react components
@buerokratt/byk-react -- reusable UI components for the Bouerokratt
Repo for the base UI react components: https://github.com/buerokratt/cvi
Repo for the Buerokratt specific common and functional UI components: https://github.com/buerokratt/sample-implementation-cvi
flowchart TB
ghui("CVI React base components GH:
button, input, toast, panel, layout etc")
ghbyk("Byk React GH:
navigation, header, ...
")
ghcvi("eGov CVI GH")
ghbyk_sample("Byk Sample UI ")
%% ghbyk_chbt("Byk chatbot project")
ghbyk_pr("Byk UI project X ...
chatbot, trainig, services etc
")
subgraph "Buerokratt GH Registry"
npmc("npm pkg
@buerokratt/cvi-react")
npmb("npm pkg
@buerokratt/byk-react")
end
npmr("npm pkg
@egov/cvi-react")
%% relations
ghui -- PullR --> ghcvi --> npmr
ghui --> npmc -- depend --> ghbyk
ghbyk --> npmb
npmc -- depend --> ghbyk_sample
npmb -- depend --> ghbyk_sample
npmc -- depend --> ghbyk_pr
npmb -- depend --> ghbyk_pr
Let's make a Github npm package register for boerokratt developments. If UI components are sufficiently mature, then base components can be moved to the e-gov github repo. Here's an article about setting up own npm registry. https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry
?? namespace buerokratt?
@buerokratt/cvi-react -- for the common UI (cvi) react components
@buerokratt/byk-react -- reusable UI components for the Bouerokratt
Repo for the base UI react components: https://github.com/buerokratt/cvi
Repo for the Buerokratt specific common and functional UI components: https://github.com/buerokratt/sample-implementation-cvi
flowchart TB
ghui("CVI React base components GH
button, input, toast, panel, layout etc")
ghbyk("Byk React GH
layout,navigation
header, ...
")
ghcvi("eGov CVI GH")
ghbyk_sample("Byk Sample UI ")
%% ghbyk_chbt("Byk chatbot project")
ghbyk_pr("Byk UI project X ...
chatbot, trainig, services etc
")
subgraph "Buerokratt GH Registry"
npmc("npm pkg
@buerokratt/cvi-react")
npmb("npm pkg
@buerokratt/byk-react")
end
npmr("npm pkg
@egov/cvi-react")
%% relations
ghui -- PullR --> ghcvi --> npmr
ghui --> npmc -- depend --> ghbyk
ghbyk --> npmb
npmc -- depend --> ghbyk_sample
npmb -- depend --> ghbyk_sample
npmc -- depend --> ghbyk_pr
npmb -- depend --> ghbyk_pr
AS A Developer I WANT TO re-use the already existing header component by just defining its use case SO THAT I wouldn't have to create a new one or use boilerplate code
Acceptance Criteria
header
section tobase layout
(see #2 for reference)Refactor the current solution
Node.js packages
Update base layout
/sample-implementation-cvi/header.html
with the header implemented on the base layout as the output