Coder Social home page Coder Social logo

gatsby-theme-contentful's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gatsby-theme-contentful's Issues

Separate flow for non-authenticated applications

Verify the separate component flow for non-authenticated applications so the user of the theme does not have to provide Auth0 credentials in the .env.development and .env.production files if they are not generating an auth app.

Fix Banner moving while Auth State is loading

When the auth state is loading and the Menu has not loaded yet the banner will move and then change position after the Menu Icon loads
Fix this so the positioning does not change

Documentation Updates

Update the documentation to reflect the new features and configuration changes for:
Widget handling
Auth vs NoAuth
Page Types
Schema Generation
Using Quick Start
Creating Content
Creating Article Content
Theme styling with Tailwind CSS
Example Components

Remove one-thousand-eyes from the repo

This project is separate from the theme and should not be used as a demo and needs to be removed
The tabbed page can be added as a demo example to the Demo app

Add the capability to create an article post from Contentful

We need the capability for people to add blog articles by themselves without engineering intervention

The schema for a Rich Text Field is as follows:
Image
List
Links
Headers
Text

All the Rich Text needs to render in the UI if it's included
All the Rich Text fields are optional and should not break UI if not included
The route should not render in the nav bar
The route should always be /blog/{articleName}

Add a template to render these blog articles properly since the current blog articles use MDXRenderer

Make Hero/Banner optional

Currently the Contentful configuration requires at least 1 hero or banner image in order for the graphql query to render data and not blow up the build.
Create a separate workflow that checks for the page type HeroLanding or something like that before fetching images

Research integrating mirage.js

I want to give people the possibility of rapidly prototyping their UI without worrying about the back-end
Mirage mocks the API so Developers can test their apps without worrying about building out the back-end first

Make a Form by passing a schema of which fields we want to Capture

Either pass a config file that specifies field names and field type or use Contentful to dynamically create the form

This will enable the user to create a form and capture whichever data they desire
The only thing left once this happens is to pass an API call as an .env variable for POST and GET methods to submit and return results of the form

Add package React-Headroom for the header

The header is intrusive when the user is scrolling down
Adding this package will allow the header to show up when needed such as the user scrolling back up
This will improve the UI

Refactor Components to be reusable

I've noticed that some of the components in the Theme are duplicates or very close

Spend some time identifying similarities and create smaller components where possible to reduce code duplication
Once components are identified, break them out into subtasks in reference to this issue to reduce the scope of the refactor

Add Categories and filtering to articles

                <div
                  key={`tagsContainer-${index}`}
                  className="grid grid-cols-3 lg:grid-cols-4"
                >
                  {article.categories &&
                    article.categories.map((category, ind) => {
                      return (
                        <p
                          key={`tag-${ind}`}
                          className="shadow-outline border-aqua px-1 mr-2 text-center"
                        >
                          {category}
                        </p>
                      );
                    })}
                </div>

^^ Code snippet to add the categories on the ArticleSummaryCard

Test Auth Solution

Test and make sure the auth solution works as a build and serve on local before pushing to Netlify

Configure Blog Section

Currently all Posts/Articles show up in the Nav at the root level
I want to change this and create a Blog page with all Posts/Articles to go off the /blog root path and be found on the blog page

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.