Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat #396 : Create Experiments From Overrides #397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yuvrajjsingh0
Copy link

Problem

Create Experiments From Overrides

Solution

Added create experiment popup to overrides

@yuvrajjsingh0 yuvrajjsingh0 requested a review from a team as a code owner January 30, 2025 12:20
@@ -228,6 +229,8 @@ pub fn context_override() -> impl IntoView {
}
},
);
let (_reset_exp_form, set_exp_form) = create_signal(0);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need this signal ?
the data is not being read anywhere

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yeah, that state is of no use, removed it

set_exp_form.update(|val| {
*val += 1;
});
close_drawer("create_exp_drawer");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this already being done by the handle_submit of the Experiment popup ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it's not.

}
>

<EditorProvider>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShubhranshuSanjeev shouldn't this Provider be already present inside the Forms itself

Copy link
Collaborator

@ayushjain17 ayushjain17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change the commit action, squash the commits as well
also, files are not formatted correctly

@yuvrajjsingh0 yuvrajjsingh0 changed the title close #396 : Create Experiments From Overrides feat #396 : Create Experiments From Overrides Jan 30, 2025
@yuvrajjsingh0 yuvrajjsingh0 force-pushed the create-experiments-from-overrides branch 2 times, most recently from 733caf4 to 76e3430 Compare January 30, 2025 18:14
@mahatoankitkumar
Copy link
Collaborator

@yuvrajjsingh0 Can you please attach a video for this?

Copy link
Collaborator

@ayushjain17 ayushjain17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please keep the commit action specifically as "feat: <<Commit Message>>"

@yuvrajjsingh0
Copy link
Author

Video:

Screen.Recording.2025-02-03.at.11.58.17.AM.mov

@Datron Datron linked an issue Feb 5, 2025 that may be closed by this pull request
@Datron Datron added the P0 label Feb 6, 2025
@Datron Datron requested a review from ayushjain17 February 7, 2025 10:17
@@ -65,6 +69,14 @@ pub fn context_card(
<Show when=move || actions_supported>
<div class="h-fit text-right space-x-4">
<Show when=move || !edit_unsupported>
<button
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we adjust this button to match our theme colors?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Copy link
Author

@yuvrajjsingh0 yuvrajjsingh0 Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-02-13 at 4 20 55 PM This is how it looks now! @mahatoankitkumar

@yuvrajjsingh0 yuvrajjsingh0 force-pushed the create-experiments-from-overrides branch from 95fd04c to ee07907 Compare February 13, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Experiments From Overrides
4 participants