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

fix: show all listings button labels #1568

Merged
merged 3 commits into from
Mar 10, 2023

Conversation

KrissDrawing
Copy link
Collaborator

Pull Request Template

Issue Overview

This PR addresses #1543

  • This change addresses the issue in full
  • This change addresses only certain aspects of the issue
  • This change is a dependency for another issue
  • This change has a dependency from another issue

Description

Changed label of reset button to 'reset'. Added aria-label to filter button.
Removed obsolete translations from used keys.

How Can This Be Tested/Reviewed?

go to listings page, turn on screen reader. Check filter button without filters + after picking some filters, and reset button.

Checklist:

  • My code follows the style guidelines of this project
  • I have added QA notes to the issue with applicable URLs
  • I have performed a self-review of my own code
  • I have reviewed the changes in a desktop view
  • I have reviewed the changes in a mobile view
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have assigned reviewers
  • I have run yarn generate:client and/or created a migration if I made backend changes that require them
  • I have exported any new pieces added to ui-components
  • My commit message(s) is/are polished, and any breaking changes are indicated in the message and are well-described
  • Commits made across packages purposefully have the same commit message/version change, else are separated into different commits

Reviewer Notes:

Steps to review a PR:

  • Read and understand the issue, and ensure the author has added QA notes
  • Review the code itself from a style point of view
  • Pull the changes down locally and test that the acceptance criteria is met
  • Also review the acceptance criteria on the Netlify deploy preview (noting that these do not yet include any backend changes made in the PR)
  • Either explicitly ask a clarifying question, request changes, or approve the PR if there are small remaining changes but the PR is otherwise good to go

On Merge:

If you have one commit and message, squash. If you need each message to be applied, rebase and merge.

@netlify
Copy link

netlify bot commented Mar 6, 2023

Deploy Preview for detroit-partners-dev ready!

Name Link
🔨 Latest commit 6aec2fc
🔍 Latest deploy log https://app.netlify.com/sites/detroit-partners-dev/deploys/640b60e3a6994e00088a41c8
😎 Deploy Preview https://deploy-preview-1568--detroit-partners-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 6, 2023

Deploy Preview for detroit-storybook-dev ready!

Name Link
🔨 Latest commit 6aec2fc
🔍 Latest deploy log https://app.netlify.com/sites/detroit-storybook-dev/deploys/640b60e301d3f60008261e1b
😎 Deploy Preview https://deploy-preview-1568--detroit-storybook-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented Mar 6, 2023

Deploy Preview for detroit-public-dev ready!

Name Link
🔨 Latest commit 6aec2fc
🔍 Latest deploy log https://app.netlify.com/sites/detroit-public-dev/deploys/640b60e33885060008e63f82
😎 Deploy Preview https://deploy-preview-1568--detroit-public-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Collaborator

@emilyjablonski emilyjablonski left a comment

Choose a reason for hiding this comment

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

LGTM apart from the two missing Spanish translations for Reset and Filter which might be known / not available?

Copy link
Collaborator

@ColinBuyck ColinBuyck left a comment

Choose a reason for hiding this comment

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

This is working well! Just one question. I'm noticing that the issue references the language of "restart" rather than "reset". I personally prefer your wording but still wanted to call that out in case that is a strict request. Any thoughts here @sarahlazarich or @eajensenwa?

@sarahlazarich
Copy link
Collaborator

@ColinBuyck I don't think that's a strict requirement, we should we ok! Thanks for checking in.

Copy link
Collaborator

@ColinBuyck ColinBuyck left a comment

Choose a reason for hiding this comment

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

LGTM once Emily's translation question is addressed 🏟️

@sarahlazarich
Copy link
Collaborator

I'm sorry I missed that question! I google translated for those, and the responses are here.

Reset:

  • Spanish: Reinicializar
  • Arabic: إعادة ضبط
  • Bengali: রিসেট

Filter:

  • Spanish: filtrar
  • Arabic: صفى
  • Bengali: ফিল্টার

@ludtkemorgan ludtkemorgan merged commit 6b63049 into dev Mar 10, 2023
@ludtkemorgan ludtkemorgan deleted the 1543/Show-all-listings-button-labels branch March 10, 2023 17:37
ludtkemorgan pushed a commit that referenced this pull request Mar 10, 2023
* feat: add meaningful labels to filter buttons

* feat: change reset button label

* fix: add missing filter translations for spanish
ludtkemorgan added a commit that referenced this pull request Mar 15, 2023
* fix: reset focus for NVDA (#1556)

* fix: first attempt to reset focus for nvda

* fix: attemmpt with asPath approach

* fix: reset focus in application file

* fix: missing tabIndex value

* fix: hidden new page approach

* fix: new page with state

* fix: functional navigation announcement

* fix: cleaned up css approach

* fix: remove unused css

* fix: remove space typo

* fix: nvda testing without alert

* fix: re-instate alert

* fix: simpler solution for cross browser support

* fix: remove alert since focused

* fix: announcement clean up

* fix: variable naming

* fix: announcement updates pr LH feedback

* fix: heading level typo

* fix: clean up string handling

* fix: clean up rebase

* feat: change labels for no min/max rent (#1569)

* fix: release ux issues (#1571)

* refactor: uptake uic siteheader (#1565)

* fix: show all listings button labels (#1568)

* feat: add meaningful labels to filter buttons

* feat: change reset button label

* fix: add missing filter translations for spanish

* fix: cherry-picked forgot-password from core (#1566)

* fix: cherry-picked commit from core

* fix: update testing approach to mirror core

* fix: undo core test mirroring

* fix: resolve testing error

* fix: revert unrelated changes

* fix: space cleanup

* fix: space cleanup pt 2

* fix: translations added

* fix: custom focus management (#1572)

* fix: custom focus management

* fix: clean up + commenting

* fix: remove auto fix from linter

* fix: add missing screen reader only  labels to fields (#1573)

* fix: update to community type draggability (#1578)

* fix: description grid misalignment (#1581)

* fix: description grid misalignment

* fix: description misalignment

---------

Co-authored-by: ColinBuyck <53269332+ColinBuyck@users.noreply.github.com>
Co-authored-by: Krzysztof Zięcina <kriss.kontakt@gmail.com>
Co-authored-by: Emily Jablonski <65367387+emilyjablonski@users.noreply.github.com>
Co-authored-by: Yazeed Loonat <YazeedLoonat@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants