You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy over and convert nunjucks template from current frontend-v2 into jsx template (omitted all the preview stuff and resource display)
Copy the preview material into a /@myorg/mydataset/r/myresource template
Refactor the JSX into templates so we move away from "inheritance" towards "composition" in how we build pages
Simplest to start would be to move everything into a component "DatasetShowcaseCore"
Stub out the frontpage from frontend v2
Replace hard coded page data with hardcoded data in the "controller"
Replace hard coded data with real data from a live source ...
Organization page(s)
page with a list of all organizations
page with a list of related datasets under an org.
How do we have /@myorg/mydataset => lookup data via fetch API from the right place?
We want /@myorg to be dynamic. Creating a dynamic route might work and setting up fetch API to pull data from the dynamic source (more research to be done here)
The text was updated successfully, but these errors were encountered:
lauragift21
changed the title
MVP of the Fronend v3 app: home, showcase, org and search pages
[Epic] MVP of the Fronend v3 app: home, showcase, org and search pages
Jun 3, 2020
anuveyatsu
changed the title
[Epic] MVP of the Fronend v3 app: home, showcase, org and search pages
[Epic] MVP of the Frontend v3 app: home, showcase, org and search pages
Jun 8, 2020
@anuveyatsu can we make sure all the unchecked items in this issue are definitely captured iin one of the follow up issues (and could you note that in your fixed comment, when done).
We want to build an MVP of a data portal frontend using Next.js. Data can be mocked or come from demo.ckan.org.
MVP URL: https://portal.datopian1.now.sh/
Acceptance
This would be the core of an MVP
Dataset and Resource page
Tasks
Showcase page(s)
/@myorg/mydataset
that is empty/@myorg/mydataset/r/myresource
templateOrganization page(s)
How do we have
/@myorg/mydataset
=> lookup data via fetch API from the right place?We want
/@myorg
to be dynamic. Creating a dynamic route might work and setting up fetch API to pull data from the dynamic source (more research to be done here)The text was updated successfully, but these errors were encountered: