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

Improve mobile view #102

Merged
merged 6 commits into from
Dec 18, 2023
Merged

Improve mobile view #102

merged 6 commits into from
Dec 18, 2023

Conversation

michalsidzej
Copy link
Contributor

Resolves L2B-3174

Copy link

linear bot commented Dec 18, 2023

Copy link

vercel bot commented Dec 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lz-monitoring-frontend ✅ Ready (Inspect) Visit Preview Dec 18, 2023 5:17pm

Copy link
Member

@sdlyy sdlyy left a comment

Choose a reason for hiding this comment

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

Sweet, went through the page on mobile - looks good.
The only thing is the crashing when transaction has not yet been executed

Comment on lines 89 to 97
<TransactionProperty
param="Transaction hash"
value={
<TransactionHash
transactionHash={transaction.transactionHash}
noStyle
/>
}
/>
Copy link
Member

Choose a reason for hiding this comment

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

If the transaction has not been executed, the transaction hash will be null thus crashing frontend since we have no error boundaries

Copy link
Member

Choose a reason for hiding this comment

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

To reproduce please choose any discarded transaction of your liking and try to expand it

Copy link
Member

Choose a reason for hiding this comment

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

Yet again safe api kit typings are wrong, I'll submit a fix soonish ;p

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -40,7 +40,7 @@ export function RowLabel({
return (
<div
className={cx(
'py-2 pr-2 text-sm font-medium leading-5 text-gray-100 md:w-1/5 md:py-0',
'py-2 pr-2 text-sm font-medium leading-5 text-zinc-200 md:w-1/5 md:py-0',
widthRation,
Copy link
Member

Choose a reason for hiding this comment

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

I see I made typo back then, could you please fix it?

widthRation => widthRatio

thx ❗

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@sdlyy sdlyy left a comment

Choose a reason for hiding this comment

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

n1

@michalsidzej michalsidzej enabled auto-merge (squash) December 18, 2023 17:16
@michalsidzej michalsidzej merged commit 3e73443 into main Dec 18, 2023
5 checks passed
@michalsidzej michalsidzej deleted the feat/mobile-view branch December 18, 2023 17:17
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.

2 participants