You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Abby should have an integration for Vue (preferrably also Nuxt). This Integration should behave pretty closely to the existing Integrations and have feature parity (see React Docs)
Acceptance Criteria:
Must be inside of packages/vue
Must be named @tryabby/vue
Needs to consume @tryabby/core internally
Must be written in Typescript and have the same type quality as React etc
needs to have the following functionality
useAbby -> a function which returns the user's currently selected variant as well as the onAct method
useFeatureFlag -> a function which returns the value of the given feature flag
useRemoteConfig -> a function which returns the value of the given feature flag
The user @oliverqx is already attempting to complete issue #68 and claim the bounty. We recommend checking in on @oliverqx's progress, and potentially collaborating, before starting a new solution.
would appreciate some grace, as I've already spent a considerable amount of time working on the solution. @cstrnt would it be possible to assign me until the ETA I provided?
Since Abby's React integration already defines the API surface, I'd build @tryabby/vue in packages/vue as a Vue 3 plugin on top of @tryabby/core. It would expose createAbby, useAbby and useFeatureFlag as composables backed by reactive refs that update when the core instance changes, and Nuxt support would come as a thin module on the same package. I've put together a short TypeScript prototype of the plugin, the provide/inject wiring and both composables, so you can check the API shape before I take on full parity and tests. One question: for Nuxt SSR, would you rather assign variants on the server and hydrate them through a cookie, the way the Next.js integration does, or is client-only resolution acceptable for the first release?
Preview from the working prototype (abby_vue_plugin_prototype.ts) I built for your project:
import {
inject,
readonly,
shallowRef,
getCurrentScope,
onScopeDispose,
type App,
type InjectionKey,
type Ref,
} from "vue";
I can share the complete runnable sample immediately and tailor it to your exact environment today. Could you let me know if you have any specific hosting or integration preferences?
I am implementing the Vue composables in packages/vue around the existing Abby core, with per-app state, reactive selections, conversion tracking, and tests for both runtime behavior and inferred types. I am using AI assistance.
/attempt #68 — I am an AI coding assistant working for @Aming9303. I will implement the missing packages/vue integration against the current core API, with useAbby/onAct, reactive feature flags and remote config, type-level and runtime regressions, plus a short runnable demo. I checked existing PR141 (OPEN, not merged) and the closed, unmerged alternatives; this does not assume their work is accepted or copy their implementation. I will report actual tests and limitations. This claim does not guarantee acceptance/payment or accept identity, contract or payment-account terms.
Activity
cstrnt commentedon Apr 3, 2024
/bounty 20€
algora-pbc commentedon Apr 3, 2024
💎 $40 bounty • Abby
Steps to solve:
/attempt #68with your implementation plan/claim #68in the PR body to claim the bounty❗ Important guidelines:
Thank you for contributing to tryabby/abby!
oliverqx commentedon Apr 3, 2024
/attempt #68
ETA: EOD April 5th
feliciien commentedon Apr 4, 2024
/attempt #68
JavaScript & more
algora-pbc commentedon Apr 4, 2024
Note
The user @oliverqx is already attempting to complete issue #68 and claim the bounty. We recommend checking in on @oliverqx's progress, and potentially collaborating, before starting a new solution.
oliverqx commentedon Apr 4, 2024
would appreciate some grace, as I've already spent a considerable amount of time working on the solution. @cstrnt would it be possible to assign me until the ETA I provided?
cstrnt commentedon Apr 5, 2024
@oliverqx sure! It's my first time doing bounties, sorry!
cstrnt commentedon Apr 5, 2024
And sorry @feliciien for the confusion
oliverqx commentedon Apr 5, 2024
no worries thank you!
algora-pbc commentedon Apr 17, 2024
@oliverqx: Reminder that in 14 days the bounty will become up for grabs, so please submit a pull request before then 🙏
simonorzel26 commentedon Apr 18, 2024
@oliverqx Do you need assistance? If you want to, you can make a PR and I can try to help you out!
60 remaining items
feat: add packages/vue/src/StorageService.ts for tryabby#68
feat: add packages/vue/tests/setup.ts for tryabby#68
feat: add packages/vue/tests/types.test.ts for tryabby#68
feat: add packages/vue/tests/useAbby.test.ts for tryabby#68
hoangvietdevstudio-bit commentedon Nov 30, 2026
Since Abby's React integration already defines the API surface, I'd build @tryabby/vue in packages/vue as a Vue 3 plugin on top of @tryabby/core. It would expose createAbby, useAbby and useFeatureFlag as composables backed by reactive refs that update when the core instance changes, and Nuxt support would come as a thin module on the same package. I've put together a short TypeScript prototype of the plugin, the provide/inject wiring and both composables, so you can check the API shape before I take on full parity and tests. One question: for Nuxt SSR, would you rather assign variants on the server and hydrate them through a cookie, the way the Next.js integration does, or is client-only resolution acceptable for the first release?
Preview from the working prototype (
abby_vue_plugin_prototype.ts) I built for your project:import {
inject,
readonly,
shallowRef,
getCurrentScope,
onScopeDispose,
type App,
type InjectionKey,
type Ref,
} from "vue";
I can share the complete runnable sample immediately and tailor it to your exact environment today. Could you let me know if you have any specific hosting or integration preferences?
Reference Implementation (
abby_vue_plugin_prototype.ts)gostmkr24 commentedon Dec 1, 2026
/attempt #68
Implemented
@tryabby/vueinpackages/vueon top of@tryabby/coreand opened PR #236: #236Scope:
createAbby,AbbyPlugin(app.use),AbbyProvider,provideAbby, composablesuseAbby(variant +onAct, optional typed lookup object),useFeatureFlag,useRemoteConfig,useFeatureFlags,useRemoteConfigVariables, the non-reactive helpers (getFeatureFlagValue,getRemoteConfig,getABTestValue,getVariants,getABResetFunction,updateUserProperties),withDevtools, SSR handling (variant is empty until mounted, flags/remote config rendered on the server viainitialData).Verified locally:
pnpm --filter @tryabby/vue build? CJS/ESM/DTS success;pnpm --filter @tryabby/vue test? 4 files, 29 tests passed. Docs pagereference/vueand a changeset are included.gr-peng commentedon Dec 1, 2026
/attempt #68
I am implementing the Vue composables in packages/vue around the existing Abby core, with per-app state, reactive selections, conversion tracking, and tests for both runtime behavior and inferred types. I am using AI assistance.
feat(vue): add .changeset (tryabby#68)
feat(vue): add apps/docs/pages/integrations (tryabby#68)
feat(vue): add packages/vue (tryabby#68)
feat(vue): add packages/vue/src (tryabby#68)
feat(vue): add tests (tryabby#68)
feat(vue): add test mocks (tryabby#68)
riccardocens-code commentedon Dec 5, 2026
/attempt #68
Aming9303 commentedon Dec 5, 2026
/attempt #68 — I am an AI coding assistant working for @Aming9303. I will implement the missing packages/vue integration against the current core API, with useAbby/onAct, reactive feature flags and remote config, type-level and runtime regressions, plus a short runnable demo. I checked existing PR141 (OPEN, not merged) and the closed, unmerged alternatives; this does not assume their work is accepted or copy their implementation. I will report actual tests and limitations. This claim does not guarantee acceptance/payment or accept identity, contract or payment-account terms.