-
Notifications
You must be signed in to change notification settings - Fork 748
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
[Device Manager] Render current session (PSG-671) #6903
Conversation
is DevicesViewEvents.Loading -> showLoading(it.message) | ||
is DevicesViewEvents.Failure -> showFailure(it.throwable) | ||
is DevicesViewEvents.RequestReAuth -> Unit // TODO. Next PR | ||
is DevicesViewEvents.PromptRenameDevice -> Unit // TODO. Next PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if possible it could be handy to link to tickets, although I guess the PS tickets are in jira 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, they are private atm.
} | ||
|
||
override fun invalidate() = withState(viewModel) { state -> | ||
val currentDeviceInfo = state.devices() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the difference between state.devices()
and state.devices
? is it possible to have a currentDeviceInfo
and not have devices in the Success
state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💯
you may need to add manual ignores to the string resources or include them in future PRs that make use of the strings
* develop: (169 commits) new app layouts invites (#6911) bottom navigation tabs are removed for AppLayout (#6905) focus input when changing server address Fix copyright Improve createRoomThreePidEvents for clarity Remove roomCreatorUserId and use current userId by default Remove useless explicit field type Change visibility of LocalRoomThirdPartyInviteContent to internal Remove useless apply in CreateLocalRoomStateEventsTask Update doc Extract condition to reduce code complexity Verify tombstone event Remove safe call Add unit tests for CreateRoomFromLocalRoomTask Add unit tests for CreateLocalRoomStateEventsTask Set stateKey as empty by default Create local room state events in dedicated task Fix local events generation following the specification Update CreateRoomParams from the potential FeaturePreset before persisting Persists CreateRoomParams into LocalRoomSummaryEntity ... # Conflicts: # vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt
SonarCloud Quality Gate failed. |
Type of change
Content
Implement current session section as in the new layout.
Motivation and context
#6902
Screenshots / GIFs
Tests
Tested devices
Checklist