Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Refactored caching logic for individual blog posts" #524

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

jaasonw
Copy link
Contributor

@jaasonw jaasonw commented Sep 1, 2022

test revert to see if it fixes broken blog

@vercel
Copy link

vercel bot commented Sep 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
acm-csuf-site ✅ Ready (Inspect) Visit Preview Sep 1, 2022 at 0:33AM (UTC)

@vercel vercel bot temporarily deployed to Preview September 1, 2022 00:33 Inactive
@jaasonw jaasonw enabled auto-merge (squash) September 1, 2022 00:56
@jaasonw jaasonw merged commit 7db1f3b into main Sep 1, 2022
EthanThatOneKid added a commit that referenced this pull request Sep 1, 2022
NLTN added a commit that referenced this pull request Sep 1, 2022
* Added Filter by Tag feature

* Added TagField component

* Updated TagField on:change event  & Fixed minor bugs

* Updated TagField + Added discernTags() + Modified fetchNewsletters()

TagField can work with Javascript disabled.

* Optimized discernTags()

* Update src/lib/components/utils/acm-tagfield.svelte

Great suggestion. Much cleaner code & avoid bugs.

Co-authored-by: Ethan Davidson <[email protected]>

* Update src/routes/blog/index.xml.ts

OMG. Deconstructor syntax is so helpful.

Co-authored-by: Ethan Davidson <[email protected]>

* Fix bugs and improved code quality.

* Created a unit test for discernTags() function

* Added Svelte Slot component to TagField component

* Code refactoring. Change the word "Tag" with "Label".

* Optimized filterPosts()

* Changed slot name.

* Update src/lib/components/utils/acm-labelfield.svelte

Co-authored-by: Ethan Davidson <[email protected]>

* Update src/routes/blog/index.svelte

Co-authored-by: Ethan Davidson <[email protected]>

* Remove unnecessary code

* Update src/routes/blog/index.json.ts

Co-authored-by: Ethan Davidson <[email protected]>

* Fixed lint errors

* Hide LabelField if there is no posts

* Fixed a mistake made when merging conflicts

Somehow, I managed to empty out the contents of `/src/lib/common/utils.ts`. I put them back, merged.

* Added support for the "no posts" UI state.

* Removed unused import to pass the tests!

* Refactored `fetchNewsletters` to handle DEBUG mode logic

* Made blog page to work with/without Javascript.

* Revert "Revert "Refactored caching logic for individual blog posts (#515)" (#524)"

This reverts commit 7db1f3b.

* Fixed typo in blog page title

[4:48 PM]jasonw: i forgot to put post but
[4:48 PM]jasonw: change blog back to readme

Co-authored-by: Ethan Davidson <[email protected]>
@jaasonw jaasonw deleted the revert-515-fix/rnd-err-01 branch September 4, 2022 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants