Compare commits

..

No commits in common. "82788b35bf99a94824889550687430c64507840f" and "c4a96af5d3f7774a23531aa5e67f5f2ea96705f6" have entirely different histories.

5 changed files with 1 additions and 47 deletions

View File

@ -32,7 +32,7 @@ You can mention here anything that you think is relevant for this PR. Some examp
If your PR is not ready for review yet, please mark your PR as a draft.
If changes were requested, request a new review when you incorporated the feedback.
-->
**On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:**
**Did you QA this? Could we deploy this straight to production? Please answer below:**
<!-- put your answer about QA here -->

View File

@ -146,7 +146,6 @@ export default gql`
rel: String
apiKey: Boolean
invoice: Invoice
cost: Int!
}
input ItemForwardInput {

View File

@ -25,7 +25,6 @@ import UserPopover from './user-popover'
import { useQrPayment } from './payment'
import { useRetryCreateItem } from './use-item-submit'
import { useToast } from './toast'
import { useShowModal } from './modal'
export default function ItemInfo ({
item, full, commentsText = 'comments',
@ -211,7 +210,6 @@ export default function ItemInfo ({
<EditInfo />
<ActionDropdown>
<CopyLinkDropdownItem item={item} />
<InfoDropdownItem item={item} />
{(item.parentId || item.text) && onQuoteReply &&
<Dropdown.Item onClick={onQuoteReply}>quote reply</Dropdown.Item>}
{me && <BookmarkDropdownItem item={item} />}
@ -271,39 +269,3 @@ export default function ItemInfo ({
</div>
)
}
function InfoDropdownItem ({ item }) {
const me = useMe()
const showModal = useShowModal()
const onClick = () => {
showModal((onClose) => {
return (
<div className={styles.details}>
<div>id</div>
<div>{item.id}</div>
<div>created at</div>
<div>{item.createdAt}</div>
<div>cost</div>
<div>{item.cost}</div>
<div>sats</div>
<div>{item.sats}</div>
{me && (
<>
<div>sats from me</div>
<div>{item.meSats}</div>
</>
)}
<div>zappers</div>
<div>{item.upvotes}</div>
</div>
)
})
}
return (
<Dropdown.Item onClick={onClick}>
details
</Dropdown.Item>
)
}

View File

@ -154,12 +154,6 @@ a.link:visited {
grid-template-columns: auto minmax(0, 1fr);
}
.details {
display: grid;
grid-template-columns: auto auto;
column-gap: 1rem;
}
/* .itemJob .hunk {
align-self: center;
}

View File

@ -65,7 +65,6 @@ export const ITEM_FIELDS = gql`
actionState
confirmedAt
}
cost
}`
export const ITEM_FULL_FIELDS = gql`