-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
refactor(framework): Rename inputs to controls #5819
Conversation
Did you modified the Workflow Step editor page (new designs) there is a tab there called "Step Inputs" |
And another things, we have a few places in the UI that uses the stored control schema to render react json schema form on web. I believe we need to update it there aswell with a fallback to inputs |
slack: async ({ inputs }) => { | ||
const blocks = [ | ||
{ | ||
type: 'header' as any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small refactor to place blocks
directly on the provider return params to remove the as any
on type
inputs: {}, | ||
controls: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the #3 sunset PR, we will remove inputs
from here.
|
||
const executionResult = await client.executeWorkflow(event); | ||
|
||
expect(executionResult.providers).toEqual({ sendgrid: { ipPoolName: 'foo Subject' } }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We previously weren't providing the step outputs to the Provider resolution. This has been fixed, and this test is added to verify the correct behaviour.
ExecutionProviderOutputInvalidError, | ||
ExecutionStateCorruptError, | ||
ExecutionStateInputInvalidError, | ||
ExecutionStateControlsInvalidError, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming the Errors to align with the new naming.
private async executeProviders( | ||
payload: IEvent, | ||
step: DiscoverStepOutput, | ||
outputs: Record<string, unknown> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix to ensure the outputs of the step are provided to the providers
for re-use. A good example use-case is re-using the chat.body
in the Slack blocks.
const templateControls = await this.createStepControls(step, event); | ||
const controls = await this.compileControls(templateControls, event); | ||
const output = await step.resolve(controls); | ||
const validatedOutput = await this.validate( | ||
output, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some renaming in places like this to reflect the correct/updated names.
step.outputs.unknownSchema, | ||
'step', | ||
'output', | ||
event.workflowId, | ||
step.stepId | ||
); | ||
|
||
const providers = await this.executeProviders(event, step); | ||
const providers = await this.executeProviders(event, step, validatedOutput); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part of the fix to ensure providers get the step output.
// @ts-expect-error - Type 'number' is not assignable to type 'string'. | ||
outputs.body = 123; | ||
// @ts-expect-error - Type 'number' is not assignable to type 'string'. | ||
outputs.subject = 123; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional compilation test case to make sure that the providers
get the typed outputs
.
/** | ||
* The schema for the controls of the step. Used to validate the user-provided controls from Novu Web. | ||
*/ | ||
controlSchema?: T_ControlSchema; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved type-docs.
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
❌ Deploy Preview for novu-design failed. Why did it fail? →
|
commit 407feba Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 16:02:42 2024 +0300 feat(js): Introduce baseTheme prop and theme merging (#5851) commit 660a20b Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 14:53:50 2024 +0300 feat(web): Teach studio to connect to Novu API for execution details (#5865) commit 773cf50 Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 14:52:37 2024 +0300 feat(js): Flatten localization prop type (#5858) commit f0e28c7 Author: Pawan Jain <jainpawan211199@gmail.com> Date: Fri Jun 28 17:17:30 2024 +0530 fix(api): create in-app integrations when new org is created (#5783) * fix: create in-app integrations when new org is created * fix: total integrations should be 6 * fix: failing tests * fix: failing tests commit 405d971 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 12:32:55 2024 +0100 refactor(framework): Add env-var for strict authentication (#5866) * test(client): add tests for strictAuthentication and secretKey * test: Correct variable naming in client tests commit 61cb9ce Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 13:29:04 2024 +0200 chore(create-novu-app): remove unused params (#5867) Rename instances of apiKey Update readme files commit ff18d28 Author: Sokratis Vidros <sokratis.vidros@gmail.com> Date: Fri Jun 28 14:10:01 2024 +0300 chore(web): Fix env.sh Restore env-config.js generation based on the local .env file commit eb786e2 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 11:30:13 2024 +0100 refactor(novu): Rename CLI options and README for dev command (#5860) * refactor(cli): update CLI options and README for dev command * style(cli): update dev command description text * refactor(cli): handle port conflict in dev server startup * refactor(cli): simplify dev server port handling * refactor(cli): replace LOCALHOST with SERVER_HOST constant * refactor(http-server): remove commented-out code * refactor(cli): rename webPort to studioPort * style(cli): Update option descriptions for clarity * style(cli): simplify option descriptions * docs(cli): Update dev command description and options * feat(cli): add region option with choices to CLI * refactor(cli): update URLs in constants and enums * feat(cli): add new start:sync:mode script * refactor(cli): rename enums and update URLs * docs(cli): Update CLI sync command examples * fix(cli): update TUNNEL_URL to new endpoint commit be71c80 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 13:06:41 2024 +0300 chore: Rename NOVU_API_KEY to NOVU_SECRET_KEY (#5857) commit 76c2a5b Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 10:20:52 2024 +0100 chore(framework, create-novu-app, novu): Publish prerelease (#5859) * refactor(api): remove unused PUT method from routes * docs: Update README for workflow and serve changes * chore: bump version to 0.24.3-alpha.10 * chore: bump version to 0.24.3-alpha.6 * chore: update CLI package version to 0.24.3-alpha.1 * chore: update dependencies and version numbers * chore: Bump version to 0.24.3-alpha.2 commit 2251138 Author: Biswajeet Das <biswajeetdas18@gmail.com> Date: Fri Jun 28 14:46:03 2024 +0530 feat(js): Com 36 render the bell button (#5825) * feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): set the dist file size limits and run the check after the build * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: remove unused deps * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: add bell to elements * refactor: internal inbox * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * fix: props * update: lock * feat: memoize novu * feat: update bell elements * remove: unused api * Revert "remove: unused api" This reverts commit 2b9249f. * feat: update lock * chore: remove extra script --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com> commit 3dde98b Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 10:56:06 2024 +0200 feat(novu): move sync command (#5852) * feat(cli): move sync command Add sync command to novu cli Add deprecation warning to legacy command Remove unused command Add tests and related packages * feat(novu): move sync command PR recommendations * feat(novu): move sync command PR recommendations * feat(novu): move sync command Remove debug console statement * feat(novu): move sync command Make description more generic * Update packages/cli/src/index.ts * Update packages/cli/src/index.ts * feat(cli): move sync command Exchange warn for log * feat(cli): move sync command Fix typo Add linting script --------- Co-authored-by: Richard Fontein <32132657+rifont@users.noreply.github.com> commit 2ca6610 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 18:10:18 2024 -0700 feat(web): Fix styling, centralize routing utils (#5861) commit 85507a8 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 23:00:48 2024 +0300 fix: copy commit 2568813 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 22:43:31 2024 +0300 fix: test commit d28a83d Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:56:07 2024 +0300 fix: onboarding cookie commit 907eb2b Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:39:03 2024 +0300 fix: iframe redirect commit 6d8a095 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 19:39:30 2024 +0300 fix: change cli tab name commit 94973c3 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 18:41:35 2024 +0300 fix: headers in netlify commit 5045991 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 18:41:11 2024 +0300 feat(web): New onboarding (#5855) * feat(web): New onboarding flow starting from npx novu@latest dev Flow ==== 1. Run npx novu@latest dev 2. Visit http://localhost:2022/studio 3. Redirect to https://web.novu.co/local-studio/auth 4. If signed in, redirect back to http://localhost:2022/studio?local_studio_url=... and load the studio iframe with src = local_studio_url 5. If not signed in, redirect to sign-in or sign-up (consult the nv_onboarding_step cookie) with redirect_url=https://web.novu.co/local-studio/auth 6. When authentication is complete the browser will redirect to step 3 and replay the following steps. * fix(web): Add a personal welcome message to studio onboarding * fix: imports and types * fix: pr comments --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ff689f9 Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Thu Jun 27 18:20:04 2024 +0300 feat(web): V2 local studio layout (#5856) * feat(web): add docs button for all local studio pages * feat(web): new layout of local studio commit 48f20a8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 16:04:40 2024 +0200 refactor(web): studio onboarding to use same bridge hook as rest of studio (#5854) commit c0ff212 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 16:55:33 2024 +0300 fix: add ability to specify api url commit a58fbda Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 16:30:24 2024 +0300 fix(framework): add json parse (#5853) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type * fix(framework): add missing json parse --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ad1e58b Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 14:50:38 2024 +0300 feat(framework): add trigger action (#5839) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 674dd5a Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 12:57:31 2024 +0200 feat(web): Nv 3952 create new get started page (#5850) commit 1f37a81 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu Jun 27 12:44:37 2024 +0200 refactor(framework, web): Rename `data` to `payload` (#5846) * refactor: Replace 'data' with 'payload' in client files * refactor(editor): simplify prop handling in components * chore: Update submodule commit hash * fix(client): correct event payload validation logic * refactor(client): rename variables and improve error handling * refactor(types): Rename IEvent to Event in client files * refactor(client): reorder imports and export missing types * feat(framework): export constants from index file * chore: update submodule reference * chore: update submodule commit * chore: Update submodule to latest commit * chore: update submodule reference commit ec12cd2 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 13:12:25 2024 +0300 fix: imports commit 70b5e14 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:57:30 2024 +0200 feat(web): hide more for v2 enabled feature flag (#5845) commit 891d475 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:51:53 2024 +0200 feat(web): refactor onboarding (#5849) commit cf94a96 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 01:34:58 2024 -0700 feat(web): Add Local Studio sidebar & add header items (#5844) * feat: Add local sidebar based on workflows * feat: Connect w/ Discover * chore: Clean-up commit f8943cb Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 11:28:30 2024 +0300 fix: route name commit 17cde2a Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Thu Jun 27 09:33:16 2024 +0200 feat(create-novu-app): localtunnel removal from create-novu-app (#5835) commit d11ae1a Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 10:20:40 2024 +0300 feat(novu): add cli loading states (#5843) * feat" add cli loaders * feat: configurable route * fix: rename for route commit b6c8252 Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 16:32:12 2024 -0700 fix: Flicker when using Nav menu (#5842) commit 1c3fcc6 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 01:58:47 2024 +0300 fix(web): Polish Bridge URL modal (#5841) * fix(web): Polish Bridge URL modal - Align copywriting. It's Novu Bridge Endpoint. - Add fine-grained error messages. - Persist the value in the modal and display it correctly. * Update bridge URL fixes Allow bridge URL removal Polish status indicator to be as instant as possible * Update auth.spec.ts * fixup! Update auth.spec.ts commit 2ae8951 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 00:03:38 2024 +0300 fix: welcome logs commit 0e4c0e3 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Wed Jun 26 23:54:27 2024 +0300 feat(web): Local studio being local (#5812) * feat(web): Load local studio via npm run dev * feat: Add back button via header --------- Co-authored-by: Denis Kralj <denis@novu.co> Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 452c5b8 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 20:41:25 2024 +0200 feat(framework): update novu framework headers (#5837) * feat(framework): update novu framework headers * feat(framework): update novu framework headers PR comments * feat(framework): update novu framework headers Fix tests, add new test commit 29a70be Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 10:33:34 2024 -0700 feat(novui): Add LoadingOverlay component (#5838) * fix: Resolve panda type * feat: Full page loader commit 134a077 Merge: 47bb772 7daff04 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:14:28 2024 +0300 Merge branch 'next' of https://github.com/novuhq/novu into next commit 47bb772 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:13:11 2024 +0300 fix: step controls commit 7daff04 Author: Paweł Tymczuk <LetItRock@users.noreply.github.com> Date: Wed Jun 26 18:09:25 2024 +0200 feat(api): inbox - get notifications count endpoint (#5823) * feat(api): inbox - get notifications count endpoint commit ba89d6a Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:08:06 2024 +0300 fix: bridge url setter commit 12c858e Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 18:33:28 2024 +0300 fix: remove unusedcogs commit d1ee964 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 15:46:57 2024 +0200 refactor(web, api, worker, dal): Rename inputs to controls (#5833) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors * refactor(api): rename "inputs" to "controls" * refactor(email): rename isSavingInputs to isSavingControls * refactor(components): Rename InputVariables to ControlVariables * feat(api): Add echo sync and diff routes * refactor(variables): Rename inputVariables to controlVariables * chore: update submodule commit * test: Add missing controls field in test-email e2e test * fix(sync): correct backend URL in test * fix * chore: update subproject commit reference --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 79605c8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:39:58 2024 +0200 feat(web): fix so scroll in onboarding is correct (#5834) commit 1155452 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:33:00 2024 +0200 feat(web): add segment tracking (#5827) commit 9a40b24 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 13:27:19 2024 +0200 feat(web): add sync and update bridge button (#5798) * feat(web): add sync and update bridge button Remove unused usecases Remove unused code Update naming where needed Add validate bridge endpoint Add buttons and relevant modals Add Code component to novui Update .source reference to latest next * feat(web): add sync and update bridge button Update to latests endpoint permutation * feat(web): add sync and update bridge button Align with latest designs * refactor: Rename to CodeBlock * refactor: SyncInfoModal * chore: Remove unwanted icon * refactor: BridgeUpdateModal * feat: Add Connection Status * feat: Enhance input * fix: Input and layout shift in bridge update modal * fix: ConnectionStatusIndicator * feat: WIP CodeBlock * refactor: Util for local env * refactor: WIP update modal trigger * fix: Color palette in sync modal * chore: Add note to prevent others from using CodeBlock for now * chore: Remove debug variant * chore: Clean-up commented out recipe * fix: Tab hover behavior * fix: Icon button color * feat: Add hover and loading states * refactor: Bridge local storage + button * feat: useBridgeStatus * refactor: Extract hook * fix: Clean-up tooltip styling * Fix typing issues in Textarea component * Patch Panda css so that it builds --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Sokratis Vidros <sokratis.vidros@gmail.com> commit 8166956 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 12:43:45 2024 +0200 feat(web): add checks if org have v2 enabled or not (#5829) commit b7bfe8b Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Wed Jun 26 12:53:41 2024 +0300 feat(web,novui): Step preview improvements (#5832) * feat: First pass styling * feat: Toolbar alignment * feat: Add full width token * feat: More styling * feat: Gradient text * fix: Color palette in story * chore: Cleaning * fix: Paths * feat(web,novui): add error block to previews * feat(web): remove unneeded props of error * feat(web,novui): add scrolling for inputs panel, add text area for inputs * feat(web): change order of inputs tabs * feat(web,novui): align toolbar buttons to input label, refetch on window focus --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 427133e Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:52:55 2024 +0300 feat(js): Localization infra (#5822) commit d0f1c5a Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:06:45 2024 +0300 feat(js): Scope variables under class of id (#5820) commit 4359c52 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 09:35:23 2024 +0200 refactor(framework): Rename inputs to controls (#5819) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors --------- Co-authored-by: Dima Grossman <dima@grossman.io>
commit 407feba Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 16:02:42 2024 +0300 feat(js): Introduce baseTheme prop and theme merging (#5851) commit 660a20b Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 14:53:50 2024 +0300 feat(web): Teach studio to connect to Novu API for execution details (#5865) commit 773cf50 Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 14:52:37 2024 +0300 feat(js): Flatten localization prop type (#5858) commit f0e28c7 Author: Pawan Jain <jainpawan211199@gmail.com> Date: Fri Jun 28 17:17:30 2024 +0530 fix(api): create in-app integrations when new org is created (#5783) * fix: create in-app integrations when new org is created * fix: total integrations should be 6 * fix: failing tests * fix: failing tests commit 405d971 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 12:32:55 2024 +0100 refactor(framework): Add env-var for strict authentication (#5866) * test(client): add tests for strictAuthentication and secretKey * test: Correct variable naming in client tests commit 61cb9ce Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 13:29:04 2024 +0200 chore(create-novu-app): remove unused params (#5867) Rename instances of apiKey Update readme files commit ff18d28 Author: Sokratis Vidros <sokratis.vidros@gmail.com> Date: Fri Jun 28 14:10:01 2024 +0300 chore(web): Fix env.sh Restore env-config.js generation based on the local .env file commit eb786e2 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 11:30:13 2024 +0100 refactor(novu): Rename CLI options and README for dev command (#5860) * refactor(cli): update CLI options and README for dev command * style(cli): update dev command description text * refactor(cli): handle port conflict in dev server startup * refactor(cli): simplify dev server port handling * refactor(cli): replace LOCALHOST with SERVER_HOST constant * refactor(http-server): remove commented-out code * refactor(cli): rename webPort to studioPort * style(cli): Update option descriptions for clarity * style(cli): simplify option descriptions * docs(cli): Update dev command description and options * feat(cli): add region option with choices to CLI * refactor(cli): update URLs in constants and enums * feat(cli): add new start:sync:mode script * refactor(cli): rename enums and update URLs * docs(cli): Update CLI sync command examples * fix(cli): update TUNNEL_URL to new endpoint commit be71c80 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 13:06:41 2024 +0300 chore: Rename NOVU_API_KEY to NOVU_SECRET_KEY (#5857) commit 76c2a5b Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 10:20:52 2024 +0100 chore(framework, create-novu-app, novu): Publish prerelease (#5859) * refactor(api): remove unused PUT method from routes * docs: Update README for workflow and serve changes * chore: bump version to 0.24.3-alpha.10 * chore: bump version to 0.24.3-alpha.6 * chore: update CLI package version to 0.24.3-alpha.1 * chore: update dependencies and version numbers * chore: Bump version to 0.24.3-alpha.2 commit 2251138 Author: Biswajeet Das <biswajeetdas18@gmail.com> Date: Fri Jun 28 14:46:03 2024 +0530 feat(js): Com 36 render the bell button (#5825) * feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): set the dist file size limits and run the check after the build * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: remove unused deps * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: add bell to elements * refactor: internal inbox * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * fix: props * update: lock * feat: memoize novu * feat: update bell elements * remove: unused api * Revert "remove: unused api" This reverts commit 2b9249f. * feat: update lock * chore: remove extra script --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com> commit 3dde98b Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 10:56:06 2024 +0200 feat(novu): move sync command (#5852) * feat(cli): move sync command Add sync command to novu cli Add deprecation warning to legacy command Remove unused command Add tests and related packages * feat(novu): move sync command PR recommendations * feat(novu): move sync command PR recommendations * feat(novu): move sync command Remove debug console statement * feat(novu): move sync command Make description more generic * Update packages/cli/src/index.ts * Update packages/cli/src/index.ts * feat(cli): move sync command Exchange warn for log * feat(cli): move sync command Fix typo Add linting script --------- Co-authored-by: Richard Fontein <32132657+rifont@users.noreply.github.com> commit 2ca6610 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 18:10:18 2024 -0700 feat(web): Fix styling, centralize routing utils (#5861) commit 85507a8 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 23:00:48 2024 +0300 fix: copy commit 2568813 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 22:43:31 2024 +0300 fix: test commit d28a83d Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:56:07 2024 +0300 fix: onboarding cookie commit 907eb2b Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:39:03 2024 +0300 fix: iframe redirect commit 6d8a095 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 19:39:30 2024 +0300 fix: change cli tab name commit 94973c3 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 18:41:35 2024 +0300 fix: headers in netlify commit 5045991 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 18:41:11 2024 +0300 feat(web): New onboarding (#5855) * feat(web): New onboarding flow starting from npx novu@latest dev Flow ==== 1. Run npx novu@latest dev 2. Visit http://localhost:2022/studio 3. Redirect to https://web.novu.co/local-studio/auth 4. If signed in, redirect back to http://localhost:2022/studio?local_studio_url=... and load the studio iframe with src = local_studio_url 5. If not signed in, redirect to sign-in or sign-up (consult the nv_onboarding_step cookie) with redirect_url=https://web.novu.co/local-studio/auth 6. When authentication is complete the browser will redirect to step 3 and replay the following steps. * fix(web): Add a personal welcome message to studio onboarding * fix: imports and types * fix: pr comments --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ff689f9 Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Thu Jun 27 18:20:04 2024 +0300 feat(web): V2 local studio layout (#5856) * feat(web): add docs button for all local studio pages * feat(web): new layout of local studio commit 48f20a8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 16:04:40 2024 +0200 refactor(web): studio onboarding to use same bridge hook as rest of studio (#5854) commit c0ff212 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 16:55:33 2024 +0300 fix: add ability to specify api url commit a58fbda Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 16:30:24 2024 +0300 fix(framework): add json parse (#5853) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type * fix(framework): add missing json parse --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ad1e58b Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 14:50:38 2024 +0300 feat(framework): add trigger action (#5839) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 674dd5a Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 12:57:31 2024 +0200 feat(web): Nv 3952 create new get started page (#5850) commit 1f37a81 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu Jun 27 12:44:37 2024 +0200 refactor(framework, web): Rename `data` to `payload` (#5846) * refactor: Replace 'data' with 'payload' in client files * refactor(editor): simplify prop handling in components * chore: Update submodule commit hash * fix(client): correct event payload validation logic * refactor(client): rename variables and improve error handling * refactor(types): Rename IEvent to Event in client files * refactor(client): reorder imports and export missing types * feat(framework): export constants from index file * chore: update submodule reference * chore: update submodule commit * chore: Update submodule to latest commit * chore: update submodule reference commit ec12cd2 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 13:12:25 2024 +0300 fix: imports commit 70b5e14 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:57:30 2024 +0200 feat(web): hide more for v2 enabled feature flag (#5845) commit 891d475 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:51:53 2024 +0200 feat(web): refactor onboarding (#5849) commit cf94a96 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 01:34:58 2024 -0700 feat(web): Add Local Studio sidebar & add header items (#5844) * feat: Add local sidebar based on workflows * feat: Connect w/ Discover * chore: Clean-up commit f8943cb Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 11:28:30 2024 +0300 fix: route name commit 17cde2a Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Thu Jun 27 09:33:16 2024 +0200 feat(create-novu-app): localtunnel removal from create-novu-app (#5835) commit d11ae1a Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 10:20:40 2024 +0300 feat(novu): add cli loading states (#5843) * feat" add cli loaders * feat: configurable route * fix: rename for route commit b6c8252 Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 16:32:12 2024 -0700 fix: Flicker when using Nav menu (#5842) commit 1c3fcc6 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 01:58:47 2024 +0300 fix(web): Polish Bridge URL modal (#5841) * fix(web): Polish Bridge URL modal - Align copywriting. It's Novu Bridge Endpoint. - Add fine-grained error messages. - Persist the value in the modal and display it correctly. * Update bridge URL fixes Allow bridge URL removal Polish status indicator to be as instant as possible * Update auth.spec.ts * fixup! Update auth.spec.ts commit 2ae8951 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 00:03:38 2024 +0300 fix: welcome logs commit 0e4c0e3 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Wed Jun 26 23:54:27 2024 +0300 feat(web): Local studio being local (#5812) * feat(web): Load local studio via npm run dev * feat: Add back button via header --------- Co-authored-by: Denis Kralj <denis@novu.co> Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 452c5b8 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 20:41:25 2024 +0200 feat(framework): update novu framework headers (#5837) * feat(framework): update novu framework headers * feat(framework): update novu framework headers PR comments * feat(framework): update novu framework headers Fix tests, add new test commit 29a70be Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 10:33:34 2024 -0700 feat(novui): Add LoadingOverlay component (#5838) * fix: Resolve panda type * feat: Full page loader commit 134a077 Merge: 47bb772 7daff04 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:14:28 2024 +0300 Merge branch 'next' of https://github.com/novuhq/novu into next commit 47bb772 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:13:11 2024 +0300 fix: step controls commit 7daff04 Author: Paweł Tymczuk <LetItRock@users.noreply.github.com> Date: Wed Jun 26 18:09:25 2024 +0200 feat(api): inbox - get notifications count endpoint (#5823) * feat(api): inbox - get notifications count endpoint commit ba89d6a Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:08:06 2024 +0300 fix: bridge url setter commit 12c858e Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 18:33:28 2024 +0300 fix: remove unusedcogs commit d1ee964 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 15:46:57 2024 +0200 refactor(web, api, worker, dal): Rename inputs to controls (#5833) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors * refactor(api): rename "inputs" to "controls" * refactor(email): rename isSavingInputs to isSavingControls * refactor(components): Rename InputVariables to ControlVariables * feat(api): Add echo sync and diff routes * refactor(variables): Rename inputVariables to controlVariables * chore: update submodule commit * test: Add missing controls field in test-email e2e test * fix(sync): correct backend URL in test * fix * chore: update subproject commit reference --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 79605c8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:39:58 2024 +0200 feat(web): fix so scroll in onboarding is correct (#5834) commit 1155452 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:33:00 2024 +0200 feat(web): add segment tracking (#5827) commit 9a40b24 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 13:27:19 2024 +0200 feat(web): add sync and update bridge button (#5798) * feat(web): add sync and update bridge button Remove unused usecases Remove unused code Update naming where needed Add validate bridge endpoint Add buttons and relevant modals Add Code component to novui Update .source reference to latest next * feat(web): add sync and update bridge button Update to latests endpoint permutation * feat(web): add sync and update bridge button Align with latest designs * refactor: Rename to CodeBlock * refactor: SyncInfoModal * chore: Remove unwanted icon * refactor: BridgeUpdateModal * feat: Add Connection Status * feat: Enhance input * fix: Input and layout shift in bridge update modal * fix: ConnectionStatusIndicator * feat: WIP CodeBlock * refactor: Util for local env * refactor: WIP update modal trigger * fix: Color palette in sync modal * chore: Add note to prevent others from using CodeBlock for now * chore: Remove debug variant * chore: Clean-up commented out recipe * fix: Tab hover behavior * fix: Icon button color * feat: Add hover and loading states * refactor: Bridge local storage + button * feat: useBridgeStatus * refactor: Extract hook * fix: Clean-up tooltip styling * Fix typing issues in Textarea component * Patch Panda css so that it builds --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Sokratis Vidros <sokratis.vidros@gmail.com> commit 8166956 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 12:43:45 2024 +0200 feat(web): add checks if org have v2 enabled or not (#5829) commit b7bfe8b Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Wed Jun 26 12:53:41 2024 +0300 feat(web,novui): Step preview improvements (#5832) * feat: First pass styling * feat: Toolbar alignment * feat: Add full width token * feat: More styling * feat: Gradient text * fix: Color palette in story * chore: Cleaning * fix: Paths * feat(web,novui): add error block to previews * feat(web): remove unneeded props of error * feat(web,novui): add scrolling for inputs panel, add text area for inputs * feat(web): change order of inputs tabs * feat(web,novui): align toolbar buttons to input label, refetch on window focus --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 427133e Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:52:55 2024 +0300 feat(js): Localization infra (#5822) commit d0f1c5a Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:06:45 2024 +0300 feat(js): Scope variables under class of id (#5820) commit 4359c52 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 09:35:23 2024 +0200 refactor(framework): Rename inputs to controls (#5819) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors --------- Co-authored-by: Dima Grossman <dima@grossman.io>
commit 407feba Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 16:02:42 2024 +0300 feat(js): Introduce baseTheme prop and theme merging (#5851) commit 660a20b Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 14:53:50 2024 +0300 feat(web): Teach studio to connect to Novu API for execution details (#5865) commit 773cf50 Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 14:52:37 2024 +0300 feat(js): Flatten localization prop type (#5858) commit f0e28c7 Author: Pawan Jain <jainpawan211199@gmail.com> Date: Fri Jun 28 17:17:30 2024 +0530 fix(api): create in-app integrations when new org is created (#5783) * fix: create in-app integrations when new org is created * fix: total integrations should be 6 * fix: failing tests * fix: failing tests commit 405d971 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 12:32:55 2024 +0100 refactor(framework): Add env-var for strict authentication (#5866) * test(client): add tests for strictAuthentication and secretKey * test: Correct variable naming in client tests commit 61cb9ce Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 13:29:04 2024 +0200 chore(create-novu-app): remove unused params (#5867) Rename instances of apiKey Update readme files commit ff18d28 Author: Sokratis Vidros <sokratis.vidros@gmail.com> Date: Fri Jun 28 14:10:01 2024 +0300 chore(web): Fix env.sh Restore env-config.js generation based on the local .env file commit eb786e2 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 11:30:13 2024 +0100 refactor(novu): Rename CLI options and README for dev command (#5860) * refactor(cli): update CLI options and README for dev command * style(cli): update dev command description text * refactor(cli): handle port conflict in dev server startup * refactor(cli): simplify dev server port handling * refactor(cli): replace LOCALHOST with SERVER_HOST constant * refactor(http-server): remove commented-out code * refactor(cli): rename webPort to studioPort * style(cli): Update option descriptions for clarity * style(cli): simplify option descriptions * docs(cli): Update dev command description and options * feat(cli): add region option with choices to CLI * refactor(cli): update URLs in constants and enums * feat(cli): add new start:sync:mode script * refactor(cli): rename enums and update URLs * docs(cli): Update CLI sync command examples * fix(cli): update TUNNEL_URL to new endpoint commit be71c80 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 13:06:41 2024 +0300 chore: Rename NOVU_API_KEY to NOVU_SECRET_KEY (#5857) commit 76c2a5b Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 10:20:52 2024 +0100 chore(framework, create-novu-app, novu): Publish prerelease (#5859) * refactor(api): remove unused PUT method from routes * docs: Update README for workflow and serve changes * chore: bump version to 0.24.3-alpha.10 * chore: bump version to 0.24.3-alpha.6 * chore: update CLI package version to 0.24.3-alpha.1 * chore: update dependencies and version numbers * chore: Bump version to 0.24.3-alpha.2 commit 2251138 Author: Biswajeet Das <biswajeetdas18@gmail.com> Date: Fri Jun 28 14:46:03 2024 +0530 feat(js): Com 36 render the bell button (#5825) * feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): set the dist file size limits and run the check after the build * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: remove unused deps * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: add bell to elements * refactor: internal inbox * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * fix: props * update: lock * feat: memoize novu * feat: update bell elements * remove: unused api * Revert "remove: unused api" This reverts commit 2b9249f. * feat: update lock * chore: remove extra script --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com> commit 3dde98b Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 10:56:06 2024 +0200 feat(novu): move sync command (#5852) * feat(cli): move sync command Add sync command to novu cli Add deprecation warning to legacy command Remove unused command Add tests and related packages * feat(novu): move sync command PR recommendations * feat(novu): move sync command PR recommendations * feat(novu): move sync command Remove debug console statement * feat(novu): move sync command Make description more generic * Update packages/cli/src/index.ts * Update packages/cli/src/index.ts * feat(cli): move sync command Exchange warn for log * feat(cli): move sync command Fix typo Add linting script --------- Co-authored-by: Richard Fontein <32132657+rifont@users.noreply.github.com> commit 2ca6610 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 18:10:18 2024 -0700 feat(web): Fix styling, centralize routing utils (#5861) commit 85507a8 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 23:00:48 2024 +0300 fix: copy commit 2568813 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 22:43:31 2024 +0300 fix: test commit d28a83d Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:56:07 2024 +0300 fix: onboarding cookie commit 907eb2b Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:39:03 2024 +0300 fix: iframe redirect commit 6d8a095 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 19:39:30 2024 +0300 fix: change cli tab name commit 94973c3 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 18:41:35 2024 +0300 fix: headers in netlify commit 5045991 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 18:41:11 2024 +0300 feat(web): New onboarding (#5855) * feat(web): New onboarding flow starting from npx novu@latest dev Flow ==== 1. Run npx novu@latest dev 2. Visit http://localhost:2022/studio 3. Redirect to https://web.novu.co/local-studio/auth 4. If signed in, redirect back to http://localhost:2022/studio?local_studio_url=... and load the studio iframe with src = local_studio_url 5. If not signed in, redirect to sign-in or sign-up (consult the nv_onboarding_step cookie) with redirect_url=https://web.novu.co/local-studio/auth 6. When authentication is complete the browser will redirect to step 3 and replay the following steps. * fix(web): Add a personal welcome message to studio onboarding * fix: imports and types * fix: pr comments --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ff689f9 Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Thu Jun 27 18:20:04 2024 +0300 feat(web): V2 local studio layout (#5856) * feat(web): add docs button for all local studio pages * feat(web): new layout of local studio commit 48f20a8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 16:04:40 2024 +0200 refactor(web): studio onboarding to use same bridge hook as rest of studio (#5854) commit c0ff212 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 16:55:33 2024 +0300 fix: add ability to specify api url commit a58fbda Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 16:30:24 2024 +0300 fix(framework): add json parse (#5853) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type * fix(framework): add missing json parse --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ad1e58b Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 14:50:38 2024 +0300 feat(framework): add trigger action (#5839) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 674dd5a Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 12:57:31 2024 +0200 feat(web): Nv 3952 create new get started page (#5850) commit 1f37a81 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu Jun 27 12:44:37 2024 +0200 refactor(framework, web): Rename `data` to `payload` (#5846) * refactor: Replace 'data' with 'payload' in client files * refactor(editor): simplify prop handling in components * chore: Update submodule commit hash * fix(client): correct event payload validation logic * refactor(client): rename variables and improve error handling * refactor(types): Rename IEvent to Event in client files * refactor(client): reorder imports and export missing types * feat(framework): export constants from index file * chore: update submodule reference * chore: update submodule commit * chore: Update submodule to latest commit * chore: update submodule reference commit ec12cd2 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 13:12:25 2024 +0300 fix: imports commit 70b5e14 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:57:30 2024 +0200 feat(web): hide more for v2 enabled feature flag (#5845) commit 891d475 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:51:53 2024 +0200 feat(web): refactor onboarding (#5849) commit cf94a96 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 01:34:58 2024 -0700 feat(web): Add Local Studio sidebar & add header items (#5844) * feat: Add local sidebar based on workflows * feat: Connect w/ Discover * chore: Clean-up commit f8943cb Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 11:28:30 2024 +0300 fix: route name commit 17cde2a Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Thu Jun 27 09:33:16 2024 +0200 feat(create-novu-app): localtunnel removal from create-novu-app (#5835) commit d11ae1a Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 10:20:40 2024 +0300 feat(novu): add cli loading states (#5843) * feat" add cli loaders * feat: configurable route * fix: rename for route commit b6c8252 Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 16:32:12 2024 -0700 fix: Flicker when using Nav menu (#5842) commit 1c3fcc6 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 01:58:47 2024 +0300 fix(web): Polish Bridge URL modal (#5841) * fix(web): Polish Bridge URL modal - Align copywriting. It's Novu Bridge Endpoint. - Add fine-grained error messages. - Persist the value in the modal and display it correctly. * Update bridge URL fixes Allow bridge URL removal Polish status indicator to be as instant as possible * Update auth.spec.ts * fixup! Update auth.spec.ts commit 2ae8951 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 00:03:38 2024 +0300 fix: welcome logs commit 0e4c0e3 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Wed Jun 26 23:54:27 2024 +0300 feat(web): Local studio being local (#5812) * feat(web): Load local studio via npm run dev * feat: Add back button via header --------- Co-authored-by: Denis Kralj <denis@novu.co> Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 452c5b8 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 20:41:25 2024 +0200 feat(framework): update novu framework headers (#5837) * feat(framework): update novu framework headers * feat(framework): update novu framework headers PR comments * feat(framework): update novu framework headers Fix tests, add new test commit 29a70be Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 10:33:34 2024 -0700 feat(novui): Add LoadingOverlay component (#5838) * fix: Resolve panda type * feat: Full page loader commit 134a077 Merge: 47bb772 7daff04 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:14:28 2024 +0300 Merge branch 'next' of https://github.com/novuhq/novu into next commit 47bb772 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:13:11 2024 +0300 fix: step controls commit 7daff04 Author: Paweł Tymczuk <LetItRock@users.noreply.github.com> Date: Wed Jun 26 18:09:25 2024 +0200 feat(api): inbox - get notifications count endpoint (#5823) * feat(api): inbox - get notifications count endpoint commit ba89d6a Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:08:06 2024 +0300 fix: bridge url setter commit 12c858e Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 18:33:28 2024 +0300 fix: remove unusedcogs commit d1ee964 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 15:46:57 2024 +0200 refactor(web, api, worker, dal): Rename inputs to controls (#5833) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors * refactor(api): rename "inputs" to "controls" * refactor(email): rename isSavingInputs to isSavingControls * refactor(components): Rename InputVariables to ControlVariables * feat(api): Add echo sync and diff routes * refactor(variables): Rename inputVariables to controlVariables * chore: update submodule commit * test: Add missing controls field in test-email e2e test * fix(sync): correct backend URL in test * fix * chore: update subproject commit reference --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 79605c8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:39:58 2024 +0200 feat(web): fix so scroll in onboarding is correct (#5834) commit 1155452 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:33:00 2024 +0200 feat(web): add segment tracking (#5827) commit 9a40b24 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 13:27:19 2024 +0200 feat(web): add sync and update bridge button (#5798) * feat(web): add sync and update bridge button Remove unused usecases Remove unused code Update naming where needed Add validate bridge endpoint Add buttons and relevant modals Add Code component to novui Update .source reference to latest next * feat(web): add sync and update bridge button Update to latests endpoint permutation * feat(web): add sync and update bridge button Align with latest designs * refactor: Rename to CodeBlock * refactor: SyncInfoModal * chore: Remove unwanted icon * refactor: BridgeUpdateModal * feat: Add Connection Status * feat: Enhance input * fix: Input and layout shift in bridge update modal * fix: ConnectionStatusIndicator * feat: WIP CodeBlock * refactor: Util for local env * refactor: WIP update modal trigger * fix: Color palette in sync modal * chore: Add note to prevent others from using CodeBlock for now * chore: Remove debug variant * chore: Clean-up commented out recipe * fix: Tab hover behavior * fix: Icon button color * feat: Add hover and loading states * refactor: Bridge local storage + button * feat: useBridgeStatus * refactor: Extract hook * fix: Clean-up tooltip styling * Fix typing issues in Textarea component * Patch Panda css so that it builds --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Sokratis Vidros <sokratis.vidros@gmail.com> commit 8166956 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 12:43:45 2024 +0200 feat(web): add checks if org have v2 enabled or not (#5829) commit b7bfe8b Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Wed Jun 26 12:53:41 2024 +0300 feat(web,novui): Step preview improvements (#5832) * feat: First pass styling * feat: Toolbar alignment * feat: Add full width token * feat: More styling * feat: Gradient text * fix: Color palette in story * chore: Cleaning * fix: Paths * feat(web,novui): add error block to previews * feat(web): remove unneeded props of error * feat(web,novui): add scrolling for inputs panel, add text area for inputs * feat(web): change order of inputs tabs * feat(web,novui): align toolbar buttons to input label, refetch on window focus --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 427133e Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:52:55 2024 +0300 feat(js): Localization infra (#5822) commit d0f1c5a Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:06:45 2024 +0300 feat(js): Scope variables under class of id (#5820) commit 4359c52 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 09:35:23 2024 +0200 refactor(framework): Rename inputs to controls (#5819) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors --------- Co-authored-by: Dima Grossman <dima@grossman.io>
commit 407feba Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 16:02:42 2024 +0300 feat(js): Introduce baseTheme prop and theme merging (#5851) commit 660a20b Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 14:53:50 2024 +0300 feat(web): Teach studio to connect to Novu API for execution details (#5865) commit 773cf50 Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 14:52:37 2024 +0300 feat(js): Flatten localization prop type (#5858) commit f0e28c7 Author: Pawan Jain <jainpawan211199@gmail.com> Date: Fri Jun 28 17:17:30 2024 +0530 fix(api): create in-app integrations when new org is created (#5783) * fix: create in-app integrations when new org is created * fix: total integrations should be 6 * fix: failing tests * fix: failing tests commit 405d971 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 12:32:55 2024 +0100 refactor(framework): Add env-var for strict authentication (#5866) * test(client): add tests for strictAuthentication and secretKey * test: Correct variable naming in client tests commit 61cb9ce Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 13:29:04 2024 +0200 chore(create-novu-app): remove unused params (#5867) Rename instances of apiKey Update readme files commit ff18d28 Author: Sokratis Vidros <sokratis.vidros@gmail.com> Date: Fri Jun 28 14:10:01 2024 +0300 chore(web): Fix env.sh Restore env-config.js generation based on the local .env file commit eb786e2 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 11:30:13 2024 +0100 refactor(novu): Rename CLI options and README for dev command (#5860) * refactor(cli): update CLI options and README for dev command * style(cli): update dev command description text * refactor(cli): handle port conflict in dev server startup * refactor(cli): simplify dev server port handling * refactor(cli): replace LOCALHOST with SERVER_HOST constant * refactor(http-server): remove commented-out code * refactor(cli): rename webPort to studioPort * style(cli): Update option descriptions for clarity * style(cli): simplify option descriptions * docs(cli): Update dev command description and options * feat(cli): add region option with choices to CLI * refactor(cli): update URLs in constants and enums * feat(cli): add new start:sync:mode script * refactor(cli): rename enums and update URLs * docs(cli): Update CLI sync command examples * fix(cli): update TUNNEL_URL to new endpoint commit be71c80 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 13:06:41 2024 +0300 chore: Rename NOVU_API_KEY to NOVU_SECRET_KEY (#5857) commit 76c2a5b Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 10:20:52 2024 +0100 chore(framework, create-novu-app, novu): Publish prerelease (#5859) * refactor(api): remove unused PUT method from routes * docs: Update README for workflow and serve changes * chore: bump version to 0.24.3-alpha.10 * chore: bump version to 0.24.3-alpha.6 * chore: update CLI package version to 0.24.3-alpha.1 * chore: update dependencies and version numbers * chore: Bump version to 0.24.3-alpha.2 commit 2251138 Author: Biswajeet Das <biswajeetdas18@gmail.com> Date: Fri Jun 28 14:46:03 2024 +0530 feat(js): Com 36 render the bell button (#5825) * feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): set the dist file size limits and run the check after the build * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: remove unused deps * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: add bell to elements * refactor: internal inbox * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * fix: props * update: lock * feat: memoize novu * feat: update bell elements * remove: unused api * Revert "remove: unused api" This reverts commit 2b9249f. * feat: update lock * chore: remove extra script --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com> commit 3dde98b Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 10:56:06 2024 +0200 feat(novu): move sync command (#5852) * feat(cli): move sync command Add sync command to novu cli Add deprecation warning to legacy command Remove unused command Add tests and related packages * feat(novu): move sync command PR recommendations * feat(novu): move sync command PR recommendations * feat(novu): move sync command Remove debug console statement * feat(novu): move sync command Make description more generic * Update packages/cli/src/index.ts * Update packages/cli/src/index.ts * feat(cli): move sync command Exchange warn for log * feat(cli): move sync command Fix typo Add linting script --------- Co-authored-by: Richard Fontein <32132657+rifont@users.noreply.github.com> commit 2ca6610 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 18:10:18 2024 -0700 feat(web): Fix styling, centralize routing utils (#5861) commit 85507a8 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 23:00:48 2024 +0300 fix: copy commit 2568813 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 22:43:31 2024 +0300 fix: test commit d28a83d Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:56:07 2024 +0300 fix: onboarding cookie commit 907eb2b Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:39:03 2024 +0300 fix: iframe redirect commit 6d8a095 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 19:39:30 2024 +0300 fix: change cli tab name commit 94973c3 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 18:41:35 2024 +0300 fix: headers in netlify commit 5045991 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 18:41:11 2024 +0300 feat(web): New onboarding (#5855) * feat(web): New onboarding flow starting from npx novu@latest dev Flow ==== 1. Run npx novu@latest dev 2. Visit http://localhost:2022/studio 3. Redirect to https://web.novu.co/local-studio/auth 4. If signed in, redirect back to http://localhost:2022/studio?local_studio_url=... and load the studio iframe with src = local_studio_url 5. If not signed in, redirect to sign-in or sign-up (consult the nv_onboarding_step cookie) with redirect_url=https://web.novu.co/local-studio/auth 6. When authentication is complete the browser will redirect to step 3 and replay the following steps. * fix(web): Add a personal welcome message to studio onboarding * fix: imports and types * fix: pr comments --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ff689f9 Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Thu Jun 27 18:20:04 2024 +0300 feat(web): V2 local studio layout (#5856) * feat(web): add docs button for all local studio pages * feat(web): new layout of local studio commit 48f20a8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 16:04:40 2024 +0200 refactor(web): studio onboarding to use same bridge hook as rest of studio (#5854) commit c0ff212 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 16:55:33 2024 +0300 fix: add ability to specify api url commit a58fbda Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 16:30:24 2024 +0300 fix(framework): add json parse (#5853) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type * fix(framework): add missing json parse --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ad1e58b Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 14:50:38 2024 +0300 feat(framework): add trigger action (#5839) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 674dd5a Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 12:57:31 2024 +0200 feat(web): Nv 3952 create new get started page (#5850) commit 1f37a81 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu Jun 27 12:44:37 2024 +0200 refactor(framework, web): Rename `data` to `payload` (#5846) * refactor: Replace 'data' with 'payload' in client files * refactor(editor): simplify prop handling in components * chore: Update submodule commit hash * fix(client): correct event payload validation logic * refactor(client): rename variables and improve error handling * refactor(types): Rename IEvent to Event in client files * refactor(client): reorder imports and export missing types * feat(framework): export constants from index file * chore: update submodule reference * chore: update submodule commit * chore: Update submodule to latest commit * chore: update submodule reference commit ec12cd2 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 13:12:25 2024 +0300 fix: imports commit 70b5e14 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:57:30 2024 +0200 feat(web): hide more for v2 enabled feature flag (#5845) commit 891d475 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:51:53 2024 +0200 feat(web): refactor onboarding (#5849) commit cf94a96 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 01:34:58 2024 -0700 feat(web): Add Local Studio sidebar & add header items (#5844) * feat: Add local sidebar based on workflows * feat: Connect w/ Discover * chore: Clean-up commit f8943cb Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 11:28:30 2024 +0300 fix: route name commit 17cde2a Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Thu Jun 27 09:33:16 2024 +0200 feat(create-novu-app): localtunnel removal from create-novu-app (#5835) commit d11ae1a Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 10:20:40 2024 +0300 feat(novu): add cli loading states (#5843) * feat" add cli loaders * feat: configurable route * fix: rename for route commit b6c8252 Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 16:32:12 2024 -0700 fix: Flicker when using Nav menu (#5842) commit 1c3fcc6 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 01:58:47 2024 +0300 fix(web): Polish Bridge URL modal (#5841) * fix(web): Polish Bridge URL modal - Align copywriting. It's Novu Bridge Endpoint. - Add fine-grained error messages. - Persist the value in the modal and display it correctly. * Update bridge URL fixes Allow bridge URL removal Polish status indicator to be as instant as possible * Update auth.spec.ts * fixup! Update auth.spec.ts commit 2ae8951 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 00:03:38 2024 +0300 fix: welcome logs commit 0e4c0e3 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Wed Jun 26 23:54:27 2024 +0300 feat(web): Local studio being local (#5812) * feat(web): Load local studio via npm run dev * feat: Add back button via header --------- Co-authored-by: Denis Kralj <denis@novu.co> Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 452c5b8 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 20:41:25 2024 +0200 feat(framework): update novu framework headers (#5837) * feat(framework): update novu framework headers * feat(framework): update novu framework headers PR comments * feat(framework): update novu framework headers Fix tests, add new test commit 29a70be Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 10:33:34 2024 -0700 feat(novui): Add LoadingOverlay component (#5838) * fix: Resolve panda type * feat: Full page loader commit 134a077 Merge: 47bb772 7daff04 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:14:28 2024 +0300 Merge branch 'next' of https://github.com/novuhq/novu into next commit 47bb772 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:13:11 2024 +0300 fix: step controls commit 7daff04 Author: Paweł Tymczuk <LetItRock@users.noreply.github.com> Date: Wed Jun 26 18:09:25 2024 +0200 feat(api): inbox - get notifications count endpoint (#5823) * feat(api): inbox - get notifications count endpoint commit ba89d6a Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:08:06 2024 +0300 fix: bridge url setter commit 12c858e Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 18:33:28 2024 +0300 fix: remove unusedcogs commit d1ee964 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 15:46:57 2024 +0200 refactor(web, api, worker, dal): Rename inputs to controls (#5833) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors * refactor(api): rename "inputs" to "controls" * refactor(email): rename isSavingInputs to isSavingControls * refactor(components): Rename InputVariables to ControlVariables * feat(api): Add echo sync and diff routes * refactor(variables): Rename inputVariables to controlVariables * chore: update submodule commit * test: Add missing controls field in test-email e2e test * fix(sync): correct backend URL in test * fix * chore: update subproject commit reference --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 79605c8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:39:58 2024 +0200 feat(web): fix so scroll in onboarding is correct (#5834) commit 1155452 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:33:00 2024 +0200 feat(web): add segment tracking (#5827) commit 9a40b24 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 13:27:19 2024 +0200 feat(web): add sync and update bridge button (#5798) * feat(web): add sync and update bridge button Remove unused usecases Remove unused code Update naming where needed Add validate bridge endpoint Add buttons and relevant modals Add Code component to novui Update .source reference to latest next * feat(web): add sync and update bridge button Update to latests endpoint permutation * feat(web): add sync and update bridge button Align with latest designs * refactor: Rename to CodeBlock * refactor: SyncInfoModal * chore: Remove unwanted icon * refactor: BridgeUpdateModal * feat: Add Connection Status * feat: Enhance input * fix: Input and layout shift in bridge update modal * fix: ConnectionStatusIndicator * feat: WIP CodeBlock * refactor: Util for local env * refactor: WIP update modal trigger * fix: Color palette in sync modal * chore: Add note to prevent others from using CodeBlock for now * chore: Remove debug variant * chore: Clean-up commented out recipe * fix: Tab hover behavior * fix: Icon button color * feat: Add hover and loading states * refactor: Bridge local storage + button * feat: useBridgeStatus * refactor: Extract hook * fix: Clean-up tooltip styling * Fix typing issues in Textarea component * Patch Panda css so that it builds --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Sokratis Vidros <sokratis.vidros@gmail.com> commit 8166956 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 12:43:45 2024 +0200 feat(web): add checks if org have v2 enabled or not (#5829) commit b7bfe8b Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Wed Jun 26 12:53:41 2024 +0300 feat(web,novui): Step preview improvements (#5832) * feat: First pass styling * feat: Toolbar alignment * feat: Add full width token * feat: More styling * feat: Gradient text * fix: Color palette in story * chore: Cleaning * fix: Paths * feat(web,novui): add error block to previews * feat(web): remove unneeded props of error * feat(web,novui): add scrolling for inputs panel, add text area for inputs * feat(web): change order of inputs tabs * feat(web,novui): align toolbar buttons to input label, refetch on window focus --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 427133e Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:52:55 2024 +0300 feat(js): Localization infra (#5822) commit d0f1c5a Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:06:45 2024 +0300 feat(js): Scope variables under class of id (#5820) commit 4359c52 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 09:35:23 2024 +0200 refactor(framework): Rename inputs to controls (#5819) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors --------- Co-authored-by: Dima Grossman <dima@grossman.io>
commit 407feba Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 16:02:42 2024 +0300 feat(js): Introduce baseTheme prop and theme merging (#5851) commit 660a20b Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 14:53:50 2024 +0300 feat(web): Teach studio to connect to Novu API for execution details (#5865) commit 773cf50 Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 14:52:37 2024 +0300 feat(js): Flatten localization prop type (#5858) commit f0e28c7 Author: Pawan Jain <jainpawan211199@gmail.com> Date: Fri Jun 28 17:17:30 2024 +0530 fix(api): create in-app integrations when new org is created (#5783) * fix: create in-app integrations when new org is created * fix: total integrations should be 6 * fix: failing tests * fix: failing tests commit 405d971 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 12:32:55 2024 +0100 refactor(framework): Add env-var for strict authentication (#5866) * test(client): add tests for strictAuthentication and secretKey * test: Correct variable naming in client tests commit 61cb9ce Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 13:29:04 2024 +0200 chore(create-novu-app): remove unused params (#5867) Rename instances of apiKey Update readme files commit ff18d28 Author: Sokratis Vidros <sokratis.vidros@gmail.com> Date: Fri Jun 28 14:10:01 2024 +0300 chore(web): Fix env.sh Restore env-config.js generation based on the local .env file commit eb786e2 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 11:30:13 2024 +0100 refactor(novu): Rename CLI options and README for dev command (#5860) * refactor(cli): update CLI options and README for dev command * style(cli): update dev command description text * refactor(cli): handle port conflict in dev server startup * refactor(cli): simplify dev server port handling * refactor(cli): replace LOCALHOST with SERVER_HOST constant * refactor(http-server): remove commented-out code * refactor(cli): rename webPort to studioPort * style(cli): Update option descriptions for clarity * style(cli): simplify option descriptions * docs(cli): Update dev command description and options * feat(cli): add region option with choices to CLI * refactor(cli): update URLs in constants and enums * feat(cli): add new start:sync:mode script * refactor(cli): rename enums and update URLs * docs(cli): Update CLI sync command examples * fix(cli): update TUNNEL_URL to new endpoint commit be71c80 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 13:06:41 2024 +0300 chore: Rename NOVU_API_KEY to NOVU_SECRET_KEY (#5857) commit 76c2a5b Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 10:20:52 2024 +0100 chore(framework, create-novu-app, novu): Publish prerelease (#5859) * refactor(api): remove unused PUT method from routes * docs: Update README for workflow and serve changes * chore: bump version to 0.24.3-alpha.10 * chore: bump version to 0.24.3-alpha.6 * chore: update CLI package version to 0.24.3-alpha.1 * chore: update dependencies and version numbers * chore: Bump version to 0.24.3-alpha.2 commit 2251138 Author: Biswajeet Das <biswajeetdas18@gmail.com> Date: Fri Jun 28 14:46:03 2024 +0530 feat(js): Com 36 render the bell button (#5825) * feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): set the dist file size limits and run the check after the build * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: remove unused deps * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: add bell to elements * refactor: internal inbox * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * fix: props * update: lock * feat: memoize novu * feat: update bell elements * remove: unused api * Revert "remove: unused api" This reverts commit 2b9249f. * feat: update lock * chore: remove extra script --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com> commit 3dde98b Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 10:56:06 2024 +0200 feat(novu): move sync command (#5852) * feat(cli): move sync command Add sync command to novu cli Add deprecation warning to legacy command Remove unused command Add tests and related packages * feat(novu): move sync command PR recommendations * feat(novu): move sync command PR recommendations * feat(novu): move sync command Remove debug console statement * feat(novu): move sync command Make description more generic * Update packages/cli/src/index.ts * Update packages/cli/src/index.ts * feat(cli): move sync command Exchange warn for log * feat(cli): move sync command Fix typo Add linting script --------- Co-authored-by: Richard Fontein <32132657+rifont@users.noreply.github.com> commit 2ca6610 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 18:10:18 2024 -0700 feat(web): Fix styling, centralize routing utils (#5861) commit 85507a8 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 23:00:48 2024 +0300 fix: copy commit 2568813 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 22:43:31 2024 +0300 fix: test commit d28a83d Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:56:07 2024 +0300 fix: onboarding cookie commit 907eb2b Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:39:03 2024 +0300 fix: iframe redirect commit 6d8a095 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 19:39:30 2024 +0300 fix: change cli tab name commit 94973c3 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 18:41:35 2024 +0300 fix: headers in netlify commit 5045991 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 18:41:11 2024 +0300 feat(web): New onboarding (#5855) * feat(web): New onboarding flow starting from npx novu@latest dev Flow ==== 1. Run npx novu@latest dev 2. Visit http://localhost:2022/studio 3. Redirect to https://web.novu.co/local-studio/auth 4. If signed in, redirect back to http://localhost:2022/studio?local_studio_url=... and load the studio iframe with src = local_studio_url 5. If not signed in, redirect to sign-in or sign-up (consult the nv_onboarding_step cookie) with redirect_url=https://web.novu.co/local-studio/auth 6. When authentication is complete the browser will redirect to step 3 and replay the following steps. * fix(web): Add a personal welcome message to studio onboarding * fix: imports and types * fix: pr comments --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ff689f9 Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Thu Jun 27 18:20:04 2024 +0300 feat(web): V2 local studio layout (#5856) * feat(web): add docs button for all local studio pages * feat(web): new layout of local studio commit 48f20a8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 16:04:40 2024 +0200 refactor(web): studio onboarding to use same bridge hook as rest of studio (#5854) commit c0ff212 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 16:55:33 2024 +0300 fix: add ability to specify api url commit a58fbda Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 16:30:24 2024 +0300 fix(framework): add json parse (#5853) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type * fix(framework): add missing json parse --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ad1e58b Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 14:50:38 2024 +0300 feat(framework): add trigger action (#5839) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 674dd5a Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 12:57:31 2024 +0200 feat(web): Nv 3952 create new get started page (#5850) commit 1f37a81 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu Jun 27 12:44:37 2024 +0200 refactor(framework, web): Rename `data` to `payload` (#5846) * refactor: Replace 'data' with 'payload' in client files * refactor(editor): simplify prop handling in components * chore: Update submodule commit hash * fix(client): correct event payload validation logic * refactor(client): rename variables and improve error handling * refactor(types): Rename IEvent to Event in client files * refactor(client): reorder imports and export missing types * feat(framework): export constants from index file * chore: update submodule reference * chore: update submodule commit * chore: Update submodule to latest commit * chore: update submodule reference commit ec12cd2 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 13:12:25 2024 +0300 fix: imports commit 70b5e14 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:57:30 2024 +0200 feat(web): hide more for v2 enabled feature flag (#5845) commit 891d475 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:51:53 2024 +0200 feat(web): refactor onboarding (#5849) commit cf94a96 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 01:34:58 2024 -0700 feat(web): Add Local Studio sidebar & add header items (#5844) * feat: Add local sidebar based on workflows * feat: Connect w/ Discover * chore: Clean-up commit f8943cb Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 11:28:30 2024 +0300 fix: route name commit 17cde2a Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Thu Jun 27 09:33:16 2024 +0200 feat(create-novu-app): localtunnel removal from create-novu-app (#5835) commit d11ae1a Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 10:20:40 2024 +0300 feat(novu): add cli loading states (#5843) * feat" add cli loaders * feat: configurable route * fix: rename for route commit b6c8252 Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 16:32:12 2024 -0700 fix: Flicker when using Nav menu (#5842) commit 1c3fcc6 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 01:58:47 2024 +0300 fix(web): Polish Bridge URL modal (#5841) * fix(web): Polish Bridge URL modal - Align copywriting. It's Novu Bridge Endpoint. - Add fine-grained error messages. - Persist the value in the modal and display it correctly. * Update bridge URL fixes Allow bridge URL removal Polish status indicator to be as instant as possible * Update auth.spec.ts * fixup! Update auth.spec.ts commit 2ae8951 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 00:03:38 2024 +0300 fix: welcome logs commit 0e4c0e3 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Wed Jun 26 23:54:27 2024 +0300 feat(web): Local studio being local (#5812) * feat(web): Load local studio via npm run dev * feat: Add back button via header --------- Co-authored-by: Denis Kralj <denis@novu.co> Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 452c5b8 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 20:41:25 2024 +0200 feat(framework): update novu framework headers (#5837) * feat(framework): update novu framework headers * feat(framework): update novu framework headers PR comments * feat(framework): update novu framework headers Fix tests, add new test commit 29a70be Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 10:33:34 2024 -0700 feat(novui): Add LoadingOverlay component (#5838) * fix: Resolve panda type * feat: Full page loader commit 134a077 Merge: 47bb772 7daff04 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:14:28 2024 +0300 Merge branch 'next' of https://github.com/novuhq/novu into next commit 47bb772 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:13:11 2024 +0300 fix: step controls commit 7daff04 Author: Paweł Tymczuk <LetItRock@users.noreply.github.com> Date: Wed Jun 26 18:09:25 2024 +0200 feat(api): inbox - get notifications count endpoint (#5823) * feat(api): inbox - get notifications count endpoint commit ba89d6a Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:08:06 2024 +0300 fix: bridge url setter commit 12c858e Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 18:33:28 2024 +0300 fix: remove unusedcogs commit d1ee964 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 15:46:57 2024 +0200 refactor(web, api, worker, dal): Rename inputs to controls (#5833) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors * refactor(api): rename "inputs" to "controls" * refactor(email): rename isSavingInputs to isSavingControls * refactor(components): Rename InputVariables to ControlVariables * feat(api): Add echo sync and diff routes * refactor(variables): Rename inputVariables to controlVariables * chore: update submodule commit * test: Add missing controls field in test-email e2e test * fix(sync): correct backend URL in test * fix * chore: update subproject commit reference --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 79605c8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:39:58 2024 +0200 feat(web): fix so scroll in onboarding is correct (#5834) commit 1155452 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:33:00 2024 +0200 feat(web): add segment tracking (#5827) commit 9a40b24 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 13:27:19 2024 +0200 feat(web): add sync and update bridge button (#5798) * feat(web): add sync and update bridge button Remove unused usecases Remove unused code Update naming where needed Add validate bridge endpoint Add buttons and relevant modals Add Code component to novui Update .source reference to latest next * feat(web): add sync and update bridge button Update to latests endpoint permutation * feat(web): add sync and update bridge button Align with latest designs * refactor: Rename to CodeBlock * refactor: SyncInfoModal * chore: Remove unwanted icon * refactor: BridgeUpdateModal * feat: Add Connection Status * feat: Enhance input * fix: Input and layout shift in bridge update modal * fix: ConnectionStatusIndicator * feat: WIP CodeBlock * refactor: Util for local env * refactor: WIP update modal trigger * fix: Color palette in sync modal * chore: Add note to prevent others from using CodeBlock for now * chore: Remove debug variant * chore: Clean-up commented out recipe * fix: Tab hover behavior * fix: Icon button color * feat: Add hover and loading states * refactor: Bridge local storage + button * feat: useBridgeStatus * refactor: Extract hook * fix: Clean-up tooltip styling * Fix typing issues in Textarea component * Patch Panda css so that it builds --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Sokratis Vidros <sokratis.vidros@gmail.com> commit 8166956 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 12:43:45 2024 +0200 feat(web): add checks if org have v2 enabled or not (#5829) commit b7bfe8b Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Wed Jun 26 12:53:41 2024 +0300 feat(web,novui): Step preview improvements (#5832) * feat: First pass styling * feat: Toolbar alignment * feat: Add full width token * feat: More styling * feat: Gradient text * fix: Color palette in story * chore: Cleaning * fix: Paths * feat(web,novui): add error block to previews * feat(web): remove unneeded props of error * feat(web,novui): add scrolling for inputs panel, add text area for inputs * feat(web): change order of inputs tabs * feat(web,novui): align toolbar buttons to input label, refetch on window focus --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 427133e Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:52:55 2024 +0300 feat(js): Localization infra (#5822) commit d0f1c5a Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:06:45 2024 +0300 feat(js): Scope variables under class of id (#5820) commit 4359c52 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 09:35:23 2024 +0200 refactor(framework): Rename inputs to controls (#5819) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors --------- Co-authored-by: Dima Grossman <dima@grossman.io>
* feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * update: lock * feat: popover base * feat: popover * feat: add more placement options * feat: add popover props * Squashed commit of the following: commit 407feba Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 16:02:42 2024 +0300 feat(js): Introduce baseTheme prop and theme merging (#5851) commit 660a20b Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 14:53:50 2024 +0300 feat(web): Teach studio to connect to Novu API for execution details (#5865) commit 773cf50 Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Fri Jun 28 14:52:37 2024 +0300 feat(js): Flatten localization prop type (#5858) commit f0e28c7 Author: Pawan Jain <jainpawan211199@gmail.com> Date: Fri Jun 28 17:17:30 2024 +0530 fix(api): create in-app integrations when new org is created (#5783) * fix: create in-app integrations when new org is created * fix: total integrations should be 6 * fix: failing tests * fix: failing tests commit 405d971 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 12:32:55 2024 +0100 refactor(framework): Add env-var for strict authentication (#5866) * test(client): add tests for strictAuthentication and secretKey * test: Correct variable naming in client tests commit 61cb9ce Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 13:29:04 2024 +0200 chore(create-novu-app): remove unused params (#5867) Rename instances of apiKey Update readme files commit ff18d28 Author: Sokratis Vidros <sokratis.vidros@gmail.com> Date: Fri Jun 28 14:10:01 2024 +0300 chore(web): Fix env.sh Restore env-config.js generation based on the local .env file commit eb786e2 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 11:30:13 2024 +0100 refactor(novu): Rename CLI options and README for dev command (#5860) * refactor(cli): update CLI options and README for dev command * style(cli): update dev command description text * refactor(cli): handle port conflict in dev server startup * refactor(cli): simplify dev server port handling * refactor(cli): replace LOCALHOST with SERVER_HOST constant * refactor(http-server): remove commented-out code * refactor(cli): rename webPort to studioPort * style(cli): Update option descriptions for clarity * style(cli): simplify option descriptions * docs(cli): Update dev command description and options * feat(cli): add region option with choices to CLI * refactor(cli): update URLs in constants and enums * feat(cli): add new start:sync:mode script * refactor(cli): rename enums and update URLs * docs(cli): Update CLI sync command examples * fix(cli): update TUNNEL_URL to new endpoint commit be71c80 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Fri Jun 28 13:06:41 2024 +0300 chore: Rename NOVU_API_KEY to NOVU_SECRET_KEY (#5857) commit 76c2a5b Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Fri Jun 28 10:20:52 2024 +0100 chore(framework, create-novu-app, novu): Publish prerelease (#5859) * refactor(api): remove unused PUT method from routes * docs: Update README for workflow and serve changes * chore: bump version to 0.24.3-alpha.10 * chore: bump version to 0.24.3-alpha.6 * chore: update CLI package version to 0.24.3-alpha.1 * chore: update dependencies and version numbers * chore: Bump version to 0.24.3-alpha.2 commit 2251138 Author: Biswajeet Das <biswajeetdas18@gmail.com> Date: Fri Jun 28 14:46:03 2024 +0530 feat(js): Com 36 render the bell button (#5825) * feat(js): the base js sdk package scaffolding * feat(js): improve the package json exports and tsup config * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): the base js sdk package scaffolding * feat(js): set the dist file size limits and run the check after the build * feat(js): lazy session initialization and interface fixes * feat(js): renamed the *.spec.ts to *.test.ts * feat(js): js sdk feeds module * chore(js): simplified the notification and preference classes * feat(js): lazy session initialization and interface fixes * feat(js): the base js sdk package scaffolding * feat(js): js sdk feeds module * feat(js): handling the web socket connection and events * chore(js): removed old spec file * chore(js): fixed the package building on esm and cjs modules * feat: ui solid * revert: novu/js package * feat: implement solidjs * refactor: update file name * refactor: remove unused deps * refactor: rename app to inbox * refactor: rename ui to inboxui * feat: add ui to umd * feat: update tsup build and removed umd for ui * refactor: imports and babel * feat: add tailwind css * feat: add vanilla * feat: add vanilla and fix tailwind build * chore: generate pnpm lock * feat: remove emotion and vanilla-extract * feat: integrate appearance and variables into ui * feat: add ui demo * fix: Scope tailwind styles * fix: js package build * refactor: Cleanup css generation * feat(js): Create variable set * chore: update lock * refactor: remove deleted files * refactor: remove js package from web app * fix(js): Generate and expose default color css variables * feat(js): Auto enable darkmode when detected * fix(js): Revert dark mode support * feat: add watch mode * feat: add novu context * feat: implement bell * feat: fix build * feat: add bell to elements * refactor: internal inbox * feat: bell icon with badge and unread count socket * revert: js package * chore: update lock * chore: remove unnecessary changes * fix: props * update: lock * feat: memoize novu * feat: update bell elements * remove: unused api * Revert "remove: unused api" This reverts commit 2b9249f. * feat: update lock * chore: remove extra script --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com> commit 3dde98b Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Fri Jun 28 10:56:06 2024 +0200 feat(novu): move sync command (#5852) * feat(cli): move sync command Add sync command to novu cli Add deprecation warning to legacy command Remove unused command Add tests and related packages * feat(novu): move sync command PR recommendations * feat(novu): move sync command PR recommendations * feat(novu): move sync command Remove debug console statement * feat(novu): move sync command Make description more generic * Update packages/cli/src/index.ts * Update packages/cli/src/index.ts * feat(cli): move sync command Exchange warn for log * feat(cli): move sync command Fix typo Add linting script --------- Co-authored-by: Richard Fontein <32132657+rifont@users.noreply.github.com> commit 2ca6610 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 18:10:18 2024 -0700 feat(web): Fix styling, centralize routing utils (#5861) commit 85507a8 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 23:00:48 2024 +0300 fix: copy commit 2568813 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 22:43:31 2024 +0300 fix: test commit d28a83d Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:56:07 2024 +0300 fix: onboarding cookie commit 907eb2b Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 20:39:03 2024 +0300 fix: iframe redirect commit 6d8a095 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 19:39:30 2024 +0300 fix: change cli tab name commit 94973c3 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 18:41:35 2024 +0300 fix: headers in netlify commit 5045991 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 18:41:11 2024 +0300 feat(web): New onboarding (#5855) * feat(web): New onboarding flow starting from npx novu@latest dev Flow ==== 1. Run npx novu@latest dev 2. Visit http://localhost:2022/studio 3. Redirect to https://web.novu.co/local-studio/auth 4. If signed in, redirect back to http://localhost:2022/studio?local_studio_url=... and load the studio iframe with src = local_studio_url 5. If not signed in, redirect to sign-in or sign-up (consult the nv_onboarding_step cookie) with redirect_url=https://web.novu.co/local-studio/auth 6. When authentication is complete the browser will redirect to step 3 and replay the following steps. * fix(web): Add a personal welcome message to studio onboarding * fix: imports and types * fix: pr comments --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ff689f9 Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Thu Jun 27 18:20:04 2024 +0300 feat(web): V2 local studio layout (#5856) * feat(web): add docs button for all local studio pages * feat(web): new layout of local studio commit 48f20a8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 16:04:40 2024 +0200 refactor(web): studio onboarding to use same bridge hook as rest of studio (#5854) commit c0ff212 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 16:55:33 2024 +0300 fix: add ability to specify api url commit a58fbda Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 16:30:24 2024 +0300 fix(framework): add json parse (#5853) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type * fix(framework): add missing json parse --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit ad1e58b Author: George Djabarov <39195835+djabarovgeorge@users.noreply.github.com> Date: Thu Jun 27 14:50:38 2024 +0300 feat(framework): add trigger action (#5839) * feat(framework): add trigger action * feat(framework): update after pr comments * fix: update pnpm lock file * fix: update shared version * feat: update hash to latest next * refactor(framework): update trigger event interface to type --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 674dd5a Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 12:57:31 2024 +0200 feat(web): Nv 3952 create new get started page (#5850) commit 1f37a81 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu Jun 27 12:44:37 2024 +0200 refactor(framework, web): Rename `data` to `payload` (#5846) * refactor: Replace 'data' with 'payload' in client files * refactor(editor): simplify prop handling in components * chore: Update submodule commit hash * fix(client): correct event payload validation logic * refactor(client): rename variables and improve error handling * refactor(types): Rename IEvent to Event in client files * refactor(client): reorder imports and export missing types * feat(framework): export constants from index file * chore: update submodule reference * chore: update submodule commit * chore: Update submodule to latest commit * chore: update submodule reference commit ec12cd2 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 13:12:25 2024 +0300 fix: imports commit 70b5e14 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:57:30 2024 +0200 feat(web): hide more for v2 enabled feature flag (#5845) commit 891d475 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Thu Jun 27 11:51:53 2024 +0200 feat(web): refactor onboarding (#5849) commit cf94a96 Author: Joel Anton <joel@novu.co> Date: Thu Jun 27 01:34:58 2024 -0700 feat(web): Add Local Studio sidebar & add header items (#5844) * feat: Add local sidebar based on workflows * feat: Connect w/ Discover * chore: Clean-up commit f8943cb Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 11:28:30 2024 +0300 fix: route name commit 17cde2a Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Thu Jun 27 09:33:16 2024 +0200 feat(create-novu-app): localtunnel removal from create-novu-app (#5835) commit d11ae1a Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 10:20:40 2024 +0300 feat(novu): add cli loading states (#5843) * feat" add cli loaders * feat: configurable route * fix: rename for route commit b6c8252 Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 16:32:12 2024 -0700 fix: Flicker when using Nav menu (#5842) commit 1c3fcc6 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Thu Jun 27 01:58:47 2024 +0300 fix(web): Polish Bridge URL modal (#5841) * fix(web): Polish Bridge URL modal - Align copywriting. It's Novu Bridge Endpoint. - Add fine-grained error messages. - Persist the value in the modal and display it correctly. * Update bridge URL fixes Allow bridge URL removal Polish status indicator to be as instant as possible * Update auth.spec.ts * fixup! Update auth.spec.ts commit 2ae8951 Author: Dima Grossman <dima@grossman.io> Date: Thu Jun 27 00:03:38 2024 +0300 fix: welcome logs commit 0e4c0e3 Author: Sokratis Vidros <SokratisVidros@users.noreply.github.com> Date: Wed Jun 26 23:54:27 2024 +0300 feat(web): Local studio being local (#5812) * feat(web): Load local studio via npm run dev * feat: Add back button via header --------- Co-authored-by: Denis Kralj <denis@novu.co> Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 452c5b8 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 20:41:25 2024 +0200 feat(framework): update novu framework headers (#5837) * feat(framework): update novu framework headers * feat(framework): update novu framework headers PR comments * feat(framework): update novu framework headers Fix tests, add new test commit 29a70be Author: Joel Anton <joel@novu.co> Date: Wed Jun 26 10:33:34 2024 -0700 feat(novui): Add LoadingOverlay component (#5838) * fix: Resolve panda type * feat: Full page loader commit 134a077 Merge: 47bb772 7daff04 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:14:28 2024 +0300 Merge branch 'next' of https://github.com/novuhq/novu into next commit 47bb772 Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:13:11 2024 +0300 fix: step controls commit 7daff04 Author: Paweł Tymczuk <LetItRock@users.noreply.github.com> Date: Wed Jun 26 18:09:25 2024 +0200 feat(api): inbox - get notifications count endpoint (#5823) * feat(api): inbox - get notifications count endpoint commit ba89d6a Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 19:08:06 2024 +0300 fix: bridge url setter commit 12c858e Author: Dima Grossman <dima@grossman.io> Date: Wed Jun 26 18:33:28 2024 +0300 fix: remove unusedcogs commit d1ee964 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 15:46:57 2024 +0200 refactor(web, api, worker, dal): Rename inputs to controls (#5833) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors * refactor(api): rename "inputs" to "controls" * refactor(email): rename isSavingInputs to isSavingControls * refactor(components): Rename InputVariables to ControlVariables * feat(api): Add echo sync and diff routes * refactor(variables): Rename inputVariables to controlVariables * chore: update submodule commit * test: Add missing controls field in test-email e2e test * fix(sync): correct backend URL in test * fix * chore: update subproject commit reference --------- Co-authored-by: Dima Grossman <dima@grossman.io> commit 79605c8 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:39:58 2024 +0200 feat(web): fix so scroll in onboarding is correct (#5834) commit 1155452 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 14:33:00 2024 +0200 feat(web): add segment tracking (#5827) commit 9a40b24 Author: Denis Kralj <168424106+denis-kralj-novu@users.noreply.github.com> Date: Wed Jun 26 13:27:19 2024 +0200 feat(web): add sync and update bridge button (#5798) * feat(web): add sync and update bridge button Remove unused usecases Remove unused code Update naming where needed Add validate bridge endpoint Add buttons and relevant modals Add Code component to novui Update .source reference to latest next * feat(web): add sync and update bridge button Update to latests endpoint permutation * feat(web): add sync and update bridge button Align with latest designs * refactor: Rename to CodeBlock * refactor: SyncInfoModal * chore: Remove unwanted icon * refactor: BridgeUpdateModal * feat: Add Connection Status * feat: Enhance input * fix: Input and layout shift in bridge update modal * fix: ConnectionStatusIndicator * feat: WIP CodeBlock * refactor: Util for local env * refactor: WIP update modal trigger * fix: Color palette in sync modal * chore: Add note to prevent others from using CodeBlock for now * chore: Remove debug variant * chore: Clean-up commented out recipe * fix: Tab hover behavior * fix: Icon button color * feat: Add hover and loading states * refactor: Bridge local storage + button * feat: useBridgeStatus * refactor: Extract hook * fix: Clean-up tooltip styling * Fix typing issues in Textarea component * Patch Panda css so that it builds --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Sokratis Vidros <sokratis.vidros@gmail.com> commit 8166956 Author: David Söderberg <2233092+davidsoderberg@users.noreply.github.com> Date: Wed Jun 26 12:43:45 2024 +0200 feat(web): add checks if org have v2 enabled or not (#5829) commit b7bfe8b Author: Gali Ainouz Baum <ainouzgali@gmail.com> Date: Wed Jun 26 12:53:41 2024 +0300 feat(web,novui): Step preview improvements (#5832) * feat: First pass styling * feat: Toolbar alignment * feat: Add full width token * feat: More styling * feat: Gradient text * fix: Color palette in story * chore: Cleaning * fix: Paths * feat(web,novui): add error block to previews * feat(web): remove unneeded props of error * feat(web,novui): add scrolling for inputs panel, add text area for inputs * feat(web): change order of inputs tabs * feat(web,novui): align toolbar buttons to input label, refetch on window focus --------- Co-authored-by: Joel Anton <joel@novu.co> Co-authored-by: Dima Grossman <dima@grossman.io> commit 427133e Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:52:55 2024 +0300 feat(js): Localization infra (#5822) commit d0f1c5a Author: George Desipris <73396808+desiprisg@users.noreply.github.com> Date: Wed Jun 26 11:06:45 2024 +0300 feat(js): Scope variables under class of id (#5820) commit 4359c52 Author: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Wed Jun 26 09:35:23 2024 +0200 refactor(framework): Rename inputs to controls (#5819) * refactor(client): rename input to control throughout code * test: Add test for provider execution with step outputs * fix(errors): correct error code enums in execution errors --------- Co-authored-by: Dima Grossman <dima@grossman.io> * feat: popover component * feat: add event listeners * feat: add renderProps and floating ui * feat: update lock * refactor: remove comment * feat: add popovertrigger descriptor * chore: update lock * fix: lock * fix: merge conflicts --------- Co-authored-by: Paweł <pawel.tymczuk@gmail.com> Co-authored-by: George Desipris <george@Georges-MBP.router.wind> Co-authored-by: desiprisg <george.desipris.56@gmail.com>
What changed? Why was the change needed?
This is the first of a sequence of 3 PRs to replace the "inputs" nomenclature with "controls" in the Novu Framework, API, and Worker:
@novu/framework
:inputs
->controls
in client API callbacks (with@deprecated
flag oninputs
)inputSchema
->controlSchema
in client Workflow/Step options (with@deprecated
flag oninputSchema
)inputs
andcontrols
during ExecutioninputSchema
andcontrolSchema
during DiscoverycontrolSchema
during Discoverycontrols
during Executioninputs
andinputSchema
across both Framework and APIScreenshots
Testing backwards compatibility
Using a new
@novu/framework
SDK with current Novu Prod API/WorkerExpand for optional sections
Related enterprise PR
Special notes for your reviewer