punchcard-cms / punchcard

The Punchcard CMS
Apache License 2.0
31 stars 19 forks source link

Content Creator: Sortable tabular data #270

Open ineedsubstance opened 7 years ago

ineedsubstance commented 7 years ago

As a Content Creator, I want to be able to sort lists of content in a variety of ways so that I can find the content I need quickly.

Feature: Sortable tabular data
  As a Content Creator,
  I want to be able to sort lists of content in a variety of ways
  So that I can find the content I need quickly.

  Scenario: Sort text (alphabetical) 
    Given I will need to find specific content
      And that said content is displayed as a list
      And that at least one of the columns content is text based
     When I view a list of content
     Then I will be able to sort the content by text (alphabetically)
       And toggle between A to Z and Z to A

  Scenario: Sort by date/time 
    Given I will need to find specific content
      And that said content is displayed as a list
      And that at least one of the columns content consists of the date and time
     When I view a list of content
     Then I will be able to sort the content by date/time
       And toggle between Newest to Oldest and Oldest to Newest

  Scenario: Sort by integers
    Given I will need to find specific content
      And that said content is displayed as a list
      And that at least one of the columns content is integers based
     When I view a list of content
     Then I will be able to sort the content by integers
       And toggle between Smallest to Largest and Largest to Smallest

  Scenario: Alphabetical by content name as default
    Given I will need to find specific content
      And that said content is displayed as a list
      And that a content name columns exists
     When I view a list of content
     Then by default, the content order will be alphabetically (A to Z) by content name

Sortable tabular data:


screen shot 2016-08-15 at 1 43 00 pm

http://watson-cms.stage1.mybluemix.net/content/api

ineedsubstance commented 7 years ago

🎱 @joshkimmell @poofichu @mkiang3051 @scottnath - Ready for review.

joshkimmell commented 7 years ago

🎱 🎱

mkiang3051 commented 7 years ago

@ineedsubstance When you say sort by integers - is that referring to integer numbers? I'm not exactly sure what integers here is referring to.

ineedsubstance commented 7 years ago

@mkiang3051 - Yes, integers = numbers.

joshkimmell commented 7 years ago

@scottnath needs to comment before moving to backlog.

scottnath commented 7 years ago

Understandable! Moving to backlog

ineedsubstance commented 7 years ago

Blocker to #303