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

submodule: docson: Switch to new 360-master branch #282

Merged
merged 2 commits into from
Dec 3, 2020

Conversation

michaelwood
Copy link
Member

Switch to 360-master branch to tracks changes in the ODSC docson fork
that are for threesixtygiving.

Fixes #281

@michaelwood
Copy link
Member Author

@drkane
Copy link
Contributor

drkane commented Nov 30, 2020

I've made a hidden version of this branch on readthedocs: https://standard.threesixtygiving.org/en/mw-docson-widget-update/reference/#json-format

the only issue I've found is that the docjson iframe now has 2 scrollbars (firefox & chrome, windows 10):

image

I think it might potentially be this bit of code that needs updating to take into account the new line height caused by the new subtitle.

https://github.com/OpenDataServices/docson/blob/de05368f448f879495100548d62765b6ea356d2b/widget.js#L35-L37

@michaelwood
Copy link
Member Author

Switch to 360-master branch to tracks changes in the ODSC docson fork
that are for threesixtygiving.

Fixes #281
@michaelwood michaelwood force-pushed the mw/docson-widget-update branch 3 times, most recently from cd41794 to 876166a Compare December 3, 2020 16:30
The docson widget tries to control its own height properties and uses
window events, this results in additional unnecessary scrollbars in the
container div which aren't needed as they already exist on the iframe.

We change to using the div simply as a way to easily reference the
iframe element. As the id for the iframe contains punctuation
and we may want to use this style elsewhere.
Copy link
Contributor

@drkane drkane left a comment

Choose a reason for hiding this comment

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

All looks good.

Happy to confirm this is a non-normative change - there is no change to which fields are required, just that we are indicating them in a clearer way.

@drkane drkane merged commit 3ce45ab into master Dec 3, 2020
@drkane drkane deleted the mw/docson-widget-update branch December 3, 2020 17:38
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.

Show required fields in Schema widget with an asterisk
2 participants