Skip to content

Conversation

@amiraliemami
Copy link
Collaborator

@amiraliemami amiraliemami commented Aug 30, 2024

Reviewer: @markbotterill
Estimate: 15mins


Ticket

Fixes: Cleanup

Description

Changes

  • Contents page:
    • Updated snackbar to use localStorage instead of relying on URL parameters. This means that snackbars don't keep appearing on page reloads.
  • dashboard page 3
    • Rename dashboard page 3 to "Query Topics" since we're not doing content gaps yet and updated the logos to nicer ones
    • Change layout to use Paper and Box instead of Grids
    • AI box doesn't show if discovery has never been run
    • Button is aware of whether discovery has been run or not.

How has this been tested?

  • dev

Future tasks

  • Save the refreshing state of the discovery button to localStorage (or some other way of tracking that the process is still ongoing) so that if the user changes tab / leaves and comes back the button still shows that it's still working...

Checklist

Fill with x for completed.

  • My code follows the style guidelines of this project
  • I have reviewed my own code to ensure good quality
  • I have tested the functionality of my code to ensure it works as intended
  • I have resolved merge conflicts

Copy link
Contributor

@markbotterill markbotterill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@amiraliemami amiraliemami merged commit 8677214 into main Aug 30, 2024
@amiraliemami amiraliemami deleted the snackbar-update branch August 30, 2024 09:34
@amiraliemami amiraliemami restored the snackbar-update branch August 30, 2024 12:10
@amiraliemami amiraliemami deleted the snackbar-update branch August 30, 2024 12:13
amiraliemami added a commit that referenced this pull request Aug 30, 2024
* Remove content ID from snackbar messages

* Add slide-in and clean disappear to snackbars on content page

* Make content edit/creation snackbar independent of URL

* Update to "Query Topics" and update logos

* Refactor dashboard page 3 layout components

* Hide AI summary box if discovery has never been run

* Button now says Run Discovery if never ran, "Rerun" if ran before. Updated to LoadingButton with magic wand logo.

---------

Co-authored-by: Mark Botterill <markbotters@gmail.com>
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.

3 participants