buttercms / react-starter-buttercms Goto Github PK
View Code? Open in Web Editor NEWDrop-in proof-of-concept app for React, fully integrated with your ButterCMS account.
Home Page: https://react-starter-buttercms-demo.vercel.app
Drop-in proof-of-concept app for React, fully integrated with your ButterCMS account.
Home Page: https://react-starter-buttercms-demo.vercel.app
In Heroku: Buttercms Iframe preview returns 404, even though URL for preview is valid. Full-screen preview functions as normal.
Please include a completed version of this checklist in the PR comments
when turning in projects.
Note: For frameworks that generate static sites, e.g., NextJS, etc.: once these
sites have been built, both locally and in production, they will not
automatically reflect changes to content in the customer's ButterCMS.com
account without rebuilding. As such, items that refer to updating items
with changes, such as posts, pages, header, catgories, tags, etc.,
assume this is being tested while running the hot-reloading development server.
The .scss files are just for the base assets repo, so that we can make global changes to the css files that is to be used across project. Can you please remove scss from this repo?
The "update this page in butter" buttons on the homepage should all open their link in a new tab. The top one does, but the middle and bottom one do not.
All PR's from previous issues have been tested and merged in. Needs final code recheck.
I've run npm run test command and got an error https://share.getcloudapp.com/KouYv0Pl. I think we should remove tests completely
Can we pull this test code out?
Set repo as private for in progress work. Will need @jakelumetta to make public at some point.
Other starters don't have this https://github.com/ButterCMS/react-starter-buttercms/blob/main/src/index.js#L45
Can we strike this code? I think it was mentioned that it was autogenerated?
Some of the images in the assets are fetched from the cms, so we don't need them in the repo (for example: src/assets/images/blog/blog-thumbnail.png)
Can we delete these? Thank you.
Hi @prokopsimek! I saw what you did with the <title> and SEO data for the blog main view, categories view, search view, and tags view, and I thought, hey, wow, that's really smart! I hadn't put a ton of thought into how to easily make those dynamic, so we just opted to use static placeholders, but the dynamic change you put in was so good and obvious it made me feel bad I didn't think of it.
I'd like to request a change, but only if it wouldn't be very time consuming / difficult to implement, as I'm not a fan of the current capitalization scheme and wording for these pieces, but I also don't want to use up a lot of time since we're still waiting on internal code review.
If it's easily implementable, for this project, can I request changing the SEO data for these views to the following:
<title> Sample Blog - {{ item }} </title>
<description> Sample blog powered by ButterCMS, showing {{ item }}</description>
Where {{ item }} is one of the following:
- "all posts"
- "category: {{ category }}
- "tag: {{ tag }}
- "search results for {{ query }}
I'm going to update the checklist with this change as well. Let me know if you think would be a quick and easy fix - i see you already have the tag / category dynamically feeding into the template, so i figured it wouldn't take long, but i wanted to make sure.
All comments from this review have been broken apart into separate issues to make it easier to knock out. Closing this issue :)
Hi @prokopsimek,
Can you please verify if the styles inside https://github.com/ButterCMS/react-starter-buttercms/blob/main/src/App.css actually used anywhere?
For this screen (https://share.getcloudapp.com/YEuB2wgz)
can we add "your", e.g., "to your .env file." Technically, we could use the definite article or even "a" or "an", but "your" removes the grammatical ambiguity here.
Per checklist, project should 404 with invalid token. On localhost, I am just getting the API Token Hero screen.
At current, the route 'landing-page'/'page-slug' automatically fetches our current landing-page-with-components.
Can we instead have it utilize the slug to select the correct landing page to fetch and render that? Index should still be hard-coded to landing-page-with-components at this time, but this would allow the user to create and test a different landing page in the future.
I'm seeing a lot of warnings with NPM install - I'm guessing because we didn't specify the exact node version, and I'm running a different version locally. Can we specify node version with the package (I feel like we did this for gatsby?)
If you're on the /blog page, and you click on "features", for example, from the mobile menu, it will return you to the main page, but does not smooth scroll down to the appropriate section. video
Hello
It looks like preview is set with !: https://github.com/ButterCMS/react-starter-buttercms/blob/main/src/utils/buttercmssdk.js#L6
If no PREVIEW value is set, this works correctly - but if the user manually sets it to true
, it breaks the preview functionality and actually displays the opposite.
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.