Feature #21312
Foreman should provide react components for formatting dates
Description
Foreman should provide react components for consistent formatting dates in both absolute and relative format, similar to rails helpers that were added in http://projects.theforeman.org/issues/19047.
The components should be reusable also from plugins outside of the webpack stack (like Katello and its angular code).
Related issues
Associated revisions
Fixes #21312 - infrastructure for using Intl
- allows multiple webpack entries
- infrastructure for dynamic imports
Fixes #21312 - components for formatting dates
Refs #21312 - fix timezone in tests
Refs #21312 - use the component on the audits page
Refs #21312 - fix data flattenning
Refs #21312 - fix audits tests
Refs #21312 - fix registry tests after flattening
Refs #21312 - merging i18n files
Refs #21312 - date props unnested
Refs #21312 - storybook for dates
Refs #21312 - storybook on using components outside of webpack
Refs #21312 - updated snapshots
Refs #21312 - fix lint issues
Refs #21312 - remove loaded flag
Refs #21312 - fix lint issues
Refs #21312 - updated snapshots
Refs #21312 - use new components in the storybook
Refs #21312 - make language regex in webpack config DRY
Refs #21312 - docs on entry points
Refs #21312 - use existing cli parameters in webpack config
Refs #21312 - exclude *_core gemfiles
Refs #21312 - missing slashes in chunk names for plugins
Refs #21312 - updates in stories around dates
- it uses Asia/Jerusalem timezone
- fix initial date to make it compatible with Firefox
Refs #21312 - Use request hostname for webpack dynamic imports
History
#1
Updated by Tomáš Strachota over 5 years ago
- Related to Bug #21045: Ensure dates are printed consistently with core added
#2
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4909 added
#3
Updated by Tomáš Strachota over 5 years ago
- Description updated (diff)
#4
Updated by Tomáš Strachota over 5 years ago
- Related to deleted (Bug #21045: Ensure dates are printed consistently with core)
#5
Updated by Tomáš Strachota over 5 years ago
- Related to Feature #19047: Unify the way how we display dates added
#6
Updated by Tomáš Strachota over 5 years ago
- Blocks Bug #21045: Ensure dates are printed consistently with core added
#7
Updated by Marek Hulán over 5 years ago
- Related to Feature #21497: As discussed on PR that introduced date helpers, we should make date format configurable on few places added
#8
Updated by Walden Raines over 5 years ago
- Target version changed from 224 to 228
#9
Updated by Walden Raines over 5 years ago
- Target version changed from 228 to 234
#10
Updated by Walden Raines over 5 years ago
- Target version changed from 234 to 237
#11
Updated by Anonymous over 5 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset f2121ffcd31a2ba51895a04ce780a24f03295184.
#12
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/5078 added
#13
Updated by Marek Hulán over 5 years ago
- Status changed from Closed to New
- Pull request https://github.com/theforeman/foreman/pull/5094 added
reopening, the commit was reverted due to intl strings for legacy browsers
#14
Updated by Walden Raines over 5 years ago
- Target version changed from 237 to 239
#15
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5184 added
#16
Updated by Walden Raines over 5 years ago
- Target version changed from 239 to 243
#17
Updated by Walden Raines over 5 years ago
- Target version changed from 243 to 248
#18
Updated by Walden Raines over 5 years ago
- Target version changed from 248 to 250
#19
Updated by Walden Raines about 5 years ago
- Target version changed from 250 to 253
#20
Updated by Walden Raines almost 5 years ago
- Target version deleted (
253)
#21
Updated by Ohad Levy over 4 years ago
- Target version set to 1.21.0
- Fixed in Releases 1.21.0 added
#22
Updated by Tomáš Strachota over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset bc486dd62734be908cd3f95da1352cc1944eb34b.
#23
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/6367 added
#24
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/6368 added
#25
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/6378 added
#26
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/6392 added
#27
Updated by Tomer Brisker over 4 years ago
- Related to Bug #25812: Multiple react-intl JS errors on dashboard added
#28
Updated by Tomer Brisker over 4 years ago
- Related to Bug #25826: Dashboard generated at Invalid Date added
#29
Updated by Lukas Zapletal over 4 years ago
- Related to Bug #25982: Smart Proxy | Time column in logs view is empty added
#30
Updated by Tomer Brisker about 4 years ago
- Related to Bug #26441: Default value for date column not set to React component added
#31
Updated by Tomer Brisker about 4 years ago
- Related to Bug #26113: Smart proxy log times not displayed. added
Fixes #21312 - components for formatting dates