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

1233: Implement lists as actual list #2521

Merged
merged 38 commits into from
Dec 6, 2023

Conversation

lunars97
Copy link
Contributor

@lunars97 lunars97 commented Oct 12, 2023

Short description

Implement lists as actual list for accessibility according to Prüfbericht
zur Barrierefreiheit

Proposed changes

  • Searchresults
  • “Integreat deiner Region vor!”

Resolved issues

Fixes: #2167


@lunars97 lunars97 added this to the Accessibility milestone Oct 12, 2023
@lunars97 lunars97 marked this pull request as draft October 12, 2023 15:19
@lunars97 lunars97 marked this pull request as ready for review October 23, 2023 08:31
Copy link
Member

@steffenkleinle steffenkleinle left a comment

Choose a reason for hiding this comment

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

This issue is for both web and native and I think there is quite a few places where we don't use lists. Probably we shouldn't use lists in all these cases, but just examples (all found by searching for .map() functions in the code):

  • native: Categories.jsx -> Footer
  • native: CalendarChoiceModal
  • native: CategoryListItem -> rendering of sub category list items
  • native: Selector
  • native: OpeningHours
  • native: PoiFilters
  • web: CitySelector
  • web: OpeningHours
  • web: PoiFilters
  • web: SearchPage
  • web: Selector

So probably we should split up the issue and do some more research in which cases it makes sense and in which cases it does not make sense.

native/src/components/SearchListItem.tsx Outdated Show resolved Hide resolved
native/src/routes/CityNotCooperating.tsx Outdated Show resolved Hide resolved
@LeandraH
Copy link
Contributor

Let's have a chat about this in Monday's Weekly?

@lunars97 lunars97 force-pushed the 1233-implement-lists-as-actual-lists branch from eb015c2 to 75a9e2d Compare October 30, 2023 13:31
@lunars97 lunars97 force-pushed the 1233-implement-lists-as-actual-lists branch from 75a9e2d to 25a7757 Compare October 30, 2023 13:32
@lunars97 lunars97 force-pushed the 1233-implement-lists-as-actual-lists branch from 50e84c7 to 7e45d3d Compare November 2, 2023 12:09
Copy link
Member

@ztefanie ztefanie left a comment

Choose a reason for hiding this comment

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

Looks good 🎉 Nice work.

Tested on Android, works fine.

If you fix something we mentioned in a comment, you can click "resolve conversation", so it is easy to see, which conversations are open and need e.g. an answer and which one are "done".

Also please squash the commits into one commit.

It is really nice to see, how you never give up and always make your PRs nice and functioning code. Well done 👏

native/src/components/CategoryList.tsx Outdated Show resolved Hide resolved
native/src/components/LayoutedScrollView.tsx Show resolved Hide resolved
native/src/routes/SearchModal.tsx Outdated Show resolved Hide resolved
web/src/routes/CityNotCooperatingPage.tsx Outdated Show resolved Hide resolved
native/src/components/SearchListItem.tsx Outdated Show resolved Hide resolved
translations/translations.json Outdated Show resolved Hide resolved
native/src/components/Categories.tsx Outdated Show resolved Hide resolved
native/src/components/SubCategoryList.tsx Outdated Show resolved Hide resolved
native/src/routes/SearchModal.tsx Outdated Show resolved Hide resolved
translations/translations.json Outdated Show resolved Hide resolved
Copy link
Member

@steffenkleinle steffenkleinle left a comment

Choose a reason for hiding this comment

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

Tested on android, well done!

@lunars97 lunars97 merged commit 65b07ca into main Dec 6, 2023
8 checks passed
@lunars97 lunars97 deleted the 1233-implement-lists-as-actual-lists branch December 6, 2023 19:20
@steffenkleinle steffenkleinle removed this from the Accessibility milestone Jun 10, 2024
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.

IGAPP-1233: Implement Lists as actual list
4 participants