oui icon indicating copy to clipboard operation
oui copied to clipboard

Optimize calc() usage in scss files

Open ShatilKhan opened this issue 1 year ago • 6 comments

Description

Optimization of some math equations inside calc() in scss files was done.

Issues Resolved

Fixes #1002

Check List

  • [ ] New functionality includes testing.
  • [ ] New functionality has been documented.
  • [ ] All tests pass
    • [ ] yarn lint
    • [ ] yarn test-unit
  • [X] Update CHANGELOG.md
  • [X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

ShatilKhan avatar Nov 16 '23 15:11 ShatilKhan

These same kind of conflicts keep appeared in my previous PR I'm curious about why this kind of conflict actually occurs? image

<<<<<<< calc
=======
>>>>>>> main

What does this actually mean?

ShatilKhan avatar Nov 17 '23 10:11 ShatilKhan

I'm just gonna make a new PR, a lot of problem with this one

ShatilKhan avatar Nov 17 '23 11:11 ShatilKhan

These same kind of conflicts keep appeared in my previous PR I'm curious about why this kind of conflict actually occurs? image

<<<<<<< calc
=======
>>>>>>> main

What does this actually mean?

@ShatilKhan Those lines indicate a merge conflict, where git is unsure whether which branch has the "correct" or desired changes. So it keeps both and wraps them in those markers so that you can manually choose (or replace with a combination). The first section is the line(s) as it appears in the calc branch and the second is the line as it appears in the main branch. See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts and https://code.visualstudio.com/docs/sourcecontrol/overview#_merge-conflicts

joshuarrrr avatar Nov 17 '23 16:11 joshuarrrr

Thanks for the explanation @joshuarrrr

ShatilKhan avatar Dec 11 '23 05:12 ShatilKhan

I resolved all the conflicts This one is ready for review

ShatilKhan avatar Dec 11 '23 05:12 ShatilKhan

It looks like the linter is throwing errors: https://github.com/opensearch-project/oui/actions/runs/7163472679/job/19525060011?pr=1158#step:5:17

Also looks like build got broken: https://github.com/opensearch-project/oui/actions/runs/7163472679/job/19525059465?pr=1158#step:5:123

BSFishy avatar Dec 12 '23 16:12 BSFishy