Giter VIP home page Giter VIP logo

variate-vue's People

Contributors

dependabot[bot] avatar foxted avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

mskry

variate-vue's Issues

Catch reporting exceptions to avoid UI errors

Is your feature request related to a problem? Please describe.

As a marketer, I want to avoid the UI of my application to break due to an exception that occurs during reporting.

Describe the solution you'd like

Catch (and describe) any reporting exceptions without letting them affect how a page is rendered to the user.

Describe alternatives you've considered

Only allow the exception to occur when debug: true.

Additional context


[Feature] Make it easier to set default values for component properties

Feature

As a developer, I would like to be able to set default values for a property and allow Variate to override them only if the user is qualified into a live experiment.

Ideal solution

I want my component to use the default headline below unless something else is passed from Variate:

...mapAttributes({
            headline: 'Default Headline',
            showGetStartedButton: false
        }),

Alternatives (optional)

This seems to work currently, but not great:
<h1>{{ headline || 'My default headline' }}</h1>

Additional context (optional)

[Bug] Cannot target certain components by name

Description

For some reason, when I target my component features (also tried Features) I cannot get the variation attributes to be passed to the component in question.

How To Reproduce

  1. Config: https://github.com/alhankeser/variate-vue-demo-issues/blob/bug/target-component/variate.json#L117
  2. Features.vue: https://github.com/alhankeser/variate-vue-demo-issues/blob/bug/target-component/src/views/Features.vue#L59
  3. Navigate to /features and the default headline will always show even though I have qualified into a variation.

Expected behavior

I expected to see one of my variation headlines instead of the default headline.

Screenshots

If applicable, add screenshots to help explain your problem.

Platform

Desktop (please complete the following information):**

  • OS: macOS 10.14.5
  • Browser: Chrome
  • Version: 78.0.3904.97

Additional context

Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.