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

Sorting room list alphabetically case-insensitive. #1851

Merged
merged 3 commits into from
May 8, 2024

Conversation

NicolasBuquet
Copy link
Contributor

@NicolasBuquet NicolasBuquet commented May 7, 2024

When sorting room list alphabetically, sort it case-insensitive.

Simulator Screenshot - iPhone 15 - 2024-05-07 at 11 58 20

Pull Request Checklist

@NicolasBuquet
Copy link
Contributor Author

@pixlwave Can you have a look please. 🙏

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

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

Oh, thanks thats a nice little improvement. It might be better to use localizedStandardCompare here instead though, so the sorting is aligned with other places on the system?

@NicolasBuquet
Copy link
Contributor Author

@pixlwave
You're right. I tested and localizedStandardCompare is case-insensitive, so I did the asked modification.

Thanks 👍

Copy link
Member

@pixlwave pixlwave 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 to me, just one tweak on the changelog and we can merge this.

Copy link
Member

Choose a reason for hiding this comment

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

As mentioned in the guidelines, this file name should either be the issue number, or in this instance as there isn't one, pr-1851.change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

Choose a reason for hiding this comment

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

Nice, thanks very much 🙏

@pixlwave pixlwave merged commit 30d49a6 into matrix-org:develop May 8, 2024
3 checks passed
denasescu added a commit to nedap/matrix-ios-sdk that referenced this pull request Jun 7, 2024
* Prepare for new sprint

* version++

* finish version++

* Prepare for new sprint

* Add own device creation ts in crypto API

* deviceCreationTs should be readonly

* version++

* finish version++

* Prepare for new sprint

* Sorting room list alphabetically case-insensitive. (matrix-org#1851)

* Sort Room list alphabetically but caseInsensitive

Signed-off-by: Nicolas Buquet <[email protected]>

* Sort Room list alphabetically but caseInsensitive

Signed-off-by: Nicolas Buquet <[email protected]>

* Sort Room list alphabetically but caseInsensitive

Signed-off-by: Nicolas Buquet <[email protected]>

---------

Signed-off-by: Nicolas Buquet <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>

* Bump rust crypto sdk version 0.4.1

* update minimum ios platform 13.0

* Update min deployment target to 13.0

* Update osx min platform

* update podfile lock

* Fix test compilation

* Add changelog

* Invalidate crypto store cache when entering foreground

* Bump crypto sdk to 0.4.2

* Fix warnings

* Bump the Crypto version in the podspec as well

* version++

* finish version++

* BER-359: update changelog

---------

Signed-off-by: Nicolas Buquet <[email protected]>
Co-authored-by: Mauro Romito <[email protected]>
Co-authored-by: Stefan Ceriu <[email protected]>
Co-authored-by: Stefan Ceriu <[email protected]>
Co-authored-by: Valere <[email protected]>
Co-authored-by: Valere <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>
denasescu added a commit to nedap/matrix-ios-sdk that referenced this pull request Sep 3, 2024
* Prepare for new sprint

* version++

* finish version++

* Prepare for new sprint

* Add own device creation ts in crypto API

* deviceCreationTs should be readonly

* version++

* finish version++

* Prepare for new sprint

* Sorting room list alphabetically case-insensitive. (matrix-org#1851)

* Sort Room list alphabetically but caseInsensitive

Signed-off-by: Nicolas Buquet <[email protected]>

* Sort Room list alphabetically but caseInsensitive

Signed-off-by: Nicolas Buquet <[email protected]>

* Sort Room list alphabetically but caseInsensitive

Signed-off-by: Nicolas Buquet <[email protected]>

---------

Signed-off-by: Nicolas Buquet <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>

* Bump rust crypto sdk version 0.4.1

* update minimum ios platform 13.0

* Update min deployment target to 13.0

* Update osx min platform

* update podfile lock

* Fix test compilation

* Add changelog

* Invalidate crypto store cache when entering foreground

* Bump crypto sdk to 0.4.2

* Fix warnings

* Bump the Crypto version in the podspec as well

* version++

* finish version++

* Prepare for new sprint

* Fix | Share room keys with dehydrated devices with rust stack

* Add RestClient method for reporting rooms through MSC4151

* version++

* finish version++

* Prepare for new sprint

* Add a new state event type: "m.room.retention"

# Conflicts:
#	MatrixSDK/Contrib/Swift/JSONModels/MXEvent.swift
#	MatrixSDK/JSONModels/MXEvent.h
#	MatrixSDK/JSONModels/MXEvent.m
#	MatrixSDK/Utils/MXTools.m

* added some functions to remove messages

before a certain timestamp

* remove all messages sent

* fixing a compilation error

* version++

* finish version++

* Prepare for new sprint

* Update README. (matrix-org#1863)

* fix store issue

* version++

* finish version++

* Prepare for new sprint

* Fix CallKit audio session late init

Signed-off-by: Nicolas Buquet <[email protected]>

* Expose MXRoomPowerLevels Swift wrappers to Element (matrix-org#1869)

Signed-off-by: Nicolas Buquet <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>

* implemented for the preview url API

* removing return used for testing

* using rest client instead of the home server directly

* added the access token to the media loader request

* implementation based on the server version

* access token fix

and using the stable endpoint prefix

* documentation

* code improvement

* version++

* finish version++

* Prepare for new sprint

* Add UTC timestamps to console logs

* Create 7472.change

* Bring in line with foundation DCO (matrix-org#1875)

* bring in line with foundation DCO

* add changelog entry

---------

Co-authored-by: Josh Simmons <[email protected]>

* Update format to include the time, Z cannot be applied to NSLog timestamps and doesn't do anything by itself

* Use the codecov token. (matrix-org#1877)

* Use the codecov token.

* Use codecov v4?

* version++

* finish version++

* BER-395: update changelog

---------

Signed-off-by: Nicolas Buquet <[email protected]>
Co-authored-by: Mauro Romito <[email protected]>
Co-authored-by: Stefan Ceriu <[email protected]>
Co-authored-by: Stefan Ceriu <[email protected]>
Co-authored-by: Valere <[email protected]>
Co-authored-by: Valere <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Doug <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>
Co-authored-by: Nicolas Buquet <[email protected]>
Co-authored-by: Giom Foret <[email protected]>
Co-authored-by: Mauro <[email protected]>
Co-authored-by: Richard van der Hoff <[email protected]>
Co-authored-by: Josh Simmons <[email protected]>
Co-authored-by: Josh Simmons <[email protected]>
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