themeblvd / justwrite Goto Github PK
View Code? Open in Web Editor NEWA client-side React app to edit the posts of your WordPress blogs.
A client-side React app to edit the posts of your WordPress blogs.
Possibly tuck this away in #3
Steps to reproduce:
Posts in home dashboard are still filtered by the category, but the "All Categories" menu item is highlighted as the active item.
Currently, pagination of the post list on the dashboard homepage only works if you're viewing all posts. If you filter by category or author, it just grabs up to the first 100 posts that meet that criteria. This is all a bit sloppy. Let's get pagination working when filering posts.
You can delete this issue
Since adding the sticky toolbar, it’s made the editor toolbar cover top of content on mobile.
Lets experiment with ways to fix this, with the editor being as useful as it can on mobile.
The "All Categories" link works fine in the context of simply being able to filter by categories. But when the context doesn't fit, we're just hiding the whole categories menu all together.
For example, when a search is performed, the categories menu is simply hidden. The user can delete the input to clear the search and their taken back to viewing all posts. This isn't terrible. Although maybe a clear search link could be added (#11).
And now that we've added the functionality of "My Posts" link which filters by the current author, this adds a second layer of complication. When we filter all posts by the author, there's no way to get back to displaying all posts again.
However, since clicking "All Categories" inadvertently displays all posts again, I had decided to leave the categories menu displaying during this filter.
Why not think of the categories menu as more of a general navigation bar? The "All Categories" button can be renamed to "All Posts" and then be followed by each of the categories. We can also add a "My Posts" link here, too (even though it's also in the user menu dropdown).
Most WordPress users uderstand the concept of categories without having to tell them they're categories. And then in the future, other filtering items could be theoretically added, too.
So a final navgiation like this is not unreasonable:
Note: There's also currently no real visible feedback for filtering posts by the current author. So having a "My Posts" link in the navigation will give something to style as active.
Can we get this down? After minification, it's currently 893 KB.
It's really difficult to work with longer articles, if you're trying to use the WYSIWYG features.
On the app’s login page, include a link that logs them into a sandbox site. This way people can play with the app without using their personal site.
Can we pull login data for the sandbox site from an API from somewhere that only sends back to justwrite.app domain? Or specified IPs? This way the credentials used for the feature are kept secret.
Is there a way to set up a cron job on sandbox.themeblvd.com that puts it back to some state, every 24 hours? https://www.youtube.com/watch?v=gVTqkBP4MVE
Hello! I love the concept! However, justwrite.app doesn't open the dashboard. I can get the single articles visible by opening manually for example http://justwrite.app/edit/189. But going to http://justwrite.app just shows blank page and this in Console:
app.js:63 TypeError: Cannot read property 'slug' of undefined
at app.js:38
at Array.map (<anonymous>)
at app.js:38
at beginWork (app.js:63)
at o (app.js:63)
at i (app.js:63)
at b (app.js:63)
at A (app.js:63)
at v (app.js:63)
at m (app.js:63)
Let's go for at least somewhat GDPR compliant.
Non-interactive elements should not be assigned mouse or keyboard event listeners
There are a few navigational elements that are using list items instead of actual links or buttons. So the JSX and CSS need to be adjusted so that these use actual buttons.
The current problem is that when the content starts becoming larger, the portion being edited on the left no longer matches the location of the area in the preview to the right.
I noticed recently Ghost's editor (which has a similar structure to our's) allows the user to scroll the preview window independently of everything else. Let's figure out a way to do something similar.
Slates accidentally got left in the package.json when playing around with different editors. Remove it.
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.