Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-31745

www.lsst.io: Add UI for filtering by document creation date

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: www_lsst_io
    • Labels:
      None

      Description

      We want to be able to filter documents by their creation dates (and update dates). We can use https://www.npmjs.com/package/react-date-picker to create a UI that allows a user to specify start/end dates.

        Attachments

          Issue Links

            Activity

            Hide
            jsick Jonathan Sick added a comment -

            This PR enables a user filter by both update and creation timestamps that are now captured by ook since DM-31674. These new refinements are based on the react-datetime-picker. The date-based filters are implemented with an opt-in button (through RefinementOptIn) because if the date attribute is not present in the record the resource would be immediately excluded from any result, even if the user didn't explicitly initiate a date-based filter. The RefinementOptIn component essentially mounts the refinement component in the virtual DOM only when the user selects it.

            Show
            jsick Jonathan Sick added a comment - This PR enables a user filter by both update and creation timestamps that are now captured by ook since DM-31674 . These new refinements are based on the react-datetime-picker . The date-based filters are implemented with an opt-in button (through RefinementOptIn) because if the date attribute is not present in the record the resource would be immediately excluded from any result, even if the user didn't explicitly initiate a date-based filter. The RefinementOptIn component essentially mounts the refinement component in the virtual DOM only when the user selects it.

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.