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

enables Save button for an action when it is needed ( fixes #340 and #377 ) #394

Merged
merged 1 commit into from
Oct 8, 2018

Conversation

Ankit-Singla
Copy link

Enables Save button for an action if any of its input fields gain focus, and keeps it disabled until then. Disables it once again when it is clicked, until one of the input elements for the action gain focus.

@Ankit-Singla
Copy link
Author

@tech4GT @jywarren
Please review this PR. Let me know if I missed out on something, or if something needs to be changed.
Thank you!

Copy link
Member

@tech4GT tech4GT left a comment

Choose a reason for hiding this comment

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

@Ankit-Singla This looks good to me, can you please also attach a screenshot for this! Thanks!!

@Ankit-Singla
Copy link
Author

Sure @tech4GT . Please refer the following screenshots (in order) to observe the state of the Save button at each step :
screenshot 2018-10-07 at 12 05 15 am
screenshot 2018-10-07 at 12 04 18 am
screenshot 2018-10-07 at 12 04 28 am
screenshot 2018-10-07 at 12 04 41 am
screenshot 2018-10-07 at 12 04 56 am

Copy link
Member

@tech4GT tech4GT left a comment

Choose a reason for hiding this comment

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

Good work @Ankit-Singla
We are ready to merge here! 🎉

@jywarren jywarren merged commit 802b281 into publiclab:main Oct 8, 2018
@jywarren
Copy link
Member

jywarren commented Oct 8, 2018

Great work!!!! Very happy to see this fixed :-)

jywarren pushed a commit that referenced this pull request Oct 10, 2018
* added gif feature

* increased frame duration n changed gif btn name

* removed inline css

* improved ui

* #363 Add placeholder option to input (#370)

* Add placeholder option to input , change type of brightness input to number

 Changes to be committed:
	modified:   examples/lib/defaultHtmlStepUi.js
	modified:   src/modules/Brightness/info.json

* change 0% to 0 in brightness placeholder

* Add gamma module (#374)

* Add gamma module

* update description

* Add matrix math module (#358)

* Add matrix math module

* add info.json file

* correct format of module

* Add a constant factor input field

* clone the pixels array

* change default values

* add extra information on convolution module (#381)

* adds default values to input fields for all module steps ( fixes #382 ) (#384)

* added default values to input fields for all module steps

* merged

Signed-off-by: Ankit Singla <asingla590@gmail.com>

* Accept type images in input field #364 (#366)

* gif button name changed

* fixes #383 (#396)

Signed-off-by: Varun Gupta <varun.gupta1798@gmail.com>

* fix (#387)

Signed-off-by: Varun Gupta <varun.gupta1798@gmail.com>

* updated

* Issue #392 Fixes alignment of message in Add step box (#393)

*  Fixes alignment of message in Add step box

* fixes css info id

* updates class selector in demo

* Spacing changes

* correctly regulates the behaviour of all links (#397)

Signed-off-by: Ankit Singla <asingla590@gmail.com>

* enables Save button for an action if any of its input fields gain focus (#394)

* Updated index.html (#379)

* add histogram module (#354)

* add histogram module

Signed-off-by: tech4GT <varun.gupta1798@gmail.com>

* add option to drop gradient

Signed-off-by: Varun Gupta <varun.gupta1798@gmail.com>

* fix bug

Signed-off-by: Varun Gupta <varun.gupta1798@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants