Skip to content

[Dashboard] Add Insight blueprint playground #5631

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

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Dec 5, 2024

DASH-554


PR-Codex overview

This PR primarily focuses on refactoring and enhancing the insight feature in the application. It includes the removal of certain components, the addition of new functionalities, and improvements in code structure and UI elements.

Detailed summary

  • Deleted BlueprintsPage.tsx, BlueprintsExplorer.tsx, and BlueprintsPageHeader.tsx.
  • Updated useHeightObserver to be exported.
  • Adjusted CSS styles for height in ScrollShadow.module.css.
  • Added new props (scrollableContainerClassName, shadowColor) to several components.
  • Implemented fetchBlueprintList, fetchBlueprintSpec, and fetchAllBlueprints functions in utils.ts.
  • Enhanced the Page component to handle blueprint fetching and rendering.
  • Created a new BlueprintsSection component for displaying blueprints.
  • Added a new BlueprintCard component for individual blueprint representation.
  • Updated the SelectWithSearch component to include popoverContentClassName.
  • Added Storybook stories for BlueprintPlayground.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Dec 5, 2024

⚠️ No Changeset found

Latest commit: 7d25479

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Dec 5, 2024

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

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 5 resolved Dec 12, 2024 9:39pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Dec 12, 2024 9:39pm
thirdweb_playground ⬜️ Skipped (Inspect) Dec 12, 2024 9:39pm
wallet-ui ⬜️ Skipped (Inspect) Dec 12, 2024 9:39pm

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 5, 2024 18:57 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 5, 2024 18:57 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 5, 2024 18:57 Inactive
Copy link
Contributor

graphite-app bot commented Dec 5, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Dec 5, 2024
Copy link
Member Author

MananTank commented Dec 5, 2024


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@MananTank MananTank changed the title Insight Dashboard WIP - Insight Dashboard Dec 5, 2024
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.65%. Comparing base (bc368c5) to head (7d25479).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5631   +/-   ##
=======================================
  Coverage   51.65%   51.65%           
=======================================
  Files        1097     1097           
  Lines       57788    57788           
  Branches     4773     4773           
=======================================
  Hits        29853    29853           
  Misses      27217    27217           
  Partials      718      718           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from bc368c5
packages 48.40% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Copy link
Contributor

github-actions bot commented Dec 5, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 44.94 KB (0%) 899 ms (0%) 623 ms (+79.13% 🔺) 1.6 s
thirdweb (cjs) 110.78 KB (0%) 2.3 s (0%) 1.2 s (+0.39% 🔺) 3.4 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 40 ms (-50% 🔽) 152 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 28 ms (+143.07% 🔺) 38 ms
thirdweb/react (minimal + tree-shaking) 19.03 KB (0%) 381 ms (0%) 171 ms (+48.9% 🔺) 552 ms

@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 05785ef to 2622fa8 Compare December 5, 2024 22:20
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 5, 2024 22:20 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 5, 2024 22:20 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 5, 2024 22:20 Inactive
@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 2622fa8 to 8c5b968 Compare December 6, 2024 00:13
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 6, 2024 00:14 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 6, 2024 00:14 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 6, 2024 00:14 Inactive
@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 8c5b968 to 0d35304 Compare December 6, 2024 12:32
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 6, 2024 12:32 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 6, 2024 12:32 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 6, 2024 12:32 Inactive
@MananTank MananTank marked this pull request as ready for review December 12, 2024 19:40
@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 9434446 to 819b17a Compare December 12, 2024 20:01
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 12, 2024 20:01 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 12, 2024 20:01 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 12, 2024 20:01 Inactive
@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 819b17a to 32d5f61 Compare December 12, 2024 20:08
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 12, 2024 20:08 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 12, 2024 20:08 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 12, 2024 20:08 Inactive
@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 32d5f61 to 74bb3b1 Compare December 12, 2024 20:52
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 12, 2024 20:52 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 12, 2024 20:52 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 12, 2024 20:52 Inactive
Copy link
Contributor

graphite-app bot commented Dec 12, 2024

Merge activity

DASH-554

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily focuses on the removal of certain components related to `BlueprintsPage`, updates to the `useHeightObserver` function, and enhancements to the `BlueprintPlayground` functionality, including new utility functions for fetching blueprint data.

### Detailed summary
- Deleted components: `BlueprintsPage`, `BlueprintsExplorer`, `BlueprintsPageHeader`.
- Updated `useHeightObserver` to be an exported function.
- Changed height from `40px` to `32px` in CSS.
- Added new props (`scrollableContainerClassName`, `shadowColor`) to several components.
- Implemented a new utility for fetching blueprints and their specifications.
- Enhanced `BlueprintPlayground` to handle fetching and displaying blueprints.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@MananTank MananTank force-pushed the 12-06-insight_dashboard branch from 74bb3b1 to 7d25479 Compare December 12, 2024 21:31
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 12, 2024 21:31 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 12, 2024 21:31 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 12, 2024 21:31 Inactive
@graphite-app graphite-app bot merged commit 7d25479 into main Dec 12, 2024
32 checks passed
@graphite-app graphite-app bot deleted the 12-06-insight_dashboard branch December 12, 2024 21:40
@vercel vercel bot temporarily deployed to Production – docs-v2 December 12, 2024 21:40 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui December 12, 2024 21:40 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground December 12, 2024 21:40 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants