Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Adding new LWC Version called SearchGiphyLwc #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dseligson
Copy link

This commit appends an LWC component called "SearchGiphyLwc" which behaves nearly the same as the still existing SearchGiphy aura component. Either component may still be used with the exact same setup steps. For the updated experience, after installing the source code, edit the GIFter Home page and replace the existing SearchGiphy component with the new SearchGiphyLwc component.
image

Additional enhancements include:

  1. Spinner is displayed while Chatter Post is created
  2. fetch api is used instead of jQuery $.getJSON()
  3. Error Toasts are presented if Giphy Search fails or Chatter Post fails.

@dseligson
Copy link
Author

Note that there is a Trailhead project which uses the GIFter code base and two of the Steps in the project need API version numbers to be updated from "43.0" to "45.0"
In the instructions where the sfdx-project.json file is displayed, the sourceApiVersion is shown as "43.0".
This must be increased to "45.0" so that the lwc components may be installed.

image

@wadewegner
Copy link
Contributor

It's incredibly generous of you to take the time to send us this PR. We'll take a look. Thank you, @dseligson!

FYI @ekapner

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants