-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release/0.5.0 #284
release/0.5.0 #284
Conversation
f51b836
to
21ffa99
Compare
a24bcde
to
50e42a9
Compare
* graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes
* Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * unit test data graph * linting * lint fix * added ordered index tracking when serializing pages * formatting * document graph page ordering * cli data graph unit tests and expand mocha spec globbing * address missing hash in mock graph * loosen graph test case asserts * update graph tests to focus less on implementation details * add back missing develop task
50e42a9
to
8d1529a
Compare
* Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * hello and graph queries working together * config def and resolvers * use real config data * flesh out config schema and query * remove theme file from config * delete hello query example * config unit tests * rename mock graph * formatting * documentation
* Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * fix cache.json lookup for deep linking * clean up from rebase * clean up from rebase
* Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * hello and graph queries working together * config def and resolvers * flesh out config schema and query * remove theme file from config * delete hello query example * formatting * documentation * app template with config title from data * page title with project title * tests for custom page title * cleanup console log * docs
* Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * hello and graph queries working together * config def and resolvers * flesh out config schema and query * remove theme file from config * delete hello query example * formatting * documentation * app template with config title from data * tests for custom page title * refactoring meta to app-template and data instead of scaffolding and added tests * update coverage config * fix spelling mistake
* WIP custom frontmatter data to graphql * dynamic data resolvers * dynamic Data def from graph WIP * dynamic data from graph and default handling * prune reserved frontmatter variables * document custom data frontmatter * add testing for multiple front matter variables * unit testing
* Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * Bug/issue 271 determinism (#292) * Rfc/issue 115 build time data access (#269) * graphql server working * apollo client connect to apollo server * connected header example using lit apollo * todo * todos * query and client + server refactor * schema refactoring * clean up console logging * alias all @greenwood/cli/data module imports * avoid paramater destructuring * graphql example in the header * multiple schemas * internal data sources documentation * shelf refactor and children query integration * refactor out ApolloQuery * ability to intercept client.query calls * basic semi-working implementation * remove extra config from server context * have puppeteer wait for graphql requests before returning content * fix and add test cases for apollo * merged resolvers not actually working * multiple queries support * everything working * todos * TODO tracking * fix fallback apollo client fetch handling * full test suite * cache json test cases * stablize test due to inconsistent data results ordering * clean up deps * todo cleanup * remove forced client call in SSG mode for client * represent graph through the schema * updated data docs * typos and grammer * typos and community link fixes * unit test data graph * linting * lint fix * added ordered index tracking when serializing pages * formatting * document graph page ordering * cli data graph unit tests and expand mocha spec globbing * address missing hash in mock graph * loosen graph test case asserts * update graph tests to focus less on implementation details * add back missing develop task * task: refactor into single menu query, enable menu filtering with markdown declarations * fix shelf * fix: shelf rendering collapse/expand * test: update al related tests * fix: remove debug * task: basic sorting label/index * fix: index sorting * fix: remove debug * fix: current tests * test: amending tests, removing prev mock * test: revert previous graphql test case * test: remove hello query * fix: remove deprecated .json files * fix: refactor mock graph func * test: adding sort/filter menu tests * task: add documentation for menus * fix: amend documentation * fix: amend docs for route var * fix: typo * task: add headingLevel and route condition, remove hardcoded vars * fix: non-pathname menus may want linkheadings children * task: amend docs for child heading level * fix: change linkheadings to integer, use for headingLevel * docs: remove navigation query docs * test: fix test * task: revert stub generation code * fix: update data sources doc * fix: amend docs for route/linkheadings additions * fix: update filter to use title instead of label * fix: test * task: update docs with linkheadings query result Co-authored-by: Owen Buckley <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Going to merge the following items, then merge this into master
* remove TODO comments * remove extra console logs from website code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, this is ready for final review. 👀
https://deploy-preview-284--elastic-blackwell-3aef44.netlify.app/
"html-webpack-plugin": "^3.2.0", | ||
"lit-element": "^2.0.1", | ||
"lit-redux-router": "^0.9.3", | ||
"local-web-server": "^2.6.1", | ||
"markdown-toc": "^1.2.0", | ||
"node-fetch": "^2.6.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice if we could remove the dependency on this. will track in Trello
label, | ||
link | ||
}, | ||
children { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this need some logic to scale, or if I am reading this right, this only supports one level of nesting, right? Maybe related to #273
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, only one nested level
const { label } = getDeriveMetaFromRoute(route); | ||
const id = page.label; | ||
|
||
pages.push({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some duplication here, would probably be good to make an issue for this.
As report of the week would say, |
Related Issue
The minimum needed atomic changeset to deliver / release the initial Data Sources work
As this is a release branch, the following branch maintenance should be followed
Summary of Changes
<title>
from data - <title></title> element is static #128<meta>
from data - improve unit test coverage for the meta plugin (get meta from data) #125/
- Bug/issue 128 fix undefined link title setting #308 / routes with and without trailing forward slash causes route "misses" #331TODO
s andconsole
logs - remove TODO comments, console.logs #336Breaking Changes
METAIMPORT
,METADATA
,METAELEMENT
from xxx-template.jsTODO
0.5.0-rc0
(@thescientist13 )<title>
is static - <title></title> element is static #128<meta>
component - improve unit test coverage for the meta plugin (get meta from data) #1250.5.0-rc1
Alpha release and regression testingalias
feature, we should be able to do this in a non breaking wayTODOs
Nice To Have
graph resolvers assume a fixed depth for root- resolvers and file writing assumes certain route depth #273 (can be post release)[RFC] Code Splitting * (nice to have)- [RFC] Route Based Code Splitting #136 (moved to Project 5)Questions / Thoughts
N / A