-
Notifications
You must be signed in to change notification settings - Fork 17
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
Render world locations #3337
Commits on Aug 7, 2023
-
Add locales for world locations
This adds the necessary locales to render the `/world` page.
Configuration menu - View commit details
-
Copy full SHA for 264ed86 - Browse repository at this point
Copy the full SHA 264ed86View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 131f7f6 - Browse repository at this point
Copy the full SHA 131f7f6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for df4cfe6 - Browse repository at this point
Copy the full SHA df4cfe6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 7923d72 - Browse repository at this point
Copy the full SHA 7923d72View commit details -
Render a basic world index page
Render a basic page for `/world` including the title and additional links.
Configuration menu - View commit details
-
Copy full SHA for c7d5f57 - Browse repository at this point
Copy the full SHA c7d5f57View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e1c6832 - Browse repository at this point
Copy the full SHA e1c6832View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6065f6e - Browse repository at this point
Copy the full SHA 6065f6eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for fd4815c - Browse repository at this point
Copy the full SHA fd4815cView commit details