Skip to content

Added overline underline and strike in text overlay - #1602

Open
niravasher wants to merge 7 commits into
publiclab:mainfrom
niravasher:text-overlay
Open

Added overline underline and strike in text overlay#1602
niravasher wants to merge 7 commits into
publiclab:mainfrom
niravasher:text-overlay

Conversation

@niravasher

Copy link
Copy Markdown

Fixes #1585 (<=== Replace 0000 with the Issue Number)

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with npm run test-all
  • code is in uniquely-named feature branch and has no merge conflicts
  • PR is descriptively titled
  • ask @publiclab/is-reviewers for help, in a comment below
  • Insert-step functionality is working correct as expected.

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!

@niravasher

niravasher commented Jan 31, 2020

Copy link
Copy Markdown
Author

strike

Screenshot from 2020-01-31 15-21-23

overline

Screenshot from 2020-01-31 15-19-13

underline

Screenshot from 2020-01-31 15-20-36
@aashna27 @ataata107

@codecov

codecov Bot commented Jan 31, 2020

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.41%. Comparing base (853e719) to head (862d27b).
⚠️ Report is 387 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1602      +/-   ##
==========================================
- Coverage   66.67%   65.41%   -1.27%     
==========================================
  Files         130      132       +2     
  Lines        2686     2741      +55     
  Branches      433      438       +5     
==========================================
+ Hits         1791     1793       +2     
- Misses        895      948      +53     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread src/modules/TextOverlay/TextOverlay.js Outdated
Comment thread src/modules/TextOverlay/TextOverlay.js
@niravasher

Copy link
Copy Markdown
Author

Screenshot from 2020-02-02 00-57-31

Comment thread docs/MODULES.md Outdated
var options = { text : 'Hello World', size : '12'};
where `options` is an object with the following property:
* options.text : It allows to enter input text for overlay.
* options.y : The value at which the overlay should start in x-axis.

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.

Shouldn't this be options.x?

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.

You also need to fix this typo

Comment thread src/modules/TextOverlay/info.json Outdated
"strike"
]
},
"line_width": {

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.

Isn't this the height of the line, no?

@niravasher

Copy link
Copy Markdown
Author

Fixed the silly mistakes @blurry-x-face

@rishabhshuklax rishabhshuklax 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.

Just a few more changes

Comment thread docs/MODULES.md Outdated
var options = { text : 'Hello World', size : '12'};
where `options` is an object with the following property:
* options.text : It allows to enter input text for overlay.
* options.y : The value at which the overlay should start in x-axis.

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.

You also need to fix this typo

Comment thread test/core/modules/text-overlay.js Outdated
Comment thread src/modules/TextOverlay/info.json Outdated
Comment thread src/modules/TextOverlay/info.json Outdated
@niravasher

Copy link
Copy Markdown
Author

Updated PR once again @blurry-x-face

@niravasher

Copy link
Copy Markdown
Author

done @blurry-x-face

@gitpod-io

gitpod-io Bot commented Jul 7, 2020

Copy link
Copy Markdown

@harshkhandeparkar harshkhandeparkar added the almost-complete PRs that are almost done but little more work. label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

almost-complete PRs that are almost done but little more work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to add Bold, italic, underline option in text overlay module

4 participants