-
-
Notifications
You must be signed in to change notification settings - Fork 801
feat(toolbar): Insert Current Location button (addresses #1559) #3893
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
base: master
Are you sure you want to change the base?
Conversation
… and new setting \n\n- Replace plain domain input with autocomplete component (prefix filter)\n- Expose setting (array of provider domains)\n- Import autocomplete component in register plugin\n- Docs: add configuration section for (with example)\n\nAddresses conversejs#2740 (bounty/good-first-issue).
…e \n\n- Use property bindings for .list and .data (remove quoted strings)\n- Trigger suggestions on '@' with min_chars=1\n- Merge configured into domain list\n\nAddresses conversejs#2929 (bounty).
…player - <figure role=group aria-label> and <audio aria-label tabindex=0 preload=metadata> - Caption/hostname continues to render when not hidden Addresses conversejs#3382 (bounty): improve screen reader access to play controls.
…ddresses conversejs#1559)\n\n- New visible_toolbar_buttons.location (default true)\n- Adds location button to chat and MUC toolbars\n- Uses Geolocation API to insert geo:lat,lon into the draft\n- Leverages existing geo: rendering support (Texture addMapURLs)
| ] | ||
| }); | ||
| Suggestions are shown via the ``<converse-autocomplete>`` component and filtered by prefix. |
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.
@Bennethxyz This looks unrelated to this PR, right?
| registration_domain: '', | ||
| // Optional list of known public XMPP providers to suggest during registration | ||
| // e.g.: ['conversejs.org', 'jabber.org', 'xmpp.jp'] | ||
| registration_providers: [] |
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.
This also looks unrelated to this PR.
| /> | ||
| ?required=${true} | ||
| .value=${el.domain || ''} | ||
| ></converse-autocomplete> |
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.
Same here. @Bennethxyz Please remove any commits and changes unrelated to this PR which is about sending your location. Thanks.
Adds a toolbar button to insert your current location into the compose box.\n\nWhat\n- New visible_toolbar_buttons.location (default true)\n- Button uses the Geolocation API and inserts a geo:lat,lon URI (six decimals)\n- Works in 1:1 and MUC; text already renders via existing geo: support\n\nWhy\n- Addresses #1559 (bounty): make it easy to send current location.\n\nNotes\n- Gracefully handles browsers without geolocation (toast warning)\n- No auto-send; it inserts into draft so users can edit before sending.