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

Add stats for nerds #2453

Merged
merged 40 commits into from Dec 7, 2020
Merged

Add stats for nerds #2453

merged 40 commits into from Dec 7, 2020

Conversation

lipis
Copy link
Member

@lipis lipis commented Dec 5, 2020

Fixes #1119

Preview: https://excalidraw-git-stats.excalidraw.vercel.app/

Kapture 2020-12-05 at 22 42 05

Component

  • Add to context menu
  • Add labels to en.json
  • Add x to close this window

Version 1.0

  • Show total elements
  • Show total dimensions
  • Show selected elements
  • Show selected elements dimensions
  • Storage
    • Scene (elements)
    • Total

Version 2.0

  • Session
    • Total connected
    • Traffic in
    • Traffic out

Version 5.0

  • Edit values from there :)

Feel free to suggest what else we can have in this list

@vercel
Copy link

vercel bot commented Dec 5, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/excalidraw/excalidraw/5pizked70
✅ Preview: https://excalidraw-git-stats.excalidraw.now.sh

@dwelle
Copy link
Member

dwelle commented Dec 5, 2020

  • Unless we're concerned about perf (which I think should be fine for this small compo), let's put it into App.tsx as a sibling of LayerUI so that we get real-time updates instead of on pointerup.
  • I'd add x/y positions to the selection section when we're at it so I can stop unstashing code paths for that when debugging.

* 'stats' of github.com:excalidraw/excalidraw:
  debounce storage sizes getter & rewrite to hooks
  move to app to update in real-time
* 'stats' of github.com:excalidraw/excalidraw:
  cancel on unload
* 'master' of github.com:excalidraw/excalidraw:
  chore(package.json): set public access for npm packages (#2463)
  Fix scrollbars when no elements (#2460)
  show lockicon on a second row on mobile (#2462)
  Do not override cmd/ctrl-f for search (#2461)
  Fix middle handles on mobile (#2459)
  Remove native gesture "support" from iOS (#2457)
  Don't open context menu when multi-touch (#2455)
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.

Add stats for nerds for debugging
2 participants