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

add placeholder when brightness step applied #363

Closed
adisapphire opened this issue Oct 1, 2018 · 11 comments
Closed

add placeholder when brightness step applied #363

adisapphire opened this issue Oct 1, 2018 · 11 comments

Comments

@adisapphire
Copy link
Member

adisapphire commented Oct 1, 2018

First Timers Only

Hi, this is a first-timers-only issue. This means this has been worked to make it more legible to folks who either haven't contributed to our codebase before or even folks who haven't contributed to open source before.

If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!

The Problem

Add placeholder like percentage that is applied when brightness step is applied.
bright

The Solution

screenshot 26

The above code can be found in https://github.com/publiclab/image-sequencer/blob/main/examples/lib/defaultHtmlStepUi.js
try to put placeholder in input element with its corresponding value.
value can be found in step.options

best of luck for the first PR 🎉 🎉

@gitmate
Copy link

gitmate bot commented Oct 1, 2018

GitMate.io thinks possibly related issues are #113 (Add a Brightness module), #344 (Add a function to create a gif from the outputs of all steps), #250 (Add step.toString() and sequencer.toString() methods), #303 (Disable/dim the Add step button until a module is selected), and #269 (Prior steps need not re-run when a new module is added or deleted).

1 similar comment
@gitmate
Copy link

gitmate bot commented Oct 1, 2018

GitMate.io thinks possibly related issues are #113 (Add a Brightness module), #344 (Add a function to create a gif from the outputs of all steps), #250 (Add step.toString() and sequencer.toString() methods), #303 (Disable/dim the Add step button until a module is selected), and #269 (Prior steps need not re-run when a new module is added or deleted).

@gitmate gitmate bot added the enhancement label Oct 1, 2018
@kostadriano
Copy link

Hi, Can I claim this issue?

@adisapphire
Copy link
Member Author

sure! Go ahead

@kostadriano
Copy link

for me to be sure, what you need is a placeholder with an example like this?
image

@adisapphire
Copy link
Member Author

Yes, It should display when we apply step UI, so that user could get data used when adding a step

@kostadriano
Copy link

#370

jywarren pushed a commit that referenced this issue Oct 2, 2018
* 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
@wptechprodigy
Copy link

Is this still up for grabs?

I want to work on it right away.

@wptechprodigy
Copy link

defaultHTMLStepUi.js seem to be empty after I had forked, cloned and view it with vim on my Termux CLI

@wptechprodigy
Copy link

What could be the cause?

@adisapphire
Copy link
Member Author

I think it is merged, try to find another issue.
It should not be empty but may due some cloning error.
Try to open it in different text editor, may be it works.
Thanks for your interest.
keep contributing

jywarren pushed a commit that referenced this issue 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

No branches or pull requests

3 participants