-
Notifications
You must be signed in to change notification settings - Fork 326
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
Automatic Dropdown support for single Atom types does not work #7468
Comments
@Frizi is that you area? Maybe you can let us know if something is missing from LS support? |
@jdunkerley ^ could you post here an exact scenario where "ambiguous import" happens? |
The additional import is creating a clash with
We should just put the type in as the chosen option (i.e. just The issue with |
Ilya Bogdanov reports a new STANDUP for today (2023-08-22): Progress: Investigated the code and decided what needs to be done. Implemented a draft solution for choosing the correct expression. A proper solution is complicated because of suggestion database restrictions. Also finished the implementation of pasting nodes as plain text with the help of Pawel. It should be finished by 2023-08-24. Next Day: Next day I will be working on the same task. continue working on the draft solution, investigating alternative implementations for the suggestion database. |
Ilya Bogdanov reports a new STANDUP for yesterday (2023-08-23): Progress: Further investigation, added the code for exporting suggestion database in JSON for analysis. It should be finished by 2023-08-24. |
Ilya Bogdanov reports a new STANDUP for today (2023-08-24): Progress: Investigating found the specific reason for the issue and a way to fix it. Considering different solutions. Also faced a peculiar bug when the lookup by the qualified name of the entry fails, even though the entry is present in the database. Found some issues in the hierarchy index implementation as well. It should be finished by 2023-08-24. |
Fixes #7468 The fix is pretty simple: we reuse the existing functionality for importing stuff and generating expressions. It fixes issues with `Nothing` or `Report_Unmatched` types. https://github.com/enso-org/enso/assets/6566674/4e7addf9-2175-4f2a-a571-4ef823de5cb0 While debugging, I found it easier to work with a suggestion database when exported to some external format. Hence, I implemented serde serialization support for database entries and also a new debug shortcut <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>u</kbd> to dump all entries to the console.
Ilya Bogdanov reports a new 🔴 DELAY for the provided date (2023-08-25): Summary: There is 5 days delay in implementation of the Automatic Dropdown support for single Atom types does not work (#7468) task. 2 days are weekends Delay Cause: The investigation took more time than initially estimated, mostly because I wasn't feeling confident with all the intricacies of the suggestion database. Also, we're short on people this week, so reviews and QAs are delayed. |
Ilya Bogdanov reports a new STANDUP for the provided date (2023-08-25): Progress: With the help of Pawel, I investigated further and found the real issue. My clever tricks with the hierarchy index are not necessary. Instead, I need to refactor the code. Working on the solution. Also addressed review comments in copy-pasting nodes. It should be finished by 2023-08-29. |
Any dropdown being chosen which is an Atom only type (e.g. Report_Unmatched) results in an incorrect import being added.
The import causes ambiguous import errors (as then both the module and type are imported).
Can be worked around by custom dropdowns but this should be fixed.
The text was updated successfully, but these errors were encountered: