Skip to content

Add confirm_message to toggle-bool-switch#498

Merged
rjherrera merged 6 commits into
platanus:masterfrom
mario-amazing:master
Sep 13, 2024
Merged

Add confirm_message to toggle-bool-switch#498
rjherrera merged 6 commits into
platanus:masterfrom
mario-amazing:master

Conversation

@mario-amazing

Copy link
Copy Markdown
Contributor

Motivation / Background

Add new confirm_message feature to toggle-bool-switch: #483

@mario-amazing

Copy link
Copy Markdown
Contributor Author

@difernandez, could you check it?

@mpapis mpapis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As I had use case to confirm only turning off - so extended with confirmation separately on or off.

Comment thread app/javascript/activeadmin_addons/addons/toggle_bool.js
Comment thread docs/toggle_bool.md Outdated
Comment thread lib/activeadmin_addons/addons/toggle_bool_builder.rb Outdated

@rjherrera rjherrera left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks for the PR and sorry for the long wait. I suggested something as I was worried about the implementation, let me know so we can merge this :)

Comment thread app/javascript/activeadmin_addons/addons/toggle_bool.js Outdated
Co-authored-by: Raimundo Herrera <rjherrera@uc.cl>

@rjherrera rjherrera left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i left the suggestions there

Comment thread app/javascript/activeadmin_addons/addons/toggle_bool.js Outdated
Comment thread docs/toggle_bool.md
Comment thread lib/activeadmin_addons/addons/toggle_bool_builder.rb Outdated
@rjherrera rjherrera merged commit afa8ee1 into platanus:master Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants