Skip to content

ak--47/mp-tweaks

Repository files navigation

MP Tweaks!

MP Tweaks is a chrome extension designed to assist mixpanel employees in testing user experiences by providing various tools to inject feature flags, modify HTTP headers, and "tweak" the Mixpanel web application.

It can be found (unlisted) on the chrome web story here: http://bit.ly/mpTweaks

🧪 Testing

Running Tests

  • npm test - Run all tests in headless mode (no browser window)
  • npm run test:debug - Run all tests with visible browser (for debugging)
  • npm run test:e2e-debug - Run only e2e tests with visible browser

Test Modes

  • Headless Mode (default): Tests run invisibly in the background for faster CI/development
  • Debug Mode: Browser window opens with DevTools, slower execution for easier debugging

Set DEBUG=true environment variable or use debug scripts to enable visible browser testing.

🚀 Feature Flags

  • Inject Feature Flags: Inject feature flags into the active tab to test different functionalities dynamically.
  • Add your own feature flags

💆 Mod Header

  • Control Headers: Add and remove headers dynamically.

🎥 Session Replay

  • Record Your Screen: Start and stop recording your screen in the current tab with the provided Mixpanel project token.

🪡 Project Creator

  • Create New Projects: Quickly create new projects within your personal organization.

🛠️ Chart Editor / API Query Builder

  • Data Manipulation: Change the data for a chart
  • Query API: construct an API query payload for a chart in the active tab.

🚦 Persistent Options

  • Always Active Features: Set features that are always active on all Mixpanel tabs when enabled, such as:
    • hiding banners and notifications
    • renaming tabs
    • augmenting chart data.

🧰 Odds and Ends

  • Miscellaneous Tools: Includes tools like nuking cookies for cleaning up or debugging.

🍿 Demo

🤝 Contributing

Contributions are welcome! Please read the contributing guide on how to propose bug fixes, improvements, or new features.

📢 Feedback

Have feedback or suggestions? Fill out this for or file an issue directly in the GitHub repository.

About

a chrome extension for tweaking mixpanel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors