element-android icon indicating copy to clipboard operation
element-android copied to clipboard

[Devices Management] Header view for sessions lists in new layout (PSG-668)

Open mnaturel opened this issue 2 years ago • 1 comments

Type of change

  • [x] Feature
  • [ ] Bugfix
  • [ ] Technical
  • [ ] Other :

Content

Adding a nex custom view for headers which will be used in sessions lists in the new layout.

Motivation and context

See #6806

Screenshots / GIFs

Tests

  • Enable the new device management feature flag
  • Go to "Security & Privacy" settings
  • Press the "Show all sessions (V2, WIP)" entry
  • Check the header for "Other sessions" section is visible
  • Press "Learn more"
  • Check there is a toast displayed

Tested devices

  • [ ] Physical
  • [x] Emulator
  • OS version(s): Android 11

Checklist

  • [ ] Changes has been tested on an Android device or Android emulator with API 21
  • [x] UI change has been tested on both light and dark themes
  • [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md#accessibility
  • [x] Pull request is based on the develop branch
  • [x] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-android/blob/develop/CONTRIBUTING.md#changelog
  • [x] Pull request includes screenshots or videos if containing UI changes
  • [ ] Pull request includes a sign off
  • [x] You've made a self review of your PR
  • [ ] If you have modified the screen flow, or added new screens to the application, you have updated the test UiAllScreensSanityTest.allScreensTest()

mnaturel avatar Aug 11 '22 12:08 mnaturel