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

Open interaction dialog when adding prep in ExchangeOut #4805

Merged
merged 14 commits into from
May 21, 2024

Conversation

CarolineDenis
Copy link
Contributor

@CarolineDenis CarolineDenis commented Apr 18, 2024

Fixes #922

Checklist

  • Self-review the PR after opening it to make sure the changes look good
    and self-explanatory (or properly documented)
  • Add relevant issue to release milestone

Testing instructions

  • Go to interactions
  • Open Exchange Out
  • Add a prep
  • verify the interaction dialog opens
  • verify that you can add a prep by selecting "By choosing a record set"
  • verify that you can add a prep by selecting "By entering catalog number"
  • verify that you can add an unassociated item
  • test adding a preparation for ExchangeIn

@CarolineDenis CarolineDenis added this to the 7.9.6 milestone Apr 18, 2024
Triggered by 45c17ae on branch refs/heads/issue-922
Copy link
Contributor

@melton-jason melton-jason left a comment

Choose a reason for hiding this comment

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

Currently, ExchangeOut is not the only Interaction missing a dialog: ExchangeIn is missing one as well!

I have some suggestions to make our current approach more generic without relying on hardcoding the tables which are supported.

@CarolineDenis CarolineDenis marked this pull request as ready for review May 13, 2024 13:53
@CarolineDenis CarolineDenis requested a review from a team May 13, 2024 13:53
Copy link
Collaborator

@emenslin emenslin left a comment

Choose a reason for hiding this comment

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

Testing instructions

  • Go to interactions
  • Open Exchange Out
  • Add a prep
  • verify the interaction dialog opens
  • verify that you can add a prep by selecting "By choosing a record set"
  • verify that you can add a prep by selecting "By entering catalog number"
  • verify that you can add an unassociated item
  • test adding a preparation for ExchangeIn

There is no option for adding an unassociated item when creating an exchange in/out, only in the add items dialog.
Screenshot 2024-05-13 102428
Screenshot 2024-05-13 102444

Also although you can add preparations through record set or catalog numbers in the create exchange in/out, when you try to add any items after that it just adds a blank preparation

LK8UmhhIet.mp4

Basically, the initial dialog works aside from missing the add unassociated preps button but the add items dialog will only add blank preparations.

Also side note, the exchange in default form does not include the preparations subview, is there a reason for that?

@melton-jason
Copy link
Contributor

Testing instructions

  • Go to interactions
  • Open Exchange Out
  • Add a prep
  • verify the interaction dialog opens
  • verify that you can add a prep by selecting "By choosing a record set"
  • verify that you can add a prep by selecting "By entering catalog number"
  • verify that you can add an unassociated item
  • test adding a preparation for ExchangeIn

There is no option for adding an unassociated item when creating an exchange in/out, only in the add items dialog. Screenshot 2024-05-13 102428 Screenshot 2024-05-13 102444

Also although you can add preparations through record set or catalog numbers in the create exchange in/out, when you try to add any items after that it just adds a blank preparation

LK8UmhhIet.mp4
Basically, the initial dialog works aside from missing the add unassociated preps button but the add items dialog will only add blank preparations.

Also side note, the exchange in default form does not include the preparations subview, is there a reason for that?

@emenslin

Both of these issues have been fixed.

  • All Interactions with Preparations (Disposal, ExchangeIn, ExchangeOut, Gift, Loan) should now have the Without Preparations button when creating the Interaction.
    • Previously only Gift and Loan had the button
  • When adding Preparations from the Interaction, it should no longer add empty Interactions.

Copy link
Collaborator

@emenslin emenslin left a comment

Choose a reason for hiding this comment

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

Testing instructions

  • Go to interactions
  • Open Exchange Out
  • Add a prep
  • verify the interaction dialog opens
  • verify that you can add a prep by selecting "By choosing a record set"
  • verify that you can add a prep by selecting "By entering catalog number"
  • verify that you can add an unassociated item
  • test adding a preparation for ExchangeIn

Looks good, the without preparation button is there and it adds items correctly now!

@emenslin emenslin requested a review from a team May 13, 2024 18:11
Copy link
Contributor

@alesan99 alesan99 left a comment

Choose a reason for hiding this comment

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

  • verify the interaction dialog opens
  • verify that you can add a prep by selecting "By choosing a record set"
  • verify that you can add a prep by selecting "By entering catalog number"
  • verify that you can add an unassociated item
  • test adding a preparation for ExchangeIn

Checks out 👍
I also found it weird that there is no preparation subview in the default Exchange In form, but perhaps that can be addressed elsewhere

@CarolineDenis CarolineDenis merged commit 23c316b into production May 21, 2024
7 of 9 checks passed
@CarolineDenis CarolineDenis deleted the issue-922 branch May 21, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Exchange Out preparations does not trigger Add Items dialog
4 participants