Skip to content

ADH-4394 [UI] Add date range picker and calendar#44

Merged
remizov-arena merged 4 commits intodevelopfrom
feature/ADH-4394
May 24, 2024
Merged

ADH-4394 [UI] Add date range picker and calendar#44
remizov-arena merged 4 commits intodevelopfrom
feature/ADH-4394

Conversation

@rimakan
Copy link
Collaborator

@rimakan rimakan commented May 23, 2024

{ id: 'now-4h', description: 'last 4 hours' },
{ id: 'now-8h', description: 'last 8 hours' },
{ id: 'now-12h', description: 'last 12 hours' },
{ id: 'now-24h', description: 'last 24 hours' },
Copy link
Collaborator

@dbardin90 dbardin90 May 23, 2024

Choose a reason for hiding this comment

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

I think we can take last @remizov-arena changes from adcc
from this mr https://gitlab.adsw.io/arenadata/development/adbcc/-/merge_requests/2928

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think no. I change default presets for ADCC, because it was agreed upon with Voronkov. But presets from this MR uses in ADQM, and it's correct for ADQM bussines issues.
We change this presets in every time in future

const [localDate, setLocalDate] = useState<Date | undefined>(undefined);
const [localRangeFrom, setLocalRangeFrom] = useState(rangeFrom);
const [localRangeTo, setLocalRangeTo] = useState(rangeTo);

Copy link
Collaborator

Choose a reason for hiding this comment

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

Add pls code for swap values when localRangeFom > localRangeTo

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed, thank you

@@ -0,0 +1,14 @@
export const monthsDictionary: Record<number, string> = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is License section in README.md, should read this secation.
Should run maven command for append license info to new files

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed, thank you

@rimakan rimakan self-assigned this May 24, 2024
@remizov-arena remizov-arena merged commit a040300 into develop May 24, 2024
@remizov-arena remizov-arena deleted the feature/ADH-4394 branch May 24, 2024 14:44
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.

3 participants