Giter Site home page Giter Site logo

justwrite's People

Contributors

themeblvd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

justwrite's Issues

Categories active menu item state isn't preserved

Steps to reproduce:

  1. From home dashboard click to filter posts by a category.
  2. Click to edit a post.
  3. When editing that post, click "Go Back" without ever updating.

Posts in home dashboard are still filtered by the category, but the "All Categories" menu item is highlighted as the active item.

Pagination should work when filtering posts in dashboard

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.

Editor toolbar on mobile covers content

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.

Re-think "All Categories" link

Issue

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.

Solution

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:

  • All Posts
  • My Posts
  • Category A
  • Category B
  • Category C

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.

Optimization

Can we get this down? After minification, it's currently 893 KB.

Add “play in the sandbox” feature

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

TypeError: Cannot read property 'slug' of undefined - Relates to post tags in dashboard home

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)

Fix accessibility warnings

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.

Create system for content pages

Maybe have a “pages” or “info” directory in the project src, which contains markdown files, each representing a different page.

In main App, there can be a route “/info/:page” and it can pull in and parse the markdown for the cooresponding file.

#1, #2

Add scrolling to editor's preview panel

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.