Project

General

Profile

Feature #21312

Foreman should provide react components for formatting dates

Added by Tomáš Strachota over 5 years ago. Updated over 4 years ago.


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

Related to Foreman - Feature #19047: Unify the way how we display datesClosed2017-03-28
Related to Foreman - Feature #21497: As discussed on PR that introduced date helpers, we should make date format configurable on few placesNew2017-10-27
Related to Foreman - Bug #25812: Multiple react-intl JS errors on dashboardRejected
Related to Foreman - Bug #25826: Dashboard generated at Invalid DateClosed
Related to Foreman - Bug #25982: Smart Proxy | Time column in logs view is emptyDuplicate
Related to Foreman - Bug #26441: Default value for date column not set to React componentClosed
Related to Foreman - Bug #26113: Smart proxy log times not displayed.Closed
Blocks Katello - Bug #21045: Ensure dates are printed consistently with coreClosed

Associated revisions

Revision f2121ffc (diff)
Added by Tomáš Strachota over 5 years ago

Fixes #21312 - components for formatting dates

Revision bc486dd6 (diff)
Added by Tomáš Strachota over 4 years ago

Fixes #21312 - infrastructure for using Intl

- allows multiple webpack entries
- infrastructure for dynamic imports

Revision f93129e6 (diff)
Added by Tomáš Strachota over 4 years ago

Fixes #21312 - components for formatting dates

Revision 128474d5 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - fix timezone in tests

Revision 47390317 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - use the component on the audits page

Revision 1b5ee3de (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - fix data flattenning

Revision c488705c (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - fix audits tests

Revision 9667036b (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - fix registry tests after flattening

Revision 19f4e70a (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - merging i18n files

Revision 2cd6ab87 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - date props unnested

Revision 7095283b (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - storybook for dates

Revision f57204ee (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - storybook on using components outside of webpack

Revision 28cabcbf (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - updated snapshots

Revision f2a7c4eb (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - fix lint issues

Revision 74610f50 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - remove loaded flag

Revision 6f7f37df (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - fix lint issues

Revision ecd99989 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - updated snapshots

Revision 9bc9177e (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - use new components in the storybook

Revision 6b36fa72 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - make language regex in webpack config DRY

Revision 221d5717 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - docs on entry points

Revision 5f911c19 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - use existing cli parameters in webpack config

Revision 02e1b5d6 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - exclude *_core gemfiles

Revision d17333e2 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - missing slashes in chunk names for plugins

Revision 96cf8404 (diff)
Added by Tomáš Strachota over 4 years ago

Refs #21312 - updates in stories around dates

- it uses Asia/Jerusalem timezone
- fix initial date to make it compatible with Firefox

Revision 3b829980 (diff)
Added by Tomer Brisker over 4 years ago

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

#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

#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

#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

Also available in: Atom PDF