Sigma-Labs-XYZ/Explain-AI

"Generating" component

DomVinyard opened this issue · 1 comments

Description

We have the concept of a page 'Generating'. When this is happens it means that the topic already exists in the database (it was generated earlier because it was 'related' to an existing topic) but without a description.

Because we have both the topic image and the topic name, it means we can show a custom generating page:

Task

Replace:

Image

With:

Image

Image

### Acceptance criteria

  • Create a new file Generating.jsx to store the Generating component
  • When a page is being generated we should show this new component, rather than the string Generating....
  • The loading spinner is animated (https://www.npmjs.com/package/react-spinners)
  • Tests are present