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(datetime-picker): replace input with datetimeField #408

Draft
wants to merge 9 commits into
base: v7
Choose a base branch
from

Conversation

Sarin-Udompanish
Copy link
Collaborator

@Sarin-Udompanish Sarin-Udompanish commented Jul 21, 2022

Description

Integrate datetime-field with datetime-picker

Tasks

  • Code
  • Theme
  • Accessibility
  • Testing
  • Documentation

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 21, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 87c9f7c
Status: ✅  Deploy successful!
Preview URL: https://0d7ac811.refinitiv-ui.pages.dev
Branch Preview URL: https://feature-integrate-datetime-p.refinitiv-ui.pages.dev

View logs

* feat(datetime-field): make locale function public
* feat(datetime-picker): refactor element
* refactor(datetime-field): make resolveLocale function reusable
* feat(phrasebook): add datetime-picker strings
* feat(utils): add format checks to Locale object
@goremikins goremikins changed the title feat: replace input with datetimeField feat(datetime-picker): replace input with datetimeField Aug 19, 2022
…ime-picker-with-datetime-field

# Conflicts:
#	package-lock.json
#	packages/elements/src/datetime-picker/__test__/datetime-picker.value.test.js
#	packages/elements/src/datetime-picker/index.ts
@@ -48,7 +65,7 @@
}

&[range] {
ef-text-field {
ef-datetime-field {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be better if we style this with part selector ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, it should follow other elements and use part selector.

@Sarin-Udompanish Sarin-Udompanish marked this pull request as ready for review September 14, 2022 09:52
@sonarcloud
Copy link

sonarcloud bot commented Sep 14, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

0.0% 0.0% Coverage
7.3% 7.3% Duplication

@TremayneChrist TremayneChrist temporarily deployed to development January 18, 2023 14:16 — with GitHub Actions Inactive
@wattachai-lseg
Copy link
Collaborator

wattachai-lseg commented May 24, 2023

Due to the following concerns, this change would be revisit in the next major release instead.

  • UX need some improvements
  • There some remaining screen reader issues
  • unclear direction on localization support e.g. date format
  • Pontential breaking changes

@wattachai-lseg wattachai-lseg marked this pull request as draft May 25, 2023 10:08
@Nantawat-Poothong
Copy link
Contributor

Happy Anniversary!

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.

7 participants