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

WIP: Playground redesign #144

Merged
merged 56 commits into from
Jul 15, 2024
Merged

WIP: Playground redesign #144

merged 56 commits into from
Jul 15, 2024

Conversation

JuroUhlar
Copy link
Collaborator

@JuroUhlar JuroUhlar commented May 22, 2024

JIRA: https://fingerprintjs.atlassian.net/browse/INTER-510
Demo: https://staging.fingerprinthub.com/playground

  • Redesigned the Playground according to the original Figma design unifying the esthetic with the main website
  • Added How to use this demo section featuring a new Accordion component
  • Added a Learn more section and made the tiles switch to horizontal scrolling behavior on mobile devices
  • Signal tables are collapsible now using a new Collapsible component
  • Improved latency perception by showing the visitor ID right away while waiting for the Server API result
  • Improved JSON viewing experience:
    • Researched and found a JSON viewer library with (hopefully) sufficient customization options
    • Copy button for the entire JSON and individual objects within
    • JSON nodes can collapse and expand on click
    • Better (more precise) syntax highlighting
    • The new library required simplifying some of the e2e tests but I think they still work well enough
    • Unified scrollbar appearance across browsers using a new ScrollArea component
  • Moved Playground to the app router
  • Smarter use of accuracyRadius - if large, we only show the user their country, and the map is zoomed out
  • Refactored FancyNumberedList into a reusable component
  • Refactored ResourceLinks into a reusable component
  • Fixed React mark-up errors in SVG components
  • CI: Fixed E2E report-status job condition

@JuroUhlar JuroUhlar marked this pull request as ready for review July 2, 2024 13:24
@JuroUhlar JuroUhlar requested review from ilfa and TheUnderScorer and removed request for ilfa July 2, 2024 14:20
ilfa
ilfa previously approved these changes Jul 3, 2024
src/client/components/common/componentUtils.tsx Outdated Show resolved Hide resolved
e2e/playground.spec.ts Outdated Show resolved Hide resolved
e2e/playground.spec.ts Outdated Show resolved Hide resolved
src/client/components/common/CodeSnippet/CodeSnippet.tsx Outdated Show resolved Hide resolved
src/client/components/common/componentUtils.tsx Outdated Show resolved Hide resolved
TheUnderScorer
TheUnderScorer previously approved these changes Jul 8, 2024
ilfa
ilfa previously approved these changes Jul 8, 2024
* feat: external link animation

* feat: custom spinner

* feat: running intelligence animation

* fix: move refresh button to the top

* feat: add remote control smart signal

* feat: add velocity smart signal

* left align hero section on mobile

* fix accordion color

* fix build

* feat: use the same mapbox tiles as the main website

* ci: run check even when PR is not into main

* fix: spinner size
@JuroUhlar JuroUhlar dismissed stale reviews from ilfa and TheUnderScorer via 5049a57 July 12, 2024 12:31
* feat: external link animation

* feat: custom spinner

* feat: running intelligence animation

* fix: move refresh button to the top

* feat: add remote control smart signal

* feat: add velocity smart signal

* left align hero section on mobile

* fix accordion color

* fix build

* feat: use the same mapbox tiles as the main website

* ci: run check even when PR is not into main

* feat: put visitor ID box in the identification column

* fix mobile layout

* self-review: remove comments

* test: fix locator

* fix map z index

* fix: disable scroll restoration on playground

* feat: add table animations

* fix: remove !important
@JuroUhlar JuroUhlar requested a review from ilfa July 15, 2024 11:00
@JuroUhlar JuroUhlar merged commit abea4e7 into main Jul 15, 2024
5 checks passed
@JuroUhlar JuroUhlar deleted the feat/playground-redesign branch July 15, 2024 13:04
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.

3 participants