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

Add SyncApplication Button to UI #1087

Merged
merged 7 commits into from Nov 19, 2021
Merged

Add SyncApplication Button to UI #1087

merged 7 commits into from Nov 19, 2021

Conversation

joshri
Copy link
Contributor

@joshri joshri commented Nov 17, 2021

Closes #1034

A button handling the SyncApplication request has been added to ApplicationDetail, along with unit tests and numerous test-utils changes to facilitate mocking the API. Button is disabled while call is being made, but this state is not held on refresh.

Screen.Recording.2021-11-17.at.5.38.10.PM.mov

@joshri joshri added the area/ui Issues that require front-end work label Nov 17, 2021
Copy link
Contributor

@jpellizzari jpellizzari left a comment

Choose a reason for hiding this comment

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

Nice work!

@@ -8,6 +8,7 @@ import {
Switch,
} from "react-router-dom";
import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
Copy link
Contributor

Choose a reason for hiding this comment

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

🎉

@joshri joshri merged commit 28655e9 into main Nov 19, 2021
@joshri joshri deleted the 1034-sync-app-button branch November 19, 2021 18:45
joshri added a commit that referenced this pull request Nov 19, 2021
* added sync request and button with circular progress

* -m starting unit tests and toastify incorporated on success

* Fix act() warning in ApplicationDetail test

* Cleanup ApplicationDetail test api mocking

* -m Generalize withContext function to accept any Application props

* fixed RepoInput test

* fixed appContext in tests

Co-authored-by: Joshua Israel <joshua.israel@weave.works>
Co-authored-by: Jordan Pellizzari <jordan@weave.works>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui Issues that require front-end work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SyncApplication button to the UI
2 participants