Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render world locations #3337

Merged
merged 8 commits into from
Aug 7, 2023
Merged

Render world locations #3337

merged 8 commits into from
Aug 7, 2023

Commits on Aug 7, 2023

  1. Add locales for world locations

    This adds the necessary locales to render the `/world` page.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    264ed86 View commit details
    Browse the repository at this point in the history
  2. Add world location index to the README

    The README contains a list of live examples. Now that the world index page is
    soon to be rendered by Collections, we can add it in.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    131f7f6 View commit details
    Browse the repository at this point in the history
  3. Rename organisation list filter module

    We are going to make this module more generic, this renames it so that we can
    see the changes more easily when it's modified.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    df4cfe6 View commit details
    Browse the repository at this point in the history
  4. Make organisation list filtering JavaScript more generic

    Before this JavaScript was moved from Whitehall to Collections, it was shared
    between the `/world` page and the `/government/organisations` page. However,
    since being moved it has been made specific to the `/government/organisations`
    page.
    
    Now that we are also moving the `/world` page to Collections, we want to make
    this module more generic so that it can be shared again.
    
    This also removes `data-filter-list` as it is unused.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    7923d72 View commit details
    Browse the repository at this point in the history
  5. Render a basic world index page

    Render a basic page for `/world` including the title and additional links.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c7d5f57 View commit details
    Browse the repository at this point in the history
  6. Render world locations on the world index page

    The world index page displays a list of world locations sorted by letter. These
    are already sorted alphabetically in the content item, so we only need to group
    them.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    e1c6832 View commit details
    Browse the repository at this point in the history
  7. Render international delegations on the world index page

    The world index page displays a list of international delegations. These
    are already sorted alphabetically in the content item.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    6065f6e View commit details
    Browse the repository at this point in the history
  8. Add JavaScript filter to world index

    The world index page contains a JavaScript based search. We want to use the
    `list-filter` module for this.
    
    As the world locations on the page are grouped into letters, we need to add the
    concept of an `inner-block` that can be hidden when no results are present.
    jkempster34 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    fd4815c View commit details
    Browse the repository at this point in the history