Skip to content

Conversation

jamesbiggs
Copy link
Collaborator

Ticket URL: https://national-archives.atlassian.net/browse/UN-574

About these changes

Removed all code relating to CollectionHighlights and ResultsPage

How to check these changes

Where possible, provide guidance to help your reviewer

Before assigning to reviewer, please make sure you have

  • Checked things thoroughly before handing over to reviewer.
  • Checked PR title starts with ticket number as per project conventions to help us keep track of changes.
  • Ensured that PR includes only commits relevant to the ticket.
  • Waited for all CI jobs to pass before requesting a review.
  • Added/updated tests and documentation where relevant.

Merging PR guidance

Follow docs\developer-guide\contributing.md

Deployment guidance

Follow docs\infra\environments.md

@jamesbiggs jamesbiggs requested a review from ababic April 27, 2023 15:32
@jamesbiggs jamesbiggs marked this pull request as ready for review April 27, 2023 16:32
@codecov
Copy link

codecov bot commented Apr 27, 2023

Codecov Report

Merging #846 (cf8d827) into develop (316040e) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #846      +/-   ##
===========================================
+ Coverage    81.24%   81.29%   +0.05%     
===========================================
  Files          108      108              
  Lines         3833     3786      -47     
===========================================
- Hits          3114     3078      -36     
+ Misses         719      708      -11     
Impacted Files Coverage Δ
etna/collections/blocks.py 100.00% <ø> (ø)
etna/collections/models.py 84.88% <ø> (-1.26%) ⬇️
etna/search/views.py 96.86% <ø> (+2.88%) ⬆️
etna/ciim/constants.py 98.00% <100.00%> (+0.04%) ⬆️
etna/search/forms.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ababic
Copy link
Contributor

ababic commented Apr 28, 2023

Couple of small things @jamesbiggs:

  1. Remove the collections/results_page.html template too
  2. Are there any styles created for that page/template that can be removed too?

@jamesbiggs
Copy link
Collaborator Author

Hey @ababic, I've made the changes you requested :)

Copy link
Contributor

@ababic ababic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sure does feel nice to shed this code! Thanks @jamesbiggs!

@jamesbiggs jamesbiggs merged commit e1b8d3b into develop Apr 28, 2023
janehughes pushed a commit that referenced this pull request May 2, 2023
* develop:
  UN-560: View the record CTA sr-only repeats the name of the full record which is very verbose (#832)
  UN-572: Remove `heading` from `QuoteBlock` (#842)
  Un 506 content warning (#843)
  UN-555: Featured Article "New" label is marked with a `role="link"` attribute (#831)
  DF-630: Add `skos_id` fields for entities that map to official categories (#822)
  UN-574: Remove unused `CollectionHighlights` and `ResultsPage` (#846)
  [UN-536] Multiple duplicate IDs for article descriptions (#839)
  un-564 Update to centre view to open button on closure of image gallery (#838)
  [UN-561] Increase icon contrast (#845)
  [UN-546] Remove unused aria-labelledby attribute (#840)
  [UN-534] [UN-548] Add boundary borders to featured content areas for high contrast mode (#836)
  UN-563: Close button does not provide sufficient context (#819)
  UN-583: Highlight Gallery + Record Article pages visible in Topic + Time Period pages (#841)
  DF-643:Archive details resolve links (#837)
  [DF-376] Tracking when a user sorts results or changes result view (#779)
  DF-611: location filter for archive (#826)
  [UN-540] Jumplink focus state (#830)
  [UN-541] Add scrolling for sidebar nav (#829)
  UN-576: Run `poetry update` (#834)
  [DF-587] Remove extra (unneeded?) <form> element (#828)

# Conflicts:
#	templates/includes/icons/sprites.html
#	templates/includes/image_gallery.html
janehughes pushed a commit that referenced this pull request May 11, 2023
* develop: (33 commits)
  CHORE: Update Poetry install options for platform.sh (#878)
  CHORE: Upgrade poetry to 1.4.2 (#877)
  UN-589: Wagtail 5.0 upgrade (#860)
  DF-644: Add `uuid` field to all page types (#844)
  UN-470: Fix FeaturedRecordArticleBlock TemplateSyntaxError (#866)
  [UN-538] Update semantics for record details component (#864)
  CHORE: Changed content warning colour to `color__grey-2` (#859)
  UN-556: Featured Story CTA label is not descriptive enough (#856)
  UN-551: "Read more" and "Read less" button label not descriptive (#857)
  UN-558: Breadcrumb separator is announced as "greater than" (#855)
  [UN-562] Add aria-expanded attribute to gallery button (#847)
  [UN-549] Record Revealed - Missing icon (#833)
  [UN-547] Record revealed - only interactive elements should be focusable (#835)
  UN-560: View the record CTA sr-only repeats the name of the full record which is very verbose (#832)
  UN-572: Remove `heading` from `QuoteBlock` (#842)
  Un 506 content warning (#843)
  UN-555: Featured Article "New" label is marked with a `role="link"` attribute (#831)
  DF-630: Add `skos_id` fields for entities that map to official categories (#822)
  UN-574: Remove unused `CollectionHighlights` and `ResultsPage` (#846)
  [UN-536] Multiple duplicate IDs for article descriptions (#839)
  ...

# Conflicts:
#	scripts/src/modules/analytics/search/search_sort_filters_tracking.js
@jamesbiggs jamesbiggs deleted the feature/UN-574-remove-unused-collection-highlights branch June 19, 2023 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants