mi6 / mi6/ic-ui-kit

Time picker - select current time

Open
#4,005 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component: date time components Time input
Dominant language
TypeScript
Stars
53
Forks
63
Avg merge
2d 4h
Merged PRs (30d)
15

Description

Summary

Time picker needs to provide the ability to quickly reset the selected value back to the default.

💬 Description

A full description of what the component or pattern should be and how it should work.

💰 User value

Describe why this is important and how it will help users (either developers, designers or the end-users). Think about how it makes people's lives easier, more accessible or quicker to build stuff.

📚 User Stories

If relevant, describe the high-level functionality as user stories.

As an ICDS user:
I need to set the time picker to the default so that I can revert to a default state if the current value is incorrect.

📝 Acceptance Criteria

If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.

Given
When
Then

✏ Designs

If there's a Figma design file (or other mock-up), include it here.

## 🧾 Guidance
If there's written guidance or documentation, include a link to it here.

Additional info

An optional default value may be defined against the time picker when opened with no value previously selected. The time picker will automatically be set to the default time. The user can change the values in the picker but need a way of quickly reverting back to the default value. The default value of the time picker is likely to be the current time (in hh:mm).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names only the time picker and provides no file, test, design, or detailed acceptance criteria. Start by locating the time picker component and its existing default-value behavior, then clarify whether the reset action should use the configured default or the current time and how users trigger it. Done should include the agreed interaction and coverage for changing and resetting the selected value.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.