Automattic / Automattic/jetpack

Contact Info: suggest the Map block as inner block

Open
#11,834 0 comments 0 reactions 0 assignees View on GitHub
[Block] Contact Info [Pri] Normal Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

> I think it would make sense to present the option to display the Contact Info address on a map in the Contact Info sidebar, and perhaps leverage the map block or some subset of its functionality to render the map within the Contact Info widget.

> that’s the beauty of the Contact Info Widget today; you can extend it and add your own blocks alongside the pre-defined blocks:

screenshot 2019-02-27 at 21 19 56
screenshot 2019-02-27 at 21 16 22

> I like the idea of suggesting the map block in the contact info. Maybe we can add a button that tries to map inserts the map block based on the address that the user entered.
That is not something that Gutenberg makes easy to implement today but I don’t see why we wouldn’t be able to do it.

p8oabR-kb-p2 #comment-2586

Contributor guide

Open the contributing guide

Research direction

Start with the Contact Info sidebar and the existing map block mentioned in the issue, then review how Gutenberg handles inserting or suggesting blocks. The issue provides no file or test entry point; done would require an agreed design and a working way to suggest or insert a map based on the entered address.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.