Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75289

Improve navigation in database activity

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-75289-master
    • Hide

      Setup

      1. Login as admin.
      2. Go to Site administration > Advanced features and Enable portfolios.
      3. Go to Site administration > Plugins > Portfolios > Manage portfolios and select "Enabled and visible" for the "File download" portfolio.
      4. Create a course and enrol student1 as student.
      5. Go to the course.
      6. Create a database activity "PRESET - Image gallery with data". 
      7. Go to "Presets", select "Image gallery" and click the "Use this preset" button.
      8. Add some entries to the database (at least 2).  
      9. Create a database activity "PRESET - Image gallery without data". 
      10. Go to "Presets", select "Image gallery" and click the "Use this preset" button.

      Testing scenario 1. Secondary navigation

      1. Login as admin and access the "PRESET - Image gallery with data" database activity.
      2. Check the secondary navigation displays Presets before Fields and Templates.

      Testing scenario 2. Database page

      1. Login as admin and access the "PRESET - Image gallery with data" database activity.
      2. Check the List view and the Actions menu is displayed in the tertiary navigation.
      3. Click the "Advanced search" checkbox.
      4. Check there is only one "Save settings" button with primary style (blue background).

      Testing scenario 3. Presets page

      1. Login as admin and access the "PRESET - Image gallery with data" database activity.
      2. Go to the "Presets" page.
      3. Check the Actions menu is displayed in the tertiary navigation.
      4. Check there is no "Actions" column in the table (near the Description).
      5. Click "Image gallery", to preview this preset.
      6. Check the List/single template action menu is aligned to the right.
      7. Check the preset description is not displayed.
      8. Check "Use this preset" is displayed as the primary button.

      Testing scenario 4. Fields page

      1. Login as admin and access the "PRESET - Image gallery with data" database activity.
      2. Go to the "Fields" page.
      3. Check the Create a new field is displayed in the tertiary navigation, aligned to the right.
      4. Check the Save as preset and Export preset buttons are not displayed anymore.
      5. Check there is no "Manage fields" actions menu. Besides, the "Manage fields" should be displayed as a heading in the tertiary navigation.
      6. Check a text is displayed above the fields table (something similar to "Create fields to collect different types of data for your entries or customise the existing ones if you used a preset.").
      7. Check there is no "Actions" column in the table (near the Field description).
      8. Check the actions for each field (Edit and Delete) are displayed in a kebab menu.

      Testing scenario 5. Templates page

      1. Login as admin and access the "PRESET - Image gallery with data" database activity.
      2. Go to the "Templates" page.
      3. Check the "Add entry template" menu in the tertiary navigation is selected by default. Confirm this selector has the following elements (in the same order):
        1. Add entry template
        2. Single view template
        3. List view template
        4. Advanced search template
        5. CSS template
        6. Javascript template
        7. RSS template
      4. Check the Actions menu is displayed in the tertiary navigation, aligned to the right.
      Show
      Setup Login as admin. Go to Site administration > Advanced features and Enable portfolios. Go to Site administration > Plugins > Portfolios > Manage portfolios and select "Enabled and visible" for the "File download" portfolio. Create a course and enrol student1 as student. Go to the course. Create a database activity "PRESET - Image gallery with data".  Go to "Presets", select "Image gallery" and click the "Use this preset" button. Add some entries to the database (at least 2).   Create a database activity "PRESET - Image gallery without data".  Go to "Presets", select "Image gallery" and click the "Use this preset" button. Testing scenario 1. Secondary navigation Login as admin and access the "PRESET - Image gallery with data" database activity. Check the secondary navigation displays Presets before Fields and Templates. Testing scenario 2. Database page Login as admin and access the "PRESET - Image gallery with data" database activity. Check the List view and the Actions menu is displayed in the tertiary navigation. Click the "Advanced search" checkbox. Check there is only one "Save settings" button with primary style (blue background). Testing scenario 3. Presets page Login as admin and access the "PRESET - Image gallery with data" database activity. Go to the "Presets" page. Check the Actions menu is displayed in the tertiary navigation. Check there is no "Actions" column in the table (near the Description). Click "Image gallery", to preview this preset. Check the List/single template action menu is aligned to the right. Check the preset description is not displayed. Check "Use this preset" is displayed as the primary button. Testing scenario 4. Fields page Login as admin and access the "PRESET - Image gallery with data" database activity. Go to the "Fields" page. Check the Create a new field is displayed in the tertiary navigation, aligned to the right. Check the Save as preset and Export preset buttons are not displayed anymore. Check there is no "Manage fields" actions menu. Besides, the "Manage fields" should be displayed as a heading in the tertiary navigation. Check a text is displayed above the fields table (something similar to "Create fields to collect different types of data for your entries or customise the existing ones if you used a preset."). Check there is no "Actions" column in the table (near the Field description). Check the actions for each field (Edit and Delete) are displayed in a kebab menu. Testing scenario 5. Templates page Login as admin and access the "PRESET - Image gallery with data" database activity. Go to the "Templates" page. Check the "Add entry template" menu in the tertiary navigation is selected by default. Confirm this selector has the following elements (in the same order): Add entry template Single view template List view template Advanced search template CSS template Javascript template RSS template Check the Actions menu is displayed in the tertiary navigation, aligned to the right.
    • 1
    • HQ Sprint 0.4 Database

      Following the prototype, improve the navigation. For instance, these are some of the changes to consider:

      • Reorder the tabs for the secondary navigation, to display Presets before Fields and Templates.
      • On the Database page:
        • Move the Import entries, Export entries and Export to portfolio to the Actions menu in the tertiary navigation dropdown.
        • Remove the List/Single view heading.
        • When the advanced search is enabled, remove the Save settings button near the Advanced search checkbox.
        • "No records found" and "Found records" shouldn't be displayed as notifications.
      • On the Presets page:
        • Add Import, Export and Save as preset to a tertiary navigation dropdown (and rename Saves as preset to Publish preset on this site).
        • Remove the Action column heading.
      • On the Presets preview page:
        • Add the preset name to the tertiary navigation heading (Preview of xxxx), and remove the current preset name from the page.
        • Align the List/single template menu to the right.
        • Remove the preset description.
        • Make primary the "Use this preset" button.
      • On the Fields page:
        • Remove the "Use a preset" option.
        • Remove Export and Save as preset to a tertiary navigation dropdown.
        • Remove import (done in MDL-75188)
        • Align Create a field to the right.
        • Add a description at the top of the page.
        • Remove the Action column heading.
        • Move action icons to ellipsis.
      • On the Templates page:
        • Move Export and Save as preset to a tertiary navigation dropdown (and rename Saves as preset to Publish preset on this site).
        • Move the templates list to a tertiary_navigation_selector and remove the template heading (to not duplicate information).
        • Reorder the templates list to follow the prototype:
          1. Add entry template
          2. Single view template
          3. List view template
          4. Advanced search template
          5. CSS template
          6. Javascript template
          7. RSS template
        • Rename "Enable editor" to "Enable code editor"
        • Move "Enable code editor" to the tertiary navigation (it will be done in MDL-75921).

        1. scenario_5_1_MDL-75289.png
          scenario_5_1_MDL-75289.png
          93 kB
        2. scenario_4_1_MDL-75289.png
          scenario_4_1_MDL-75289.png
          85 kB
        3. scenario_3_2_MDL-75289.png
          scenario_3_2_MDL-75289.png
          77 kB
        4. scenario_3_1_MDL-75289.png
          scenario_3_1_MDL-75289.png
          98 kB
        5. scenario_2_MDL-75289.png
          scenario_2_MDL-75289.png
          82 kB
        6. scenario_1_MDL-75289.png
          scenario_1_MDL-75289.png
          88 kB
        7. re-test_scenario_5_MDL-75289.png
          re-test_scenario_5_MDL-75289.png
          101 kB
        8. re-test_scenario_4_MDL-75289.png
          re-test_scenario_4_MDL-75289.png
          88 kB
        9. re-test_scenario_3_2_MDL-75289.png
          re-test_scenario_3_2_MDL-75289.png
          76 kB
        10. re-test_scenario_3_1_MDL-75289.png
          re-test_scenario_3_1_MDL-75289.png
          97 kB
        11. re-test_scenario_2_MDL-75289.png
          re-test_scenario_2_MDL-75289.png
          86 kB
        12. re-test_scenario_1_MDL-75289.png
          re-test_scenario_1_MDL-75289.png
          110 kB
        13. master_withoutthepatch.png
          master_withoutthepatch.png
          43 kB

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Laurent David Laurent David
            Ferran Recio Ferran Recio
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 3 hours, 7 minutes
                3d 3h 7m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.