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

Explore page: trading pairs #111

Closed
grod220 opened this issue Oct 24, 2024 · 1 comment · Fixed by #186
Closed

Explore page: trading pairs #111

grod220 opened this issue Oct 24, 2024 · 1 comment · Fixed by #186
Assignees

Comments

@grod220
Copy link
Contributor

grod220 commented Oct 24, 2024

Desktop loading skeleton:

Screenshot 2024-10-24 at 4 59 40 PM

Desktop loaded state:
Screenshot 2024-10-24 at 5 00 12 PM

Mobile loading skeleton:
Screenshot 2024-10-24 at 5 00 37 PM

Mobile loaded state:
Screenshot 2024-10-24 at 5 01 25 PM

Reference: https://www.figma.com/design/xWsVprkEgEihweVN9isrGQ/DEX-(Incl.-UI-Lib)?node-id=3658-145100&node-type=canvas&t=NYogohDveZXB9V4J-0

@github-project-automation github-project-automation bot moved this to 🗄️ Backlog in Penumbra web Oct 24, 2024
@grod220 grod220 moved this to 📝 Todo in Labs web Oct 24, 2024
@grod220 grod220 added this to Labs web Oct 24, 2024
@cronokirby
Copy link
Contributor

Like with #107, I think the table in pindexer's dex explorer schema has all the info we need already? https://github.com/penumbra-zone/penumbra/blob/main/crates/bin/pindexer/src/dex_ex/schema.sql#L50

@grod220 grod220 moved this from 📝 Todo to 🗄️ Backlog in Labs web Oct 24, 2024
@grod220 grod220 moved this from 🗄️ Backlog to 📝 Todo in Labs web Nov 7, 2024
@VanishMax VanishMax self-assigned this Nov 13, 2024
VanishMax added a commit that referenced this issue Nov 27, 2024
* feat: #110: add PenumbraWaves SVG to the header

* feat: #110: add markup for the explore page header

* feat: #111: add loading markup for the pairs table

* feat: fill table with fake data

* feat: implement stats backend request

* feat: apply stats data to the explore page

* feat: #110: use server components to render the explore page

* fix: lint

* fix: move the constant out

* fix: add tablet layout
VanishMax added a commit that referenced this issue Nov 29, 2024
VanishMax added a commit that referenced this issue Nov 29, 2024
@github-project-automation github-project-automation bot moved this from 🗄️ Backlog to ✅ Done in Penumbra web Dec 2, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Labs web Dec 2, 2024
VanishMax added a commit that referenced this issue Dec 2, 2024
# Conflicts:
#	src/pages/explore/ui/short-chart.tsx
#	src/shared/api/server/summary/all.ts
#	src/shared/api/server/summary/types.ts
#	src/shared/database/index.ts
VanishMax added a commit that referenced this issue Dec 2, 2024
VanishMax added a commit that referenced this issue Dec 2, 2024
VanishMax added a commit that referenced this issue Dec 2, 2024
VanishMax added a commit that referenced this issue Dec 3, 2024
VanishMax added a commit that referenced this issue Dec 4, 2024
* feat: display summary data of popular trading pairs

* fix: #111: refetching the query

* feat: select only distinct rows from summary table

* feat: #111: request candles

* feat: #111: improve the select query

* fix: #111: update sql statement

* feat: #111: set up the chart

* feat: #111: implement and finish the chart

* feat: #111: update to the latest data

* fix: #111: require durationWindow in the API
VanishMax added a commit that referenced this issue Dec 5, 2024
* feat: #111: make stats request in client components

* feat: #111: implement serialize, deserialize and innerFetch helpers

* fix: remove unused types

* fix: lint

* fix: rename innerFetch to apiFetch
VanishMax added a commit that referenced this issue Dec 5, 2024
# Conflicts:
#	src/pages/explore/api/use-stats.ts
#	src/shared/api/server/stats.ts
hdevalence pushed a commit that referenced this issue Dec 5, 2024
* feat: #111: make stats request in client components

* feat: #111: implement serialize, deserialize and innerFetch helpers

* refactor: use `apiFetch` and serializers for summary and summaries

* fix: use apifetch

* feat: #111: implement pagination of the trading pairs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants