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

feature(qchat): share QML style when sending geojson vector in ws #235

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gounux
Copy link
Member

@gounux gounux commented Mar 14, 2025

This PR will allow to share the QML style of a vector layer sent throught websocket on QChat.

Testable on staging.gischat.geotribu.net only ATM.

@gounux gounux requested a review from Guts March 14, 2025 14:49
@github-actions github-actions bot added enhancement New feature or request UI User interface: forms, widgets... labels Mar 14, 2025
self.crs_message_received.emit(QChatCrsMessage(**message))
elif msg_type == QCHAT_MESSAGE_TYPE_BBOX:
self.bbox_message_received.emit(QChatBboxMessage(**message))
except KeyError:
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the error I get when receiving an message from the server that can not be parsed.

Am wondering if we could be more generic 🤔 ?

Copy link
Member

Choose a reason for hiding this comment

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

Or use custom exceptions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI User interface: forms, widgets...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants