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

Feature/tr 857/rtl title bar #109

Merged
merged 5 commits into from
Jun 4, 2021
Merged

Conversation

lecosson
Copy link
Contributor

@lecosson lecosson commented May 28, 2021

Related to: https://oat-sa.atlassian.net/browse/TR-857

Changes:

  • implemented helpers to determine RTL languages

How to check:

Requires:

Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

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

Looks good.
But could you add unit tests for the new helpers?

@lecosson
Copy link
Contributor Author

Looks good.
But could you add unit tests for the new helpers?

added

@lecosson lecosson marked this pull request as ready for review May 31, 2021 10:36
Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

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

It looks good. Nice job.

Just a few remarks:

  • a possible flaw in the way to check strings (it will fail if the case is different, and nothing prevent to have such a case)
  • a small concern in unit tests

test/util/locale/test.js Outdated Show resolved Hide resolved
test/util/locale/test.js Outdated Show resolved Hide resolved
src/util/locale.js Outdated Show resolved Hide resolved
src/util/locale.js Outdated Show resolved Hide resolved
@marpesia
Copy link

marpesia commented Jun 2, 2021

Please change the PR rebase to develop instead master :)

Copy link
Contributor

@btamas btamas left a comment

Choose a reason for hiding this comment

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

Just a small alignment. Everything else was mentioned by JS.

src/util/locale.js Outdated Show resolved Hide resolved
@lecosson lecosson requested review from btamas and jsconan June 3, 2021 13:48
@lecosson lecosson changed the base branch from master to develop June 3, 2021 13:48
Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

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

Well done!

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

Copy link
Contributor

@meefox meefox left a comment

Choose a reason for hiding this comment

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

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic
  • Changelog is updated according to changes (if applicable)
  • Documentation is updated according to changes (if applicable)

lecosson added 2 commits June 4, 2021 11:13
# Conflicts:
#	src/util/locale.js
#	test/util/locale/test.js
@lecosson lecosson merged commit a818ad4 into develop Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants