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: change css to allow color picker selector to show (refs #634) #638

Closed
wants to merge 2 commits into from

Conversation

adeptflax
Copy link

@adeptflax adeptflax commented Sep 7, 2021

Please check if the PR fulfills these requirements

  • It's submitted to right branch according to our branching model
  • It's right issue type on title
  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • It does not introduce a breaking change or has description for the breaking change

Description

This pull request changes the css so that the color slider from the color picker shows up. It would make it easier for people to select colors. I'm not sure why this was hidden. I had to add some css to make it show up correctly.

Before:

color-before

After:

color-after

@adeptflax
Copy link
Author

adeptflax commented Sep 7, 2021

I realized a bug in my commit. When there is an additional option in the color picker. The color slider doesn't render correctly. I need to get it to change height somehow

closed

image

expanded

image

@adeptflax
Copy link
Author

Just noticed the color picker div isn't in the correct position when expanded.

@lja1018
Copy link
Contributor

lja1018 commented Sep 8, 2021

@adeptflax
Thank you for the PR.
Can you fix the colors slider so that they are properly rendered?

@adeptflax
Copy link
Author

@lja1018 yeah, I was going to do that. I'm going to work on it now.

@adeptflax
Copy link
Author

Would It be better if the color picker expanded below the activation button and hide the arrow or expanded upward or something else?

@adeptflax
Copy link
Author

image

how it looks now.

@adeptflax
Copy link
Author

Expanding upward seems like the better idea, I'll see if I can get that working.

@adeptflax
Copy link
Author

I think the color slider should be moved above the color pallet.

@lja1018
Copy link
Contributor

lja1018 commented Sep 9, 2021

@adeptflax
Does it mean that the colour slider expands up, not down?

@adeptflax
Copy link
Author

adeptflax commented Sep 10, 2021

@lja1018 I meant the color picker box expands downward. I have version where it expands upward. I need to get some alignment bug fixed with it. I'm going to add a opacity setting to the draw tool.

@adeptflax
Copy link
Author

ok got it fixed. I added an option to set the opacity of the draw tool

@lja1018
Copy link
Contributor

lja1018 commented Sep 14, 2021

@adeptflax
Thank you for the PR.
It will take some time because a detailed review is needed as it can affect usability.

…lters, add numerical input to filter values, and force filters to be processed in a consisent order
@adeptflax
Copy link
Author

adeptflax commented Oct 10, 2021

New Filter UI:

image

Things I changed:

  • Added more filters.
  • Remove redundant filters. I added Tint to the blend filter. I remove multiply because it was just an option in the blend filter. Color Filter and Remove White where the same filter, except color filter tried to use the alpha channel on "removeColor", which isn't supported on fabric yet.
  • add numerical input to filter values
  • I made it so filters are always processed in a consistent order. In the current version depending on the order on which you selected the filters the image will look differently. It redid it in a similar way as this fabric.js example did.

Other

The filter code was really badly written. I'll fix the conflicts and update the tests later. I will be adding more features in the coming weeks.

@lja1018
Copy link
Contributor

lja1018 commented Oct 27, 2021

@adeptflax
Thank you for the new filter UI commit.
But it doesn't fit with this PR and I need to talk to our team.
Can you upload the commit(filter UI) to another PR?(and revert commit)

@adeptflax
Copy link
Author

I'll revert when I get around to it. I think I will just maintain my own fork of this repo. I don't agree with a lot of the design decisions of this repo.

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

@stale stale bot added the inactive label Jan 9, 2022
@dadlaniTarun
Copy link

@adeptflax is there any update regarding this PR???

@stale stale bot removed the inactive label Mar 28, 2022
@stale
Copy link

stale bot commented Apr 27, 2022

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

@stale stale bot added the inactive label Apr 27, 2022
@stale
Copy link

stale bot commented Jun 12, 2022

This issue will be closed due to inactivity. Thanks for your contribution!

@stale stale bot closed this Jun 12, 2022
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.

None yet

3 participants