agilesix / AgileSix.com

Agile Six works with government agencies to create customized digital solutions that meet the needs of their users, both staff and citizens.
https://agile6.com
MIT License
4 stars 1 forks source link

WIP Blog proof of concept #44

Closed amponce closed 1 year ago

amponce commented 1 year ago

Agile6 Blog POC

Screen Shot 2022-11-09 at 5 39 47 PM

Screen Shot 2022-11-10 at 4 55 06 PM

Screen Shot 2022-11-10 at 4 55 55 PM

netlify[bot] commented 1 year ago

Deploy Preview for agile6 ready!

Name Link
Latest commit d95023d8d33d34b3808ed8061ddaad9a06d31a66
Latest deploy log https://app.netlify.com/sites/agile6/deploys/637542e7abaf0f00094972f9
Deploy Preview https://deploy-preview-44--agile6.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

DanielMiller-agile6 commented 1 year ago

I forgot that you were already on leave @amponce , so no worries on making changes :). I'll make any necessary changes to the branch and handle merging the PR. Enjoy your time with the new family member!

JQuaggles commented 1 year ago

Is there anything blocking more than 2 showing on the page? I added a 3rd test in the preview-44 but it didnt get added. Aaron had mentioned some of the items weren't connected that were needed to do that in preview, but just wanted to check on that.

DanielMiller-agile6 commented 1 year ago

think i fixed it, but I might be able to simplify this for a bit, at least until we have a plan for pagination.

On the "Blog" page in the CMS admin, you need to go to the "Blog Posts" widget and add all of the blog posts you would like to show up on the blog page. This looks to be inspired by the other similar features we have, like case studies, where we can select which items we'd like to display in this grid list, or omit some. I've already changed this in the preview admin and checked in the change, but here's a screenshot of this widget from the "Blog Page" cms editor: Screen Shot 2022-11-14 at 7 32 21 PM

I think we could remove this functionality, and then setup the blog page to attempt to render all blog posts (with a max limit) instead of the selected blog posts from the page editor 🤔... however this functionality does allow us to manually prune our list of blog posts, so can be helpful until we have a pagination plan. We could also try to sort the blog posts to show the most recent ones first if that sounds reasonable for now?

JQuaggles commented 1 year ago

No, it's ok, I'm dumb. Literally did the same thing to Aaron last week and completely forgot... "wah wah I cant get it to work" "do this" ... "oh yeah." That was me last week.

JQuaggles commented 1 year ago

But yes to the most recent first if that is possible

DanielMiller-agile6 commented 1 year ago

i took a quick look at using timestamps to use for sorting blog posts, but this is actually a little trickier than I hoped, so I'll look some more tomorrow. we could either:

JQuaggles commented 1 year ago

LOL Build failure due to an upgrade that literally took place today. https://answers.netlify.com/t/unsupported-build-image-message-today-rather-than-november-15th/76375

DanielMiller-agile6 commented 1 year ago

i'm looking into upgrading our build image and see if that resolves things

DanielMiller-agile6 commented 1 year ago

ok, think we're good with the new image. i retried the build and seems to work, so new content should be available to view from the preview link.

@JQuaggles can you try making a CMS edit again for the preview site and publish to test out the auto-deploy again?