ryelle / foxhound Goto Github PK
View Code? Open in Web Editor NEWA text-focused blog theme for WordPress (in React)
Home Page: https://themes.redradar.net/foxhound
A text-focused blog theme for WordPress (in React)
Home Page: https://themes.redradar.net/foxhound
Invariant Violation: findComponentRoot(..., .2.1.$post-0): Unable to find element.
This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually
due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>,
or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the
element with React ID ``.
When navigating to another page, error is a little more helpful:
Warning: setState(...): Can only update a mounted or mounting component. This usually
means you called setState() on an unmounted component. This is a no-op. Please check
the code for the Media component.
Possibly due to using PostsStore/the same fetchSingle
action for both Media
and it's parent SinglePost
component.
This had been working pre-redux-ing.
See https://ryelle.codes/2016/07/local-development-for-wordcamp-websites/
Click any step, and it scrolls back to the top of the page, rather than jumping to the section.
Only on the homepage, load the first page of API responses to speed up the page render.
The logic to pre-render any initial response is out-of-scope for this ticket, but could happen eventually.
Drop the PHP code in for rendering the menu, so at least the menu itself will display? It will work, but probably won't have the correct focus/hover styles...
Recent comments are first, should be opposite.
Adding js/*
and sass/*
should be good enough (but check that it recurses down)
Since we adjust some rewrite bases, we need to flush once the theme is activated.
Example: /category/parent-category/child-category-03/
I haven't paid attention to performance... at all. But it's intermittently freezing in my IE VM. Let's check out performance improvements.
"This theme requires special URLs to display your content, so your permalinks have been updated. To undo this, switch to another theme."
Or something like that.
This again π§
Clicking menu items correctly updates the classes, but clicking other inter-site links does not.
Clicking a submenu item doesn't close the menu.
It seemed unnecessary to link the Navigation to the store, but I think it's the best/only way to know when the page changes.
Since we're not going to get #7 before v1.0, we should just disable attachment URLs.
set
publicly_queryable
tofalse
inregister_post_type()
?
Document this (lack of) functionality.
Branch | Build failing π¨ |
---|---|
Dependency | jsdom |
Current Version | 9.8.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As jsdom is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 13 commits .
05e0c53
Version 9.9.0
fedc336
Add CDATA sections
30f7906
Add document.embeds, plugins, and scripts
5261738
Implement document.title correctly per-spec
ae19887
Implement document.body correctly per-spec
656f606
Add more selector tests
bb12085
Fix CORS POST JSON XHRs with Authorization
8bb591d
Fix EventListener once handling
45f4458
Add Node's wholeText property
3c50533
Only log "not implemented" errors if form submission isn't canceled
60555c0
Allow insertAdjacentHTML without a parent element sometimes
139b9d7
Upgrade whatwg-url dependency to 4.1.0
4c40a11
Fix a README typo
See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
View a short page with no scrollbar, then click back to the posts listing - the added scrollbar cuts into the width of the page and re-'centers' the content, making it jump.
(doesn't happen with mac floating scrollbars)
There is no "preview" route, so when previewing the theme just matches the index route.
URL example: https://ryelle.codes/?p=2380&preview=true
Now that the API supports this, the theme should offer a way of asking for the password & re-requesting a post with it.
Line length is awkward because the font is large on title & first paragraph. Shrink down a little on phone-sized screens (probably should use the <600 breakpoint?)
Can display at the top of the posts page.
Social media should be icons (unless otherwise classed, maybe?)
A traditional child theme isn't really possible, but an interested user could at least change the CSS if they want, so let's add info about this to some documentation.
Branch | Build failing π¨ |
---|---|
Dependency | debug |
Current Version | 2.3.3 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As debug is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 7 commits .
b82d4e6
release 2.4.0
41002f1
Update bower.json (#342)
e58d54b
Node: configurable util.inspect()
options (#327)
00f3046
Node: %O
(big O) pretty-prints the object (#322)
bd9faa1
allow colours in workers (#335)
501521f
Use same color for same namespace. (#338)
e2a1955
Revert "handle regex special characters"
See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
I β€ Jetpack and would like to keep likes, galleries, and stats working.
?s=$term
is not a valid route for this theme, search results are instead at /search/$term
.
Hi Kelly
Firstly, thank you for the awesome work!
I need to add another page component but I couldn't figure out how to do that. Basically I need to add a contact page with a form. And plugins won't work so I think redux form is the way to go.
So I added the component - I was using the the existing single-page component as the template, make some changes on it and added to the routes, with a specific slug /page/contact.
But it keeps using the same single-page. Could you please give me a hint of what I have missed out?
I tried Custom contact form won't work because react sees it as controlled input so no way to type.
I also try another php page template that doesn't have #main in it but obviously won't work either because it's a spa now.
Could you please help.
Many thanks!
From #21 :
I recently added the Related Posts to the REST API Post response. The patch will ship with the next version of Jetpack.
Here is an example of the elements added to each post: https://jeremy.hu/wp-json/wp/v2/posts/18066
Please consider using create-react-app for building the JavaScript & CSS files.
Hiya,
Very excited to see your theme, but getting an error when trying to install on a local vagrant instance. Everything seemed fine during install until during 'gulp' I got 5 errors:
ERROR in ./js/stores/navigation-store.js
ERROR in ./js/stores/posts-store.js
ERROR in ./js/stores/term-store.js
ERROR in ./js/stores/comments-store.js
ERROR in ./js/dispatcher/dispatcher.js
each followed by: Module not found: Error: Cannot resolve module 'object-assign' in /Users
Mostly to credit the wpapi JS wrapper, but I should probably credit other projects I'm using.
Branch | Build failing π¨ |
---|---|
Dependency | debug |
Current Version | 2.4.5 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As debug is βonlyβ a devDependency of this project it might not break production or downstream projects, but βonlyβ your build or test tools β preventing new deploys or publishes.
I recommend you give this issue a high priority. Iβm sure you can resolve this πͺ
The new version differs by 26 commits .
355e327
release 2.5.0
d85c0c6
build perf, fix for bowerfile, fix for webworker
dc043cf
Merge pull request #378 from yamikuronue/replace-babel-with-browserify
f512cf2
Merge remote-tracking branch 'upstream/master' into replace-babel-with-browserify
f098331
Merge pull request #388 from ForsakenHarmony/patch-1
a16cf42
Merge pull request #387 from kribblo/patch-1
78e31a8
Update browser.js
408ae94
Use typeof window.process !== 'undefined'
f484cfe
fix merge errors
23af483
Merge remote-tracking branch 'upstream/master' into replace-babel-with-browserify
3e1a15d
fix: merged again, because it didn't take. Guess I did it wrong?
67182fd
fix: Whoops, didn't merge the tests properly. Resolved.
2a01c6c
Merged from upstream/master. I left the dist/debug in place because my hook now updates it automatically, but I removed the babelrc file since we don't need it anymore.
6e934e9
Fix for #381. Moved .babelrc into test folder, where it is used and which is not built with the module. (#383)
6a8d525
chore: add coveralls
There are 26 commits in total. See the full diff.
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
Can do:
if ( is_child_theme() ) // load get_stylesheet_uri()
This came up in slack as a way to run queries from a site to its own endpoints, might be good to use for data loading.
https://developer.wordpress.org/reference/functions/rest_do_request/
A small issue but the "Edit post" link does not get updated in the admin bar when switching between pages.
Use something like the component?
Assuming that the WP REST API Plugin is merged into WP 4.7 core, will the Foxhound theme be switched over to the WP API in core instead?
Also, do you have any plans to use GraphQL with the WP API in core?
/type/quote
etc
Not much of an issue because we don't technically have styling/support for post formats, but this would be an easy archive to support.
author/<username>
The +01:00 is not included as part of the date, so the API considers it an invalid date.
That seems to be an issue on your site as well: archive pages return all posts.
https://ryelle.codes/category/references/
wp_add_inline_script( FOXHOUND_APP, $script_data );
Do we need links or keyboard-nav for next/previous posts?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.