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

feat: Support showing location messages #548

Merged
merged 12 commits into from
Sep 23, 2023

Conversation

marhkb
Copy link
Collaborator

@marhkb marhkb commented Jun 1, 2023

No description provided.

@marhkb marhkb force-pushed the feat/support-showing-location-messages branch 2 times, most recently from 7f391eb to da91bf6 Compare September 22, 2023 23:17
@marhkb marhkb marked this pull request as ready for review September 22, 2023 23:18
This will be needed to support location messages.
Otherwise, for live locations, the `edited` label is displayed, which is
a pleonasm, since it is inherent to the live location to edit itself.
For normal locations we don't need to show it either, because they are
not editable.
This property will soon be used for live location messages.
@marhkb marhkb force-pushed the feat/support-showing-location-messages branch from da91bf6 to a1f6404 Compare September 22, 2023 23:26
This widget will soon be used in live location messages.
This component can be used as a marker on a `shumate::Map` and display
any widget. The component has a special layouting which causes the
component to be twice as high as its content. The content is always in
the upper half. As a result, the bottom edge of the set widget of the
component ends exactly at the geo position of the map.
It is intended to embed this component in the previously created
'MapMarker' component to be able to display a map marker with a user's
avatar. This can be used for live locations.
The map will soon be embedded in location messages.
This message is able to display both static and live locations.
This commit enables location messages in the chat history.
@marhkb marhkb force-pushed the feat/support-showing-location-messages branch from a1f6404 to 35f146a Compare September 22, 2023 23:30
@marhkb marhkb merged commit 8e9e798 into main Sep 23, 2023
5 checks passed
@marhkb marhkb deleted the feat/support-showing-location-messages branch September 23, 2023 07:21
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.

1 participant