question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Field date closure dependency

See original GitHub issue

field_date.js still has a dependency on closure. In the short term, we are going to exclude it from the build script as it’s not included in blockly_compressed.js

There are a few options being floated around about what to do about it moving forward. Here are some ideas:

  • Convert it to use an open source date picker library that isn’t closure
  • Once that’s converted, we can move it out of core into demos.

Filing this issue to keep track of that work.

We should also update our documentation to provide instructions of how to include the date field. Now that closure is gone, there will be a few extra tasks one needs to complete.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
samelhusseinicommented, Sep 19, 2019

More details on this change:

  • We want the date field to become a demo field, so we’d move it to https://github.com/google/blockly/tree/develop/demos/custom-fields (similar to turtle and pitch)
  • Since it’s a demo, you’d want to use CDNs to include any frameworks, as we wouldn’t be able to ship any dependencies for this.
  • Clean up field_date from core/

Let me know if you have any questions. Thanks for picking this up!

0reactions
samelhusseinicommented, Jan 16, 2020

With #3554 developers have the ability to build Blockly with the closure library in order to make use of FieldDate. I’ve also updated the FieldDate documentation to reflect the steps required for including FieldDate in their build (Those changes will be live when the release is published).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Find the Closure of a Set of Attributes (With Examples)
Finding the closure of a set of attributes is essential for database normalization. Learn how to find it with three real-world examples!
Read more >
Functional Dependency and Attribute Closure - GeeksforGeeks
A functional dependency A->B in a relation holds if two tuples having ... How to find Candidate Keys and Super Keys using Attribute...
Read more >
Chapter 11 Functional Dependencies – Database Design
A functional dependency (FD) is a relationship between two attributes, typically between the PK and other non-key attributes within a table.
Read more >
Functional dependency - Wikipedia
Closure of functional dependency​​ The closure is essentially the full set of values that can be determined from a set of known values...
Read more >
Checking if a functional dependency is in a closure
How to find if a functional dependency X → Y is contained in the closure F+ of a set of functional dependency F?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found