-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Diff summary on proposed changes views (#3988)
* add variant * update tabs button with new primitive * update avatar ui * add classname props for date display * remove empty space * add qsp for proposed changes state tabs buttons * update query to use variables * move proposeed changes items and add more components * update avatar variants * 🔧 * update avatrs for reviewwers * udpate proposed changes query * udpate info for comments * start add query in proposed change data * rename files * rename files * add counters for proposed changes * fix revert constant * update margin * enable search * update main list ui * remove date and summary * prevent event propagation * add more variants * update ui * 🔧 * fix details query * ad variant * update badge * update messages count * ui updates * add variant * handle actions * update to use primitive * fix peer diff ui * remove conflict info * rename modal component * add pc deletion * fix test and testids components * udate locators * update locators * fix reviewers form * remove integration test * add test id * add data diff e2e check * fix locators for delete proposed change on multiple items * update ui, testid and assertions * update title * update border * update margin * update variant * add verification after approval * referch after update and fix approver icon testid * ensure we delete the first proposed change found * fix query regression for details * update pc name edit to fix deletion * remove logs * update locators for strict mode * update delete locator * add diff summary query and logic * remove time from parameter * remove parameter * update buttons * typo * type * update colors to match badges * update branch names * 🔧 * removes conflict info * update diff summary query * skip tests having issues with api responses * udpate fixme tests
- Loading branch information
Showing
5 changed files
with
37 additions
and
25 deletions.
There are no files selected for viewing
9 changes: 6 additions & 3 deletions
9
frontend/app/src/graphql/queries/proposed-changes/getProposedChangesDiffSummary.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
export const getProposedChangesDiffSummary = ` | ||
query GET_PROPOSED_CHANGES_DIFF_SUMMARY($branch: String) { | ||
DiffSummary(diff_from: $branch){ | ||
display_label | ||
query GET_PROPOSED_CHANGES_DIFF_SUMMARY { | ||
DiffTree { | ||
num_added | ||
num_updated | ||
num_removed | ||
num_conflicts | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters