text:
Cannot set date to year 0001

We have been using a hack to filter the date field so that we can use outlandish dates such as 9999/01/01 and 0001/01/01 to represent meta such as “Open Ended” and “Not Applicable”.
This has been working fine when editing the date as a text field, but now we are integrating datepicker.js to improve usability and everytime I run picker.set( 'select', '0001-01-01', { format: 'yyyy-mm-dd' } ); the date is set to 1st January 1901.
Other dates work, such as 9999-01-01 (1st January 9999) and 1001-01-01 (1st January 1001), but for some reason it wont accept year 0001.
Is this a bug or a mis-configuration issue? Would be nice to work with the existing data rather than having to run some global database operation to change this value site-wide.
Thanks

Either you use a year with starts with 1 or set needed properties and read them. Like the min and max values.

Thanks Daniel, just added  {  max: false,  min: false  } to the pickadate options but it still rendering date as 1901 rather than 0001. Would this not be classed as a bug as I am specifying the date format so why still casting to an integer?

Not sure what you mean but yyyy uses Date and parses it.
0000...1 makes not much sense when you work with integers and dates.

This is quite a good article about the issues specifying year 1 with the Date object.
Running console.log((new Date('0001-01-01')).toUTCString()) in browser is correctly returning "Mon, 01 Jan 0001 00:00:00 GMT" – but still I cannot get pickadate.js to correctly select this date.
I have tried passing the date in as both a Date object and an array, but still returning 1901:
targetData.value = '0001-01-01'; picker.set( 'select', targetData.value { format: 'yyyy-mm-dd' } );
returns 1901-01-01
targetData.value = '0001-01-01'; var dateArray = targetData.value.split('-'); picker.set( 'select', new Date(dateArray[0], dateArray[1]-1, dateArray[2]));
Still returns date as '1901-01-01'
targetData.value = '0001-01-01'; var dateArray = targetData.value.split('-'); picker.set( 'select', [dateArray[0], dateArray[1]-1, dateArray[2]]);
'1901-01-01' again...
How can I force datepicker to not change the year to an integer and assume 1900?

How can I force datepicker to not change the year to an integer and assume 1900?

Currently not possibly except you overwrite it (using proto or some other way).

authors: DanielRuf twobyte


text:
Firefox the date picker drop downs are obscured

Firefox 41.0.1 on Mac and also found on Windows.
.picker__select--month, .picker__select--year
Has a height set as 2em which breaks firefox.
I'm going to remove or set height:auto to get around this on our app.

I think update padding: 0.3em is better. IMHO, Changing height is always more dangerous.

source: gharchive/issue

license: mit

license_type: permissive

license_source: bigquery


text:
Fix docstring

Issue #, if available: The docs for the load method were all mangled together:
Description of changes: Added some whites pace so the docs display properly
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #151 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #151   +/-   ##
========================================
  Coverage    85.19%   85.19%
========================================
  Files           78       78
  Lines         3850     3850
  Branches       654      654
========================================
  Hits          3280     3280
  Misses         376      376
  Partials       194      194

Impacted Files
Coverage Δ

mxfusion/inference/inference.py
81.81% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d98f32...79e390e. Read the comment docs.

source: gharchive/pull-request

authors: codecov-io marpulli

repo: amzn/MXFusion

license_source: github-api


text:
Adds Python examples to the Cookbook.

Issue #, if available:
Fixes #82
Fixes https://github.com/amzn/ion-python/issues/10
Description of changes:
ion-python examples, with the exception of downconversion to JSON, which has an open issue: https://github.com/amzn/ion-python/issues/107
I will be creating a separate ion-python CR with unit tests for these examples.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Curious whether you gave any thought to a different approach to organizing these, e.g.:

a separate page dedicated to the Python event API,
or separate tabs on this page? (e.g., "Python" and "Python (Event API)")

Well, I have now. I like the idea of having examples from both APIs available on the same screen, as it is now. This can help users more easily evaluate the tradeoffs between the options side-by-side.

Please also review the unit tests for these cookbook examples: https://github.com/amzn/ion-python/pull/130

repo: amzn/ion-docs


text:
Ion.ts does not export Reader / Writer

I woud like to be able to use ion-js in typescript. However, the Reader and Writer are not exported from the main class, so I seem to be unable to import them.
For example the following code would not work:
import * as IonJS from 'ion-js';

export class IonStructParser {
  private ionReader: IonJS.Reader // Reader not exported
}

Apologies if there is an obvious solution to this, I am not very strong with the typescript module system

Hey eyce,
Right now the library is in alpha and has a number of bugs around state/containers, binary/text, etc.
Were actively working on fixing it up to the standards that our other libraries ascribe to!
The TextReader is exported during compiletime, You need to import the TextReader with a line like:
import { TextReader } from "./IonTextReader";
than you can instantiate a TextReader with new TextReader();
Alternatively TextReaders are available via the compiled ion.js file with the lines:
var ion = require("{REPO LOCATION}/ion-js/{compiled ion.js location}/Ion.js");
var reader = ion.makeReader(input);

The second approach seems to work. Thanks

Would it be possible to export IonJS.Reader and IonJS.Writer types now? Thanks!

Yes of course!

authors: eyce9000 jamesdbowman wesboyt

repo: amzn/ion-js


text:
如何切换输入方案

本人小白，首先感谢amzxyz制作的这个方案，部署后使用体验非常丝滑
有个小问题就是如何切换输入方案，我本人用的是小鹤双拼，我媳妇用的全拼，输入方案切换我暂时是去编辑wanxiang.schema.yaml里的set_shuru_sche值，想问下还有其他简单的例如用热键能切换的方法吗，需要如何设置，情指教下，谢谢！

这个可以这样操作，将方案文件复制一份改个名字，里面的名字也修改了，然后default里面加一行这个方案，目的就是两个方案并存共用词库，然后可以方案选单

感谢回复，我按照思路修改了一下，方案是可以切换了，但是两种方案都变成了全拼，我把第二个方案注释掉再重新部署又变回了双拼，不知道我哪里配置不对
方案设置：

搞定了！主方案把这个启用就可以了

搞定了！主方案把这个启用就可以了

更新了，去更新吧！


text:
数据流处理bug（数据丢失） /  Dataflow processing bug (data loss)

对比第二张图和第三张图就会发现，即使流数据中内容不为空，也会存在数据部分丢失，我正在尝试修复，我觉得这是一个小bug，但是我的水平还比较低，不一定能成功解决
translated :
Comparing the second picture with the third picture, you will find that even if the content in the stream data is not empty, some data will be lost. I am trying to fix it. I think this is a small bug, but my level is still relatively low , may not be able to successfully resolve.
more details

我感觉像是我的处理造成的丢包

repo: anasfik/openai

license: MIT


text:
Fix: Updated PackageSupplier to type Organization for JAR files

Issue:
The PackageSupplier and PackageOriginator are set to type 'Person' for JAR files. For example:
PackageName: jackson-annotations
SPDXID: SPDXRef-Package-java-archive-jackson-annotations-55544ed7d2a352e0
PackageVersion: 2.9.10
PackageSupplier: Person: FasterXML
PackageOriginator: Person: FasterXML

Fix:
Updated to set the type as 'Organization' if vendor is specified in the metadata file of the JAR.
Result:
PackageName: jackson-annotations
SPDXID: SPDXRef-Package-java-archive-jackson-annotations-55544ed7d2a352e0
PackageVersion: 2.9.10
PackageSupplier: Organization: FasterXML
PackageOriginator: Organization: FasterXML

As we discussed, I think this is a good change, could you consider adding a test so we don't regress here?

As we discussed, I think this is a good change, could you consider adding a test so we don't regress here?

The tests were there, the file was not checked in. Can you please re-trigger the workflow to run the tests? Thanks

authors: harippriyas kzantow

repo: anchore/syft


text:
#147053747 Manage documents

This PR implement the various ways that users can manage their documents. User can create, update and delete a document, see all documents available to them as well as all documents belonging to them.

Coverage increased (+26.3%) to 89.344% when pulling 2cbd2a2dbf870a6e325d858efb4cf8f4e1e9e9a9 on ft-manage-documents-147053747 into fca50bd4e34196c03e099fb9bb1af4a691eea266 on develop.

authors: andela-iukwuoma coveralls

repo: andela-iukwuoma/docman


text:
#143117959 API Documentation View

What does this PR do?
Troubleshoots the API documentation view
What are the relevant pivotal tracker stories?
#143117959

Codecov Report

Merging #27 into develop will increase coverage by 0.26%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop      #27      +/-   ##
===========================================
+ Coverage    93.45%   93.71%   +0.26%
===========================================
  Files           17       17
  Lines          336      334       -2
  Branches        67       67
===========================================
- Hits           314      313       -1
+ Misses          22       21       -1

Impacted Files
Coverage Δ

server/routes/Index.js
100% <ø> (+5.55%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fa886d...8af2b25. Read the comment docs.

authors: andela-jmacharia codecov-io

repo: andela-jmacharia/hati-DMS


text:
Bringing back changes removed during identiy map to fix bug #190

This is as per https://github.com/endeepak/neo4j/commit/f84965536463719bea6ad439947f4b40ef7f14cf#commitcomment-676474.
CI: http://travis-ci.org/#!/endeepak/neo4j/builds/259938

Thanks a lot !

authors: andreasronge endeepak


text:
🛑 Goncalves.me is down

In 468d75d, Goncalves.me (https://www.goncalves.me) was down:

HTTP code: 521
Response time: 155 ms

Resolved: Goncalves.me is back up in 9f264b7.

repo: andreesg/goncalves-upptime


text:
🛑 Rietveld Schröderhuis is down

In 20a0ab3, Rietveld Schröderhuis (https://www.rietveldschroderhuis.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rietveld Schröderhuis is back up in 0146cef.

repo: andreesg/intk-upptime


text:
The chosen display is now obsolete, any replacement ideas?

Project looks awesome, but the display used is not available anymore. Any ideas?

Yes, I am planning to port software to use this display: https://www.waveshare.com/product/modules/oleds-lcds/e-paper/7.5inch-e-paper.htm?___SID=U

Sounds awesome, will keep watching! :)

Any plans for adding ESP32 support?

It would be interesting to get the one with a second color, yellow would be perfect I think.
https://www.waveshare.com/product/modules/oleds-lcds/e-paper/7.5inch-e-paper-hat-c.htm

Hi Andrei !!
Thank you for this very cool project !!
Could you tell us if your code works with this display : https://www.waveshare.com/product/modules/oleds-lcds/e-paper/7.5inch-e-paper.htm?___SID=U
Thank you !!!

I have started work on supporting this display, but unfortunately it is not done yet. Also, it seems that there's a new 7.4" panel from Pervasive Displays: http://www.pervasivedisplays.com/products/740i

Hi !
Thank you for your answer !!
Display from Pervasive is not available...
Are there lot of differences between the 2 models of display ?

Hi!
Awesome project. Can I build your project today? I would like to try it, can you send me links for the available parts?
P.Z.

Looking forward to the waveshare code..

I have finally added support for Waveshare display. I am personally using this kit and not the "raw display" mentioned earlier: https://www.waveshare.com/7.5inch-e-paper-hat.htm
Binaries are now available in releases.


text:
🛑 Agência Midas is down

In 9652220, Agência Midas (https://agenciamidas.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Agência Midas is back up in 1a2262b.

repo: andrelug/uptime


text:
Elementor text input looks broken and can't be used

I'm having problems with the text input that can be used for sendKeys etc. It looks broken in some way and it cant be used.
My environment:
OS: macOs Sierra 10.12.4
Browser: Chrome Version 58.0.3029.81 (64-bit)
webdriver-manager 12.0.4
Version of Angular 1.5.3
This is how the text input looks:

I'm having the same issue

authors: bastiannijboer beelio

repo: andresdominguez/elementor


text:
🛑 pharmacomms is down

In 99ff515, pharmacomms (https://pharmacomms.tv/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pharmacomms is back up in ae9b3ea after 17 minutes.

repo: andrespitt/uptime


text:
Support new Loki chart versions - Change to Values file

level=error ts=2023-05-19T17:31:52.700290762Z caller=main.go:56 msg="validating config" err="invalid queryrange config: the yaml flag `split_queries_by_interval` must now be set in the `limits_config` section instead of the `query_range` config section"

Running on EKS 1.25.
When omitting the chart_version_loki_distributed variable, the module installs latest version of the loki-distributed helm chart by default, triggering the error above.
Working backwards all the way to 0.51.2, I was never actually able to get this working by specifying chart_version_loki_distributed. Prior to 0.51.2 a different config error is reported; this release is almost 1yr old. Not sure if this module is working on other cluster versions - but clearly has not for the distributed loki in some time.
Noted also that setting loki_mode = "single" does not deploy the standard loki chart - still deploys loki-distributed contrary to provided docs (and apparently also to the count setting in the main.tf file for resource "helm_release" "loki" { ... })
Will need to modify the modules/resources/helm-values/loki-distributed.yml.tftpl values file to move the split_queries_by_interval at this line https://github.com/andreswebs/terraform-aws-eks-monitoring/blob/4947b337aa7edb8d96630742f2951c794cbeb105/modules/resources/helm-values/loki-distributed.yml.tftpl#L88
... into this block: https://github.com/andreswebs/terraform-aws-eks-monitoring/blob/4947b337aa7edb8d96630742f2951c794cbeb105/modules/resources/helm-values/loki-distributed.yml.tftpl#L73

Update:
I was able to resolve Loki errors by forking and modifying the values file.
Changes:
added to Values.loki.ingester:
      wal:
        dir: "/var/loki/wal"

Moved split_queries_by_interval to values.loki.limits_config.
Fork link:
https://github.com/zfalen-deloitte/terraform-aws-eks-monitoring/blob/main/modules/resources/helm-values/loki-distributed.yml.tftpl

Thanks!
I didn't have the bandwidth to maintain this, but glad to know you were able to work it out.

authors: andreswebs zfalen-deloitte

repo: andreswebs/terraform-aws-eks-monitoring

license: Unlicense


text:
Update ur.json

updated urdu translation

Thanks for the updates, these will be added in the next release.

repo: andrew-codechimp/HA-Battery-Notes


text:
🛑 nhcam is down

In 3e8b194, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in a3cef49.

repo: andrewdavies-net/upptime


text:
🛑 plexd is down

In 86367b0, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 276 ms

Resolved: plexd is back up in a85dee1.


text:
Update iocaml to jupyter protocol version 5

This updates iocaml to the latest jupyter protocol, which is defined here.
I tried to break the changes into logical bits -- you can look at the individual commits for a less noisy view. The two big changes affect the object_info and kernel_info messages, and then there are a variety of smaller changes as well.

Cool - thanks for this and the various bug reports.  I am just about to get a new version out which works with the latest cohttp then will look into this.

Thanks! This should fix #44 and #43 as well

I have pulled your changes into a new v5 branch.  These can eventually be merged into master but iocamlserver will need to be updated first (effectively basing it off the latest jupyter version as well).

Awesome, thanks!

authors: andrewray jaredly

repo: andrewray/iocaml


text:
why are some Algorithms without authors ?

why are some Algorithms without authors  in the List of the algorithms available in BGSLibrary?

Hi @anqier0468 ,
Some algorithms are too simple and well known in the literature (someones too old), in this case we don't know/have a specific author...
Thanks

repo: andrewssobral/bgslibrary


text:
bounded device

i have problem to find device.
i think this library must show all bounded devices to connect instead of scan
is possible add this method to this library ?
thanks

sorry i must posted this issue in esc_pos_bluetooth repository
https://github.com/andrey-ushakov/esc_pos_bluetooth/issues/16


text:
How to specify video resolution for VideoCapture ?

I want to set video resolution width=540 and height=960, but resulted video has width=360 and height=640.
        val videoCaptureConfig = VideoCaptureConfig.Builder().apply {             setLensFacing(lensFacing)             setTargetRotation(viewFinder.display.rotation)             setTargetResolution(Size(540, 960))             setMaxResolution(Size(540, 960))         }.build()

@Taharo, may I know how did you able to use VideoCapture to capture video? I tried but got an error "VideoCapture class have annotation RestrictTo(Scope.LIBRARY_GROUP)"...

@josephteoh just add @SuppressLint("RestrictedApi") on your method.
@SuppressLint("RestrictedApi")     override fun onViewCreated(view: View, savedInstanceState: Bundle?) {         super.onViewCreated(view, savedInstanceState) }

@Taharo thx, added it, but encountered other error with regards to AudioRecord....guess it's still buggy(in Java)...probably I should try Kotlin then. Thx again, sorry for the sidetrack and unable to test out your question.

@Taharo video recording is currently in preliminary stages and not officially supported, buggy and inconsistent behavior like you described here is expected at this stage.

authors: Taharo josephteoh owahltinez

repo: android/camera


text:
[Bug]: Issue while running ./gradlew build

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
Issue while running ./gradlew build

Could not determine the dependencies of null.
Could not resolve all task dependencies for configuration ':app:classpath'.
Could not resolve project :build-logic:convention.
Required by:
project :app
No matching variant of project :build-logic:convention was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.2' but:
- Variant 'apiElements' capability com.tandroosti.eua.buildlogic:convention:unspecified declares a library, packaged as a jar, and its dependencies declared externally:
- Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11

Relevant logcat output
> Could not determine the dependencies of null.
   > Could not resolve all task dependencies for configuration ':app:classpath'.
      > Could not resolve project :build-logic:convention.
        Required by:
            project :app
         > No matching variant of project :build-logic:convention was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.2' but:
             - Variant 'apiElements' capability com.tandroosti.eua.buildlogic:convention:unspecified declares a library, packaged as a jar, and its dependencies declared externally:
                 - Incompatible because this component declares a component for use during compile-time, compatible with Java 17 and the consumer needed a component for use during runtime, compatible with Java 11

Code of Conduct

[X] I agree to follow this project's Code of Conduct

The logs you give us are the raw logs of the build.
But, if you run this from Android Studio, it will show up this message:
Gradle JVM version incompatible.
This project is configured to use an older Gradle JVM that supports up to version 11 but the current AGP requires a Gradle JVM that supports version 17.

Change Gradle JDK...
See AGP Release Notes...

And the last two lines are links to configure the JDK.

That being said, we could override this behavior and force checking for the appropriate version:
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17).not()) {
    throw GradleException(
        """
        Now in Android requires JDK 17 but it is currently using JDK ${JavaVersion.current()}.
        Java Home: [${System.getProperty("java.home")}]
        """.trimIndent()
    )
}

WDYT?

Agree with your suggested fix @SimonMarquis. Only thing I would add is that the message should also provide a solution (e.g., https://github.com/android/nowinandroid/issues/1137#issuecomment-2392829757).
Feel free to submit a PR.

I feel like the fix should not be to manually edit config files, but instead to use the Android Studio UI (File | Settings | Build, Execution, Deployment | Build Tools | Gradle) that will make sure the proper JDK is selected and configured in the right file:
https://developer.android.com/build/jdks and more precisely this https://developer.android.com/build/jdks#jdk-config-in-studio

Sounds good to me. Just use that link in the error description.

authors: SimonMarquis dturner er-abhishek-luthra

repo: android/nowinandroid


text:
Allow use of regular variables

Right now it's impossible to use plain variables to compare values. Following scenario could be supported:
--list-color: #F0C;
--list-hidden: true;

ul {
  @if var(--list-hidden) {
    display: none;
  }
  color: var(--list-color);
}

That's just my opinion and expectation when stumbled upon this library. I might be able to help implementing such feature if there's any interest on doing so.
Cheers.

It's out of my hands, unfortunately. var() is handled by other plugins, and last time this was brought up it was met with disinterest because it's a use case not described by the W3C specification. There are more implementations available now though.
If you really need it, you could try to convince one of the maintainers to extend it with this use case, or, failing that, you could create your own fork.

@andyjansson Yeah, that's what I thought. Also it's more of a pre-processing thing instead of post-processing so I don't even know if it belongs in the postcss ecosystem.
Thanks for the response and great work.

authors: andyjansson rafaelrinaldi

repo: andyjansson/postcss-conditionals


text:
question

Hi Andykarpov,
I need pin assignment of this fpga board, like this for DE2 board: https://github.com/vyc4/2VictorsPlusRyan/blob/master/Final Project Demo/DE2-115 Pin Assignments.csv
can you help me?
thanks

https://github.com/andykarpov/radio-86rk-wxeda/blob/master/rk_wxeda.qsf

authors: meesokim narenjak


text:
Python3.5 vs Python3.6 hscan_iter different sort result

Python 3.5.2 (default, Nov 23 2017, 16:37:01)
redis_client = redis.StrictRedis()
In [4]: for item in redis_client.hscan_iter("BB"):
   ...:     print(item)
   ...:
(b'3', b'c')
(b'1', b'a')
(b'4', b'd')
(b'2', b'b')

Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
redis_client = redis.StrictRedis()
for item in redis_client.hscan_iter("BB"):
    ...:     print(item)
    ...:
(b'1', b'a')
(b'2', b'b')
(b'3', b'c')
(b'4', b'd')

https://stackoverflow.com/questions/39980323/are-dictionaries-ordered-in-python-3-6

I don't believe this has anything to do with Python. As far as I'm aware, the Redis SCAN commands do not define an order that values are returned in.

authors: andymccurdy nooperpudd

repo: andymccurdy/redis-py


text:
Remove kittens dependency; add custom macro for Traverse instances

😄

I'd prefer to use the same @deriveFixedpoint macro and substitute the Functor instance with a traversable one.

I thought Kittens doesn't support Traversable? So won't we need to write our own implementation to derive those instances?

Yeah, it doesn't support deriving Traversable, we'd need to implement derivation ourselves.  What I meant is that we wouldn't need a new macro right? or you mean that we should provide a macro annotation just for deriving the instance of a fixed point data type?

authors: andyscott pepegar

repo: andyscott/droste


text:
Add icon_color support

Hello
We can already specify icon depending the state value
But we can't set icon_color (or it's not used by HA cards if extra_attributes)
Can this feature be added ?
Regards

As far as I know, icon_color is not an attribute recognized by Lovelace (HA front end)

See https://developers.home-assistant.io/docs/core/entity/#advanced-properties

does not appear to be supported by HA

authors: Pulpyyyy aneeshd


text:
Incompatible AWS Version

Hi! I'm trying to use this package but when trying the command sudo python3 s3sync.py --config config.yaml init it shows the message Error: Found incompatible AWS CLI version [2.0.62]. Removed that version and installed the AWS CLI 2.0.0 and the same error is showing.
Same happening with s3sync --config ./config.yaml init
Error: Found incompatible AWS CLI version [2.0.0]
AWS Version
aws --version
aws-cli/2.0.0 Python/3.7.3 Linux/5.4.0-52-generic botocore/2.0.0dev4
Ubuntu 20.04

Thanks you just reported a minor bug. I just fixed it and push an updated version (https://pypi.org/project/pys3sync/0.1.2/). Please try now. What was happening was that due to a naive string comparison, your version [2.0.62] was < [2.0.9] because I was doing just a string comparison. now using python package version comparison.

Also please go back to 2.0.62. it won't work with 2.0.0. needs atleast 2.0.9


text:
Update README.md ✨📗

Just starting to the readme, I almost always forget to do them🙄, we will need to add a few things before we submit.

Good start

authors: SEAexe angeladeveloper

repo: angeladeveloper/med-for-me


text:
style: Aplicar anti-deformação nas imagem do core team

777- As imagens dos membros do core team, estão distorcida, seria legal se os usuários, pudessem enxergar corretamente as imagens, na sua perspectiva real.

Você quer trabalhar nessa issue? @Afranioalves ?

777- yha, can I ?

É open-source, mas deixa ver se o @Danguya já está a trabalhar nisso.

777- Eu já fiz 😁😁

closed by #13


text:
Perform browsertesting on commit and adopt collaborative code quality tools.

Given the hight usage of the library it would be important to perform browsertesting on commit and adopt collaborative code quality tools.
This would allow to detect defects happening on some specific browser/version, track code coverage and work in a collaborative way on improving the code quality of the library
Given the fact that the project is already using karma performing tests with Chrome, i would suggest to adopt karma-coverage to perform testing on Saucelabs.
It would be great than if during the testing we could integrate Codeclimate in order to keep track of the code maturity and the code coverage of the tests.
I've no interest in suggesting this specific software/services, but this all the softwares i'm suggesting are opensource and the cloud services involved are offering a complete free support for opensource projects so that it would be great if start adopting them.
Here you find the exact integration you need given the libraries involved in the project.
I did it few days ago in order to improve a library we use in GlobaLeaks: https://github.com/ghostbar/angular-zxcvbn/pull/15
The result of that integration could be something like:

Here is the current output of codeclimate for https://github.com/angular-ui/bootstrap:

https://codeclimate.com/github/angular-ui/bootstrap
https://codeclimate.com/github/angular-ui/bootstrap-bower

This is definitely something we want to do, and need to do to ensure some UI changes are working on our claimed browsers of support.

repo: angular-ui/bootstrap


text:
Fix for issue #2789 "$apply already in progress" when using ng-focus to open the popup.

Fix for issue #2789 where it was throwing "$apply already in progress" when using ng-focus to open the popup.

Closing this, as the original issue is not valid for the upcoming 0.13.0 release.

authors: pedroxs wesleycho


text:
Vanishing query parameter with reloadOnSearch = false

The problem occurs when I have some nested states with a optional search parameter at the top level and reloadOnSearch is set to false. e.g.
$stateProvider
    .state('top', {
      url: '/top?myParam',
      reloadOnSearch: false,
      template: '
Top
<ui-view></ui-view>'
    }).state('top.firstLevel', {
      url: '/first',
      reloadOnSearch: false,
      template: '
First
<ui-view></ui-view>'
    }).state('top.firstLevel.secondLevel', {
      url: '/second',
      reloadOnSearch: false,
      template: '
Second
<ui-view></ui-view>'
    });

If I enter the 'top.firstLevel.secondLevel' state and set the search parameter myParam to a value and then change the state to a parent state, the value is lost. Even though it is present in the toParams on the state change event.
I would expect the value or myParam to remain no matter how I moved between these states.
Plunker here

Confirm this is a bug. Removing reloadOnSearch keeps the param

authors: cwmrowe eddiemonge

repo: angular-ui/ui-router


text:
Remove the ui-view wrapper element

Assuming that I have this:

After hitting a route it become:

Some other content

What I'm trying to get is this, without the wrapper element containing the ui-view:

Some other content

How can I achieve this?

Why?
Closing this as it doesn't seem to be a bug or issue. If discussion does reveal something, will reopen it.

authors: devmarwen eddiemonge


text:
feat request: minify PNG, JPEG, GIF, SVG and WEBP images with imagemin

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x ] feature request

Area
- [ x] devkit
- [ ] schematics

Desired functionality
Support image-webpack-loader to minify PNG, JPEG, GIF, SVG and WEBP images with imagemin
I want to be able to use png,jpg assets and have webp ones generated and used if supported.
I have svg assets that I want to be optimized in prod.
Mention any other details that might be useful
https://github.com/tcoopman/image-webpack-loader

Any change for this to make it into the cli?

Closing as per comment in https://github.com/angular/angular-cli/issues/18547#issuecomment-677860061

authors: alan-agius4 ghost mackelito

repo: angular/angular-cli


text:
Conditional “X-Prompt” in Angular Schematics

It seems feature to add conditional x-prompts is missing in angular schematics.
Requirement : To display conditional prompts, based on the previous selection ( "Analytics", in this case ).
Problem : For any selection, it is still displaying the prompt to add Google Analytics's Tracking Id even if i select AppDynamics or none.
References : Applying Subschemas Conditionally
Angular Schematics
Note: For Simplicity, i have removed "allOf","anyOf" etc. and code for any other analytics tool, still it was not working.
Code (Schema.json):
{
  "$schema": "http://json-schema.org/schema",
  "id": "MyDemoSchema",
  "title": "My Demo Schematics Schema",
  "type": "object",
  "properties": {
    "analytics": {
      "enum": [
        "none",
        "GoogleAnalytics",
        "AppDynamics"
      ],
      "x-prompt": "Which Analytics would you like to use?"
    }
  },
  "if": {
    "properties": {
      "analytics": {
        "const": "GoogleAnalytics"
      }
    }
  },
  "then": {
    "properties": {
      "GoogleAnalytics": {
        "type": "string",
        "x-prompt": "Enter Tracking ID?"
      }
    }
  }
}

Any progress or workaround?

I have the same goal but a different proposal. Instead of increasing the basic schema.json feature-set, I'd rather use a second function-driven API. I believe adding a condition API to a json file will increase the complexity tremendously.
Here's a proposal. It certainly contains lots of flaws and is meant as a start to discuss further possible approaches.
collection.json
{
  "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
    "dynamic-generate-props": {
        "description": "Dynamic inputs",
        "factory": "./dynamic/index#dynamicSchematic",
        "schema": "./dynamic/schema#conditionalInputs"
    }
  }
}

dynamic/schema.ts#conditionalInputs
/**
 * User code
 */
interface MyInput {
    name: string;
    path: string;
    needsFooter: boolean;
    footerColor?: FooterColor;
}

type FooterColor = 'blue' | 'green' | 'red';

export function conditionalInputs() {
    return schematicsSchema<MyInput>({
        name: () => createInput({
            type: InputTypes.STRING,
            xPrompt: "Name of your component"
        }),
        path: () => executionPath(),
        needsFooter: () => createInput({
            type: InputTypes.BOOLEAN,
            xPrompt: "Do you need a footer?"
        }),
        footerColor: (prevValues) => prevValues.needsFooter
            ? noop()
            : createInput({
                type: InputTypes.ENUM,
                enum: [
                    "blue",
                    "green",
                    "red"
                ],
                xPrompt: "Footer color"
            })
    })
}

Angular framework (pseudo code)
enum InputTypes { STRING, BOOLEAN, NUMBER, ENUM }
type InputFunction<TInput> = { [key: string]: (prevValues?: TInput) => any; }

function schematicsSchema<TInput>(userInputs: InputFunction<TInput>) {
    return {};
}

function createInput(options: any) {}

function executionPath() {}

function noop() {}

Having an interface in the user code is intentional. Right now, if I am writing a schematic, the input properties are not typed and I need to manage two lists of inputs in parallel (schema.json inputs / schematic factory code input type)
Any thoughts on this? Or maybe disagreement to a TS API? 🙂

I have the same goal but a different proposal. Instead of increasing the basic schema.json feature-set.

This wouldn't exactly be increasing the schema.json rather than implementing draft-7 of Json schema.
As for your typing solution https://ajv.js.org/guide/schema-language.html#json-type-definition I imagine that would be good enough.
Angular currently uses AJV for validation and running the registry. Looking through the code I cant see it being to difficult to add support for a typed implementation.
With that said I think to add xprompt support its changing the code around this section https://github.com/angular/angular-cli/blob/fafb9ddd589e02643b240da7906589737077e325/packages/angular_devkit/core/src/json/schema/registry.ts#L360 however thats only from a brief look.

@Ankit-sagar32  have you tried this way:
{
  type: "integer",
  minimum: 1,
  maximum: 1000,
  if: {minimum: 100},
  then: {multipleOf: 100},
  else: {
    if: {minimum: 10},
    then: {multipleOf: 10}
  }
}

I know officially documentation  says it should us const. But AJV says this is the way.

Duplicate of #22242.

Using #22242 as the canonical issue here around the general feature request of "making schematics options more dynamic". Exposing the if/then syntax of JSON schema is probably too specific to this particular dependency and tricky to reason about. Most likely this would like a TypeScript API to prompt users imperatively.


text:
.angular-cli.json add wildchar styles

Is there any way to add more styles by a regex or wildchar in the cli configuration file, ex:
      "styles": [
        "assets/css/*.css"
      ],

No, we don't support globs. I also really wouldn't advise doing that with CSS, since order of loading matters.

Why you wouldn't advise doing that?

authors: albandaft albanx filipesilva


text:
Cannot use NPM Link with angular/cli v1.0.0-rc.2 any more

Bug Report or Feature Request (mark with an x)

[x ] bug report -> please search issues before submitting
[ ] feature request

Versions.
@angular/cli: 1.0.0-rc.2
node: 7.6.0
os: win32 x64
@angular/common: 4.0.0-rc.3
@angular/compiler: 4.0.0-rc.3
@angular/core: 4.0.0-rc.3
@angular/forms: 4.0.0-rc.3
@angular/http: 4.0.0-rc.3
@angular/platform-browser: 4.0.0-rc.3
@angular/platform-browser-dynamic: 4.0.0-rc.3
@angular/router: 4.0.0-rc.3
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 4.0.0-rc.3
Repro steps.
Create two simple Projects with cli:
ng new --ng4 project-a
ng new --ng4 project-b

Create a very simple component in project-b and export it in a module.
In project-b do:
npm link
In project-a do:
npm link project-b
and use the simple component from project-b. ng serve and ng build fails, regardless if using flag --aot or not.
If I pack the project-b with npm pack and then install the tarball in project-a instead of npm linking, everything works as expected.
The log given by the failure.
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 158 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 6.58 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.89 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 1.96 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

ERROR in Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol NgModule in C:/temp/test1/projA/node_modules/proj-b/node_modules/@angular/core/typings/core.d.ts, resolving symbol BeeModule in C:/temp/test1/projA/node_modules/proj-b/src/app/bee/bee.module.ts, resolving symbol BeeModule in C:/temp/test1/projA/node_modules/proj-b/src/app/bee/bee.module.ts

Desired functionality.
I want to be able to use NPM LINK because this saves so much time during development.
Mention any other details that might be useful.
It still worked in angular-cli@v1.0.0-beta.26

Heya, errors like Error encountered resolving symbol values statically mean that there has been some problem in statically analyzing your app.
The CLI always runs statical analysis on code to ensure it will run when compiled with AOT. This may cause a lot of static analysis errors to surface when importing your project into the CLI, or upgrading for older versions where we didn't run this kind of analysis.
A good resource on how to to debug these errors is https://github.com/rangle/angular-2-aot-sandbox#aot-dos-and-donts.

Hi @filipesilva ,
thanks for the AOT tipp, but this issue is somewhat different because it happens even for two totally fresh projects created by the CLI (which surely do not use any AOT-incompatible code).
And as stated in the issue, it happens only of you use NPM  Link to reference the two projects. When I use for example NPM pack and install the generated tarball in the other project, everything works fine.
We tried on Linux as well, there the issue exists as well. When referencing the tarball, everything works as expected. When using NPM link, ng build fails.
For our project it's really a pain that we cannot use NPM link any more. This slows us down tremendously.
best regards,
Markus

If it works without npm link, then you might be getting https://github.com/angular/angular-cli/issues/3847 or a number of the other issues we have with npm link.

authors: filipesilva markuseckstein


text:
Root Component prefix and other Component prefixes should be consistent and pass ng lint

We need to think how this should work. Consistency is key, IMO
When I generate a new app and create components, the prefixes are not consistent and therefore ng lint barks that we have inconsistent prefixes.
ng new force
cd force
ng g c foo
ng g c bar

We now have

ForceAppComponent with a selector of force-app
FooComponent with a selector of app-foo
BarComponent with a selector of app-bar

Then we add an ng lint rule in tslint.json like this (so we can follow the guide)
    "component-selector-prefix": [
      true,
      "app"
    ],

If we run ng lint we hear
$ ng lint
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.

> force@0.0.0 lint /Users/john/_play/tmp/force
> tslint "src/**/*.ts"

src/app/bar/bar.component.spec.ts[38, 13]: The selector of the component "BarComponentTestController" should have prefix "app", however its value is "test".
src/app/foo/foo.component.spec.ts[38, 13]: The selector of the component "FooComponentTestController" should have prefix "app", however its value is "test".
src/app/force.component.ts[5, 13]: The selector of the component "ForceAppComponent" should have prefix "app", however its value is "force-app".

cc @mgechev @Brocco  @wardbell

cc @cburgdorf

This conversation has already been started and the current solutions being proposed are:

Change the app component's selector to use a prefix of app instead of a suffix. So the root/app component would end up being app-force in based upon the above example

Slight variation of prefixing a discrete value of app would be to use the optional --prefix argument's value to prepend to the root component's selector

Leave the suffix of app as is and also prefix with the configured --prefix value (app by default). The resulting app component's selector could end up being app-force-app.

Modify codelyzer to ignore/not check the root component's selector. In this case the selector for the app component could remain force-app

Obsolete issue, implemented as of now.

FYI codelyzer now supports multiple prefixes https://github.com/mgechev/codelyzer/commit/91c952225c496e0ec3c6a0d4043be1fc99dd203a.

@mgechev sweet! Could you make a PR adding the prefix rule?

@filipesilva I'll do that as soon as I get a chance.

authors: Brocco PascalPrecht filipesilva johnpapa mgechev


text:
bundle size with prod and sourcemaps vs prod

Hello;
well thanks for that great cli; and let us go straight to the point;
I have an app and I have done two builds with those commands
ng build --prod
Resultat : main.bundle.js is 4,94 MB

ng build --prod --sourcemaps
Resultat:  main.bundle.js is 2.82MB

is that normal?
package.json
"dependencies": {     "@angular/animations": "5.0.0",     "@angular/common": "5.0.0",     "@angular/compiler": "5.0.0",     "@angular/core": "5.0.0",     "@angular/forms": "5.0.0",     "@angular/http": "5.0.0",     "@angular/platform-browser": "5.0.0",     "@angular/platform-browser-dynamic": "5.0.0",     "@angular/router": "5.0.0",     "angular-2-local-storage": "1.0.1",     "bulma": "0.6.2",     "bulma-tooltip": "0.1.2",     "core-js": "2.5.3",     "devextreme": "17.2.5",     "devextreme-angular": "17.2.5",     "leaflet": "1.3.1",     "leaflet-draw": "^0.4.14",     "ngx-breadcrumbs": "0.0.3",     "osmtogeojson": "3.0.0-beta.2",     "rxjs": "5.5.6",     "zone.js": "0.8.20"   },   "devDependencies": {     "@angular/cli": "1.6.6",     "@angular/compiler-cli": "5.0.0",     "@angular/language-service": "5.0.0",     "@types/jasmine": "2.5.53",     "@types/jasminewd2": "~2.0.2",     "@types/node": "6.0.96",     "codelyzer": "4.1.0",     "jasmine-core": "~2.6.2",     "jasmine-spec-reporter": "4.1.0",     "karma": "1.7.0",     "karma-chrome-launcher": "2.1.1",     "karma-cli": "1.0.1",     "karma-coverage-istanbul-reporter": "1.4.1",     "karma-jasmine": "1.1.0",     "karma-jasmine-html-reporter": "0.2.2",     "protractor": "5.1.2",     "ts-node": "3.2.0",     "tslint": "5.7.0",     "typescript": "2.4.2"   }

I tried testing this on a project and didn't find a difference in JS bundle sizes between ng build --prod and ng build --prod --sourcemaps. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

the cause was devextreme imports, it is fixed
Thank you

authors: filipesilva mouradghafiri


text:
对于可能的angular2启动错误问题的解决

我的angular 1.0.0不能启动，后来搜索了网上大家的办法。
Windows环境下：
1.首先确认下 PATH环境变量有没有angular2里的node_module下的.bin目录，没有的话添加上去，然后在运行，看看如果还出错的话，错误信息也没有变化。（一般这个办法对应的ENOXXX这个错误）。
2.更改package.json文件
"scripts": {
"start": "tsc && concurrently "npm run tsc:w" "npm run lite" ",
"lite": "lite-server",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
},
to
"scripts": {
"start": "concurrently "npm run tsc:w" "npm run lite" ",
"lite": "lite-server",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"typings": "typings"
},
非Windows系统。
要修改系统的watch数量。。
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
最后个方法，直接用lite-server（不能启动lite-server多半是PATH的问题）启动，angular2的模块是可以加载了，不过我不太确定这样会不会缺少一些其他模块。

这是关于什么的问题？

关于angular2启动报错的，google了2天总结的。。。jonepapa说这个算是少部分情况发生

还是没看懂，能详细说一下来龙去脉吗？这是本文档的问题还是交流心得？如果是心得交流，请来我们的Angular中文社区QQ群：278252889

有小部分人包括我，在angular2官网安装quickstart，那些启动文件都下载完了但是不能启动。。

不能启动的原因可能有很多，可能是环境的问题，可能是设置的问题，也可能是版本的问题等等。如果你已经找到了问题的解决方案，你可以考虑详细写一下问题表象是什么，原因是什么，解决方案又有哪些，为何这些方案可以解决这个问题等。这样可以帮助有同样问题的网友。
如果你需要帮助，就需要告诉我们问题何在，如何再现问题，只有这样，我们才能帮助你。

你用angular-cli  看看

angular-cli貌似安装很麻烦，cnpm也没用。
我可以把angular-cli的beta14版（正式版的库）的全局文件传到群里，你们粘贴到全局目录就可以用了

我从git上clone的代码，然后就启动不了，刚开始把e2e文件删了，可以启动了，后来按照快速起步添加了一些代码，又不行了，然后按照楼主说的，修改了"start": "concurrently "npm run tsc:w" "npm run lite" ",可以了

repo: angular/angular-cn


text:
Not at all installing

Tried installing seed and below is the issue

angular-seed@0.0.0 postinstall C:\Users\H156759\IdeaProjects\SpringbootClient
bower install

bower angular-mocks#~1.5.0      ENOGIT git is not installed or not in the PATH
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.1.3
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0
npm ERR! code ELIFECYCLE
npm ERR! angular-seed@0.0.0 postinstall: bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-seed@0.0.0 postinstall script 'bower install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-seed
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-seed
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\H156759\IdeaProjects\SpringbootClient\npm-debug.log

corrected the git installation of my machine and now the seed is working fine.

repo: angular/angular-seed


text:
Test script error in Webpack guide docs

The script to run karma in package.json is "test": "karma start", but the config file is not in the current directory, so it would not find it. "test": "karma start config/karma.conf.js" should work.

You have to create a karma.conf.js at root. It is specified in the guide.

authors: Foxandxss alexurdea


text:
Request to update quickstart to RC6

As per CHANGELOG.md, RC6 is released yesterday. However, quick-start guide is not updated. Still referring to RC5. Could anyone please update quick-start article for RC6?
https://angular.io/docs/ts/latest/quickstart.html

Everything will be updated shortly


text:
AngularJS number $filter issue for numbers with 20 and 21 digits

I use AngularJS $filter to format a number to 2 decimal places per the code below
$filter('number')(n, 2)

When 'n' is 20 or 21 digits long, the result of the above expression is NaN.
No issues when 'n' is less than 20 digits or more than 21 digits (for more than 21 digits, the above expression is displayed in scientific notation)
Any thoughts on how to fix the NaN issue for 20 and 21 digit numbers?

@rajeshroshan thnx for reporting. We've got an issue already for this one (https://github.com/angular/angular.js/issues/8674), unfortunately it is not trivial to fix :-/
Closing as duplicate of #8674 to centralise the discussion.

authors: pkozlowski-opensource rajeshroshan


text:
Setting ng-animate-children="false" doesn't work within ng-if

See this plunkr:
https://plnkr.co/edit/7qDiemoxZhXMHnf8JpdH?p=preview
There is an ng-animate-children="true" directive applied to the <body> element, and a second ng-animate-children="false" directive applied to a descendant <ul> element. Despite the presence of this second, overriding directive, the list items continue to animate when their containing panel's visibility is toggled.

Looks like a valid bug. When ng-animate-children is on or inside an ng-if, the value only gets set after the animateQueue checks if the animations are allowed.

authors: Narretz jonrimmer


text:
Data disappears when switching components

Angular: 5.0.0
Firebase: 4.10.1
Angular Fire: 5.0.0-rc.6
How to reproduce this conditions
https://stackblitz.com/edit/angular-route-firstore-table-xccgk8

Steps to reproduce the condition

Create two components
Create angular material tables in separate components
Create  services to query data from firestore to table
Connect the components to buttons
Try switching the components by clicking on the buttons

Data is lost from the table when switching components
Debug Ouput
** Errors in the JavaScript console **
No errors in the console.
Expected behavior
The data in the table should display when I switch components
Actual behavior
The data in the table is lost after switching the components

I think the issue is that you subscribe in your component but you don't ever unsubscribe.
  ngAfterViewInit() {
    this.saleServe.getSales().subscribe(sales => {
      this.sale = sales;
    });
  }

Can you try using the async pipe in your view instead?
  ngAfterViewInit() {
    // switch this to an Observable<Sale[]> not just an array
    this.sales = this.saleServe.getSales();
  }

Then in your view you can unwrap the async value with the async pipe.

ok, will do the modification asap

Thanks very much, the issue has been resolved


text:
bug(MatFormField): MatSuffix does not align with input text with appearance "outline"

Bug, feature request, or proposal:
When using a MAtFormField with appearance "outline" and a matSuffix the suffix is not aligned with the input text
What is the expected behavior?
The suffix should align with the input text
What is the current behavior?
The text is not aligned
What are the steps to reproduce?
https://stackblitz.com/edit/angular-inhpxm-besr6m
What is the use-case or motivation for changing an existing behavior?
Fix alignment
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
All?
Is there anything else we should know?

cc @devversion @mmalerba

updated #12803 to reflect the priority of this issue, will post an update there

authors: jelbourn jermowery mmalerba

repo: angular/components


text:
Input elements are leaking as Detached DOM nodes

In my application I am using some material form fields with input element when I navigate to next route and I observe taking heap snapshot I see left over DOM nodes as detached DOM nodes from the first route. If I do the same navigating back and forth between these two routes the leaked nodes are increasing.
I did the same steps with https://material.angular.io/components/input/overview and the result is the same.

Browser: Google Chrome - Version 92.0.4515.107 (Official Build) (64-bit)

I tried this out against our local development app and the inputs seemed to be cleaned up as expected. Checking this against material.angular.io can be misleading, because we have to create a bunch of input element in memory and keep them around in order to facilitate the "Open in Stackblitz" functionality. See https://github.com/angular/material.angular.io/blob/master/src/app/shared/stack-blitz/stack-blitz-writer.ts#L131.
Also could this be related to https://github.com/angular/angular/issues/41047?

@crisbeto input elements are leaking when you keep focus on it once, if you never focus on it is not leaking as detached DOM nodes.

ok, this sounds like https://github.com/angular/angular/issues/41047. I'll close this issue since we can't do much about it on our end.


text:
Checkbox Check Bug

Bug, feature request, or proposal:
Bug: The checkboxes do not actually check, even though their value and click event is rendered correctly. I am creating the check boxes from an ng-for loop and associating them with a form group and form controls (there will be additional validation and dynamic funkiness later but for now it is just basic overkill).
What is the expected behavioror?
Checkbox will toggle visually once clicked
What is the current behavior?
Checkbox remains blank even though value is true.
What are the steps to reproduce?
CSS Grid: https://angular-yc9efv-qhovd8.stackblitz.io
HTML Table: https://angular-yc9efv.stackblitz.io
What is the use-case or motivation for changing an existing behavior?
Check goes in the box
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Latest All.
Is there anything else we should know?

It's because you're setting a class on the checkbox like this: class="{{'checkbox-' + item.designator}}". What it ends up doing is that it'll override all of the Material classes on the checkbox element. You can assign the class like this to avoid the issue: [ngClass]="'checkbox-' + item.designator".

authors: crisbeto flaglerkid


text:
add backdropClick @Output in dialog

Bug, feature request, or proposal:
Sidenav has an @Ouput backdropClick :

This is very handy when using ngrx for example so we can dispatch an action and keep a trace in UI reducer of the sidenav.
It would be very convenient to have such an output with the dialog component.

https://github.com/angular/material2/issues/3251

Yeah, looks like dupe of #3251. We'll keep tracking it there, but thanks for reporting.

@maxime1992 https://github.com/angular/material2/pull/3460

authors: fxck kara maxime1992


text:
docs(browser-support): split browser support into its own docs section

@sjelin could you take a look?

LGTM

Thanks! Merged as ec985d2a355aa55f398c018aa5392ea296f07486

authors: juliemr sjelin

repo: angular/protractor


text:
fixate header

not actual

repo: ani-team/github-client


text:
[Enhancement Request]: Possibility to define a default file name

Type
GUI
Suggestion
If we want a personalized file name, we need to change it whenever a new item is added to the queue. It would be interesting to have this option within the settings so we can use a pre-defined pattern.
In my case, for example, I always remove the provider name. So if I'm going to download the new episodes of 10 items, I need to adjust the name one by one.

Set the fileName property in cli-default.yml https://github.com/anidl/multi-downloader-nx/blob/master/docs/DOCUMENTATION.md#--filename

repo: anidl/multi-downloader-nx


text:
[DOCS] Add CONTRIBUTING.md

Description
This commit updates the CONTRIBUTING.md file in the repository to provide clear guidelines for contributing to the project. The changes include the following:

Added a section on how to report bugs and issues, including steps for reproducing them and providing relevant information.
Included instructions on how to suggest new features or improvements, including the preferred format for feature requests.
Clarified the code formatting and style guidelines to ensure consistency across contributions.
Provided examples and explanations on how to submit pull requests, along with the necessary steps for the review process.
Added a section on how to communicate effectively with the project maintainers and other contributors, emphasizing the importance of respectful and constructive discussions.

Screenshots

Additional information
These updates aim to streamline the contribution process and provide contributors with clear instructions on how to get involved. The goal is to foster a welcoming and collaborative environment for anyone interested in contributing to the project.

ok

I have added this file can you please review it and close this issue by accepeting and merging the pull request under GSSoC'23

repo: anmode/grabtern-frontend


text:
[Featurev]UseContext API depricate using LocalStorage.

We will be using cookie and context API for state management.

@archiejain28 please review it!

Hi @anmode , I've reviewed it, PR looks fine


text:
Fix array out of bounds in hpack

This PR stops the server from hanging when a response has a non-empty www-authenticate header.
PS: I was not able to easily run ocamlformat for this PR, so you may need to run it.

Thank you! Could you provide more information as to how you came across this bug?
Ideally we would be able to craft a test that exposes the problem so that we don't regress in the future.

PS: I was not able to easily run ocamlformat for this PR, so you may need to run it.

I just pushed a commit fixing this.

Thank you! Could you provide more information as to how you came across this bug?
Ideally we would be able to craft a test that exposes the problem so that we don't regress in the future.

I came across this bug in a test that was trying to send a response with the www-authenticate header. I've added a test to my PR for this.

Thanks for adding a test! I checked out the PR locally, and the fix makes sense.
I made a small modification to your patch that avoids allocating an option type when the static table entry is found.

Thank you!

Thanks again!

authors: anmonteiro jonathanjameswatson


text:
[BUG] Le filtre "société à mission" ne fonctionne pas

Sujet du problème
Le filtre "société à mission" ne fonctionne pas
Comment le reproduire ?
Étapes à suivre pour faire apparaître le bug :

Aller à https://annuaire-entreprises.data.gouv.fr/rechercher
Cliquer sur "streructure" puis "société à mission"

Comportement attendu
afficher l'ensemble des sociétés à mission
Comportement actuel
résulat vide
Screenshots
Le cas échéant, ajoutez des captures d'écran pour aider à expliquer votre problème.

Bonjour Maxime,
Nous vous remercions pour votre message.
Nous sommes en cours de résolution de ce problème.
Il dépend cependant d'une autre administration qui nous fournit cette donnée.
Nous vous tiendrons au courant de sa résolution.
Cordialement,
L'équipe de l'Annuaire des Entreprises

repo: annuaire-entreprises-data-gouv-fr/site


text:
🛑 Pedtalant is down

In 1501c14, Pedtalant (https://педталант.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pedtalant is back up in 7aa6433 after 16 minutes.

repo: ano-pedproject/repo


text:
🛑 Pedacademy is down

In b15aed2, Pedacademy (https://педакадемия.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pedacademy is back up in 98c1ed2 after 26 minutes.


text:
add monitoring to Anoma

Tendermint uses Prometheus for monitoring, which we're going to be using in https://github.com/heliaxdev/anoma-network-init/issues/6.
For Anoma's stuff that's not part of Tendemint (rockDB, wasm caches, etc.), we can possibly also use Prometheum, maybe via https://crates.io/crates/prometheus

duplicate of #628

repo: anoma/anoma


text:
print tendermint log to stdout only if ANOMA_TM_STDOUT=true

trying to hide the TM stdout to see if it maybe helps a bit with flakiness in our e2e tests.
Repeatedly running the CI, we got 19 e2e successes and 1 failure.

merged via https://github.com/anoma/namada/pull/222


text:
Create dongqn.toml for tesntet-15

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[ ] Only one toml is added in this PR
[ ] The file being added is indeed a .toml file
[ ] The toml being added is to the correct folder, and only to the correct folder
[ ] The eth_hot_key and eth_cold_key are present
[ ] The email, discord, elements telegram, and twitter fields are present and valid

This validator was not recognised as a previous validator and has update in the title. Please read the description.

authors: bengtlofgren dongqn

repo: anoma/namada-testnets


text:
Update cyberalex.toml

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Thanks in advance!
Checklist before merging

[x] Only one toml is added in this PR
[x] The file being added is indeed a .toml file
[x] The toml being added is to the correct folder, and only to the correct folder
[x] The eth_hot_key and eth_cold_key are present
[x] The email, discord, elements telegram, and twitter fields are present and valid

Successfully validated transactions.toml file for commit hash f1bab46


text:
Add NodesGuru as a genesis validator

Identifying Information

Validator Company : Nodes.Guru
Twitter link: https://twitter.com/NodesGuru
Website: https://stake.nodes.guru
Discord Username : 0xAN | Nodes.Guru#9991
Email Address : andreym@nodes.guru

Merged manually, please be ready at 17:00 UTC!

authors: adrianbrink kinrokinro


text:
Congratulate!

Hi, just to say congratulation.
I just see "Tiny Glade" on Stream and the gameplay trailer video, and it reminds me of a game demo written in rust which I have played a few month(maybe years?) ago. But I can't recall the name of the original demo(sorry for forgeting to star this repo :-P).
So I start to search the information about the developers of the game, and finally find this repo out.
I'm so happy that this demo grows into a real game. And I'm looking forward to playing the game sooner!

Late to the party but damn this is so cool stuff.  Thank you for making this and sharing this and just everything!

authors: ZenToad eZioPan

repo: anopara/country-slice


text:
update python packaging: stop using "setup.py"

/usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)

/usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(

Adress these at minimum.
Since this affects what downstream distros have available, make sure to get a green light from downstream maintainers.

setuptools is PEP-517 compliant, so there's no issue with continuing to use setuptools.
If you like, I can file a PR that combines setup.cfg and setup.py into the recommended PEP-517 pyproject.toml.
(I'm one of the downstream maintainers of ansible-bender for Arch Linux)

that would be perfect and so kind of you, I'd highly appreciate that

pyproject.toml metadata support is still kinda in beta so you may want to be careful with it.

UPD: it's no longer in beta FYI. Though I personally still prefer a dedicated setup.cfg.
FWIW here's a few new and refreshed documents we posted on PyPUG:

https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
https://packaging.python.org/en/latest/guides/modernize-setup-py-project/

authors: TomasTomecek grawlinson webknjaz

repo: ansible-community/ansible-bender


text:
Add multiple TCP listeners

This adds the variable vault_tcp_listeners, see https://github.com/ansible-community/ansible-vault/issues/208
This variable holds the attributes for all Vault TCP listeners. Per default, the first listener is a fallback to the initially defined standard variables. Additional listeners can be added to the list as needed.

@bbaassssiiee any chance we can make progress on this suggestion? I would love to have your feedback on that topic. Thanks already.

Please rebase your fork to master to check your PR with our new molecule checks.

repo: ansible-community/ansible-vault


text:
Cups x11 2.2.4

when running on a vm with rhel7 with cups+x11 installed it fails to uninstall cups because it checks for it too early, and its then removed in dependency chain by something else.
could not find the requested service cups: host
a subsequent execution of the playbook clears the issue, but this is less than ideal

Hello,
I wanted to reach out and let you know that this issue is being closed. We have re-worked the role and want to start with a fresh issues list with this latest version. There was a post in the Ansible-Lockdown google group (https://groups.google.com/g/ansible-lockdown) with the details of the changes that are coming. Please checkout the thread titled RHEL 7 CIS and STIG Changes for all of the details, I also have the message pasted at below.
Please as you use the latest version and open issue tickets as you find them, it is the best way for us to improve the role for everyone. Thank you for being part of the community and providing awareness of problems or advice on improvement. Reporting is a huge part of improving this project.

Hello,
Thank you to everyone in the Ansible-Lockdown community who has contributed to RHEL7 STIG/CIS. Our team at MindPoint Group has been working with the entirety of the Ansible-Lockdown project, and we have some significant updates for both RHEL 7 STIG and CIS. With these updates, some larger changes have been made. I have these changes/updates outlined below.
Testing:

CI/CD - We have implemented some automated testing pipelines to test pull requests into the devel and main branches. With the current workflow, the community will PR into the devel branch (never the main branch) for review by the administrators. When your PR is created, the first check will remain the DCO check. The second check is a functional testing pipeline that will automatically perform a functional test of the branch the PR is initiated from. Once both tests pass, someone from the Administrator Team will review the changes and merge them into the devel branch. From there, an additional review is completed before the devel branch is merged into the main branch. Only the Admin Team will perform PRs/merges into the main branch. There is also an automated pipeline for PRs from devel to main. Please do not edit the .github/workflows files since those are used as part of the pipeline.
Compliance Checking – MindPoint Group has been working to create our own compliance audit scan tool. The tool uses a goss framework executable to run custom checks that we have created. The goal is to provide a more thorough check for control compliance and decrease the number of false positives/negatives. For example, it will check the configuration file related to the control and as well as checking if that configuration is active. With a smarter scan, we can hopefully identify attempts to trick scanners as well (for example stacking a parameter in a config file where the first instance is enabled and second disabled. Most audit tools search for the first instance but the application might look for the last instance of the parameter, thus making the scanning tool think it's enabled). In testing, we have found that our audit scan runs significantly faster than other audit tools, reducing audit times. Our audit tool and profiles will have their own repositories in the Ansible-Lockdown org, but within the remediation role there will be an integrated way to incorporate the audit. Keep an eye out for the audit tools as they are released. We plan on developing a goss audit profile for each current remediation role. Going forward, we plan to release a remediation role and goss audit tool profile simultaneously.
Role Updates:
RHEL 7 STIG/CIS – We have re-written much of the RHEL 7 STIG and CIS roles to increase clarity and readability and address some functionality items. We performed these updates while creating our goss testing framework for each of these roles. We plan on pushing our update to the devel and main branches. We will move the current devel and master branches to a devel_stable_ and master_stable_ branch in the respective repositories. Accordingly, community members who rely on the current version can still use that version going forward; this process will not remove what is currently there. The latest versions of the roles have also been updated to comply with the latest benchmarks.
Role Architecture – All roles will change with regard to the structure in the tasks folder. Taking CIS as an example, there will be a folder per section and yaml files for each sub-section. For example control 1.2.1 in CIS will be located in RHEL7-CIS/tasks/section_1/cis_1.2.x.yml. The cis_1.2.x.yml file will contain all controls related to section 1.2.x. This will hopefully make updates to roles a bit easier with less risk. This matches the architecture of our audit tool, creating consistency across remediation and audit platforms. The end goal is to repeat this architecture (the best we can) on STIG roles, but we are starting with CIS.
Existing PRs and Issues – With all of these changes comes the task of cleaning up existing PR’s and issues. Our plan is to close all of the existing PR’s and issues because of the re-work. Our team is growing and should be able to stay on top of the new issues and PRs as they come in.
Again, I would like to thank the community for your involvement in this project. The input and work from the community has contributed significantly to the success of this project. Please keep an eye out for these changes, which will be rolling out in the coming weeks.

authors: chrisns georgenalen


text:
[Rules] Rule documentation

similar to ansible-lint (https://ansible-lint.readthedocs.io/rules/)

implemented.
https://github.com/ansible/ansible-risk-insight/blob/main/docs/customize_rules.md

repo: ansible/ansible-risk-insight


text:
feat: [AAP-9829] added run_workflow_template action

Added support for run_workflow_template action
This is similar to run_job_template.
https://issues.redhat.com/browse/AAP-9829

Thanks Mkanoor, looks good to me!
Is it worth mentioning this addresses https://github.com/ansible/ansible-rulebook/issues/414?

repo: ansible/ansible-rulebook


text:
[AAP-9727] Remove /tasks endpoint

remove /tasks endpoints
remove /inventory model

JIRA: AAP-9727

@Dostonbek1 @Alex-Izquierdo @hsong-rh There are references to the import_task_id in ansible/ui repo, there is also an openapi.json in that repo we would have to check with @lgalis  on this
The E2E tests are also failing because of this change. https://github.com/ansible/eda-server/actions/runs/7846940638/job/21414768516?pr=657

The main problem right now is the generation of the new openapi spec. @Dostonbek1 is looking it. I understood that he did the double check with @lgalis

authors: Alex-Izquierdo Dostonbek1 mkanoor

repo: ansible/eda-server


text:
lang: add sk_SK translation

[x] backend
[x] frontend

@haitaoo can you merge this?

repo: answerdev/answer


text:
Remove branch-dependency for sphinx-autoapi

Once its merged, we should remove this "branch dependency" defined in the https://github.com/ansys/pyansys-geometry/blob/main/doc/make.bat

Related branch - https://github.com/jorgepiloto/sphinx-autoapi@feat/single-page-option
Related PR - https://github.com/readthedocs/sphinx-autoapi/pull/399

We are now using an official alpha version of sphinx-autoapi. Closing after #995

repo: ansys/pyansys-geometry


text:
fix: update enhanced meshing interface

Some bug fixes related to the enhanced meshing workflow interface.

We can add some meshing workflow tests by disabling the cache - that will test the PyConsole behaviour.

repo: ansys/pyfluent


text:
Having problem importing material properties from xml file and heat flux from csv file

Hi there,
I am trying to automate a series of steady state thermal simulations with a same geometry and different heat flux boundary conditions imported from a CSV file. I have created a PyMechanical script attached below. My problem is that I couldn't find out how to import the material .xml file and the heat flux data from CSV file. In workbench I was using the Engineering Data and External Data to import these data, but I don't know how to do it in PyAnsys. The CSV file includes the X,Y,Z coordinates and the heat flux value for each coordinate. Can you please help me add the necessary commands to import these data appropriately.
I have an open Service Request 11421277844 on Ansys Support, but I was directed to GitHub Issues for PyMechanical.
The script is attached below and as a txt file.
Thanks a lot,
Amir
# Steady State Thermal analysis

import os

from ansys.mechanical.core import launch_mechanical

geometry_path = "C:\\ANSYS\\Geometry.scdoc"
material_path = "C:\\ANSYS\\Material.xml"     # Don't know how to use it
heat_flux_path = "C:\\ANSYS\\power_map.csv"   # Don't know how to use it

###############################################################################
# Launch Mechanical
# ~~~~~~~~~~~~~~~~~
# Launch a new Mechanical session in batch, setting ``cleanup_on_exit`` to
# ``False``. To close this Mechanical session when finished, this example
# must call  the ``mechanical.exit()`` method.

mechanical = launch_mechanical(batch=True, cleanup_on_exit=False)
print(mechanical)

###############################################################################
# Initialize variable for workflow
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Set the ``part_file_path`` variable on the server for later use.
# Make this variable compatible for Windows, Linux, and Docker containers.

project_directory = mechanical.project_directory
print(f"project directory = {project_directory}")

# Upload the file to the project directory.
mechanical.upload(file_name=geometry_path, file_location_destination=project_directory)

# Build the path relative to project directory.
base_name = os.path.basename(geometry_path)
combined_path = os.path.join(project_directory, base_name)
part_file_path = combined_path.replace("\\", "\\\\")
mechanical.run_python_script(f"part_file_path='{part_file_path}'")

# Verify the path
result = mechanical.run_python_script("part_file_path")
print(f"part_file_path on server: {result}")

###################################################################################
# Execute the script
# ~~~~~~~~~~~~~~~~~~
# Run the Mechanical script to attach the geometry and set up and solve the
# analysis.

output = mechanical.run_python_script(
    """
import json

# Import Geometry

geometry_import_group_1 = Model.GeometryImportGroup
geometry_import_1 = geometry_import_group_1.AddGeometryImport()

geometry_import_1_format = Ansys.Mechanical.DataModel.Enums.GeometryImportPreference.Format.Automatic
geometry_import_1_preferences = Ansys.ACT.Mechanical.Utilities.GeometryImportPreferences()
geometry_import_1.Import( part_file_path, geometry_import_1_format, geometry_import_1_preferences)

# Import material properties and assign them

      ## How to import material properties from an XML file?
with Transaction(True):
    body_1 = DataModel.GetObjectsByName('SYS\Part1')[0]
    body_1.Material = "Indium"

with Transaction(True):
    body_2 = DataModel.GetObjectsByName('SYS\Part2')[0]
    body_2.Material = "Silicon"

# Define Steady state thermal analysis

Model.AddSteadyStateThermalAnalysis()
ST_STA = Model.Analyses[0]
CS_GRP = Model.CoordinateSystems
ANALYSIS_SETTINGS = ST_STA.Children[0]
SOLN= ST_STA.Solution

ExtAPI.Application.ActiveUnitSystem = MechanicalUnitSystem.StandardMKS
ExtAPI.Application.ActiveAngleUnit = AngleUnitType.Radian

# Model Named Selections

Part2_bot = Model.NamedSelections.Children[0]
Part1_bot = Model.NamedSelections.Children[1]

# Model connections
connections_1 = Model.Connections
connection_group_1 = connections_1.AddConnectionGroup()
connection_group_1.ToleranceType = ContactToleranceType.Value
connection_group_1.ToleranceValue = Quantity(0.001, "mm")

MSH = Model.Mesh
MSH.ElementSize =Quantity("1.0 [mm]")
MSH.GenerateMesh()

# Import heat flux from external data .csv file
    ##### How to import the heat flux data from csv file?

imported_load_1 = ST_STA.AddImportedLoadExternalData()
imported_load_1.GetExternalDataFiles

heat_flux_1 = imported_load_1.AddImportedHeatFlux()
heat_flux_1.Location = Part1_bot
heat_flux_1.ImportLoad()

# Add heat transfer
convection_1 = ST_STA.AddConvection()
convection_1.Location = Part2_bot
convection_1.FilmCoefficient.Output.SetDiscreteValue(0, Quantity(0.001, "W mm^-1 mm^-1 K^-1"))
convection_1.AmbientTemperature.Output.SetDiscreteValue(0, Quantity(35, "C"))

Temp_1 = ST_STA.Solution().AddTemperature()
ST_STA.Solution.Solve(True)

temperature_details = {
"Minimum": str(Temp_1.Minimum),
"Maximum": str(Temp_1.Maximum),
"Average": str(Temp_1.Average),
}

json.dumps(dir_deformation_details)
"""
)
print(output)

###############################################################################
# Download output file from solve and print contents
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Download the ``solve.out`` file from the server to the current working
# directory and print the contents. Remove the ``solve.out`` file.
def get_solve_out_path(mechanical):
    solve_out_path = ""
    for file_path in mechanical.list_files():
        if file_path.find("solve.out") != -1:
            solve_out_path = file_path
            break

    return solve_out_path

def write_file_contents_to_console(path):
    with open(path, "rt") as file:
        for line in file:
            print(line, end="")

solve_out_path = get_solve_out_path(mechanical)

if solve_out_path != "":
    current_working_directory = os.getcwd()

    local_file_path_list = mechanical.download(solve_out_path, target_dir=current_working_directory)
    solve_out_local_path = local_file_path_list[0]
    print(f"Local solve.out path : {solve_out_local_path}")

    write_file_contents_to_console(solve_out_local_path)

    os.remove(solve_out_local_path)

###########################################################
# Close Mechanical
# ~~~~~~~~~~~~~~~~
# Close the Mechanical instance.

mechanical.exit()

example_01_steady_state_thermal_solve.txt

I found the command for importing the material data from Example_06 which  are:
MAT = ExtAPI.DataModel.Project.Model.Materials
MAT.Import(mat_Copper_file_path)
MAT.Import(mat_Steel_file_path)

However, when I run this example I get the following error:
_MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.UNKNOWN
	details = "'Materials' object has no attribute 'Import'"
	debug_error_string = "UNKNOWN:Error received from peer  {created_time:"2023-07-07T15:44:16.840381658+00:00", grpc_status:2, grpc_message:"\'Materials\' object has no attribute \'Import\'"}"

Materials.Import is only supported from Ansys 2023R2 onwards. Prior to that version, we have a workaround. See the file src/ansys/mechanical/core/embedding/shims.py for more information.

@koubaa Hi Mohamed. Thanks, I used the jscript as a workaround to import the material until the R23R2 is released. I have another issue that is mentioned in the original post for importing external data. I use the following script and I get an error:
Model.AddSteadyStateThermalAnalysis()
ST_STA = Model.Analyses[0]
imported_load_group_104 = ST_STA.AddImportedLoadExternalData()
external_data_files = Ansys.Mechanical.ExternalData.ExternalDataFileCollection()
external_data_files.SaveFilesWithProject = False
external_data_file_1 = Ansys.Mechanical.ExternalData.ExternalDataFile()
external_data_files.Add(external_data_file_1)
external_data_file_1.Identifier = "File1"
external_data_file_1.Description = ""
external_data_file_1.IsMainFile = True
external_data_file_1.FilePath = r"C:\\Ansys\\CCD_power_map.csv"
external_data_file_1.ImportSettings = Ansys.Mechanical.ExternalData.ImportSettingsFactory.GetSettingsForFormat(MechanicalEnums.ExternalData.ImportFormat.Delimited)
import_settings = external_data_file_1.ImportSettings
import_settings.SkipRows = 0
import_settings.SkipFooter = 0
import_settings.Delimiter = ","
import_settings.AverageCornerNodesToMidsideNodes = "True"
import_settings.UseColumn(1, MechanicalEnums.ExternalData.VariableType.XCoordinate, "mm", "X Coordinate@B")
import_settings.UseColumn(2, MechanicalEnums.ExternalData.VariableType.YCoordinate, "mm", "Y Coordinate@C")
import_settings.UseColumn(3, MechanicalEnums.ExternalData.VariableType.ZCoordinate, "mm", "Z Coordinate@D")
import_settings.UseColumn(4, MechanicalEnums.ExternalData.VariableType.HeatFlux, "W m^-2", "Heat Flux@E")
imported_load_group_104.ImportExternalDataFiles(external_data_files)
imported_heatflux_111 = imported_load_group_104.AddImportedHeatFlux()
imported_heatflux_111.Location = CCDs_NS
imported_heatflux_111.Import()

The error screenshot is attached. Do you know what might be wrong that causes this error? The error is for imported_load_group_104.ImportExternalDataFiles(external_data_files) which is AttributeError:'NoneType' object has no attribute 'ImportExternalDataFile'

Found the issue through Ansys Support. The problem was I was not using the Stand alone version of Mechanical using the following command:
'C:\Program Files\ANSYS Inc\v231\aisol\Bin\winx64\AnsysWBU.exe' -DSApplet -AppModeMech

authors: ambehnam koubaa

repo: ansys/pymechanical


text:
更新一下贡献指南

背景

现在的贡献指南似乎并不适配当前的项目，想贡献有点找不着头脑
贡献指南
期望

思路

这里忘记改了， 可以先看官网的贡献指南
https://ant-design-mini.antgroup.com/guide/contribute

已更新地址

authors: DiamondYuan SanGuiChen

repo: ant-design/ant-design-mini


text:
[Bug] WalletConnect showQrModal 为 true 时，出现两个弹窗

What happens?

当 showQrModal 配置不为 false 时，会使用 WallectConnect 自带的 web3modal 弹窗，但是我们自己的弹窗不会消失。

How To Reproduce
https://web3.ant.design/components/ethereum-cn#使用-web3modal-连接-walletconnect

我无法从createConfig 配置出来的 wagmi config 里面拿到东西判断 showQrModal 的配置，有点坑，我提一个 pr 上来用 dom 上面的 className 判断，看看大家有没有更好的。

我无法从createConfig 配置出来的 wagmi config 里面拿到东西判断 showQrModal 的配置，有点坑，我提一个 pr 上来用 dom 上面的 className 判断，看看大家有没有更好的。

不需要这样判断，有一个属性 useWalletConnectOfficialModal ，用户手动指定就行，只是现在这个属性没生效。

感觉 https://github.com/ant-design/ant-design-web3/issues/919 这个 issue 可以推进下了，不直接暴露 wagmi 的配置给开发者，这样就不会有这样的问题了，现在开发者需要同时维护 wagmi 和 web3 的配置，两边配置需要匹配，确实容易出错。

感觉 #919 这个 issue 可以推进下了，不直接暴露 wagmi 的配置给开发者，这样就不会有这样的问题了，现在开发者需要同时维护 wagmi 和 web3 的配置，两边配置需要匹配，确实容易出错。

正在做重构

authors: ONLY-yours jeasonstudio yutingzhao1991


text:
Release downloads version mismatch

https://github.com/antares-sql/antares/releases/tag/v0.7.25
Antares-0.7.24-mac_x64.dmg
Antares-0.7.24-mac_x64.dmg.blockmap
Antares-0.7.24-mac_x64.zip
Antares-0.7.24-mac_x64.zip.blockmap

Thanks for the report.
I re-uploaded the right artifacts.

repo: antares-sql/antares


text:
Feature: Documentation page

Adding documentation site for shortest. (In progress...)
preview:
https://shortest-7tcj8fo3j-gumroad-dbdbd10c.vercel.app/docs/getting-started/introduction
New changes:

Added MDX based docs
Add support for dark mode
Updated clerk lib and implementation
Removed nextjs experimental PPR support
Update react, react-dom, and nextjs library

Breaking up into multiple PRs if not related would be good, that way higher chance of approval and less big things to revert if there's a bug

Hi @slavingia I am working on the documentation site for shortest and I wanted to share it with you so far. Before I go more into details and finish things up please let me know what you think.

Also why do we need this if we have an open source github + readme and a marketing homepage?

Oh honestly I just read this and went for it.

Yeah most of the stuff are covered in the readme maybe we can hold on to this for later. I will cleanup the readme for now.

repo: anti-work/shortest


text:
Two questions about displaying loading icons. One is to load the room and the other is to load the message

First case:
this.room: [],
roomsLoaded: false,
loadingRooms: true,

when I add a room to Rooms
const _rooms = [... this.rooms]
_rooms.push(room)
this.rooms = _rooms

The rooms list is triggered to appear with a loading icon And it keeps showing and doesn't go away
Second case:
There is a room in the normal display, including this.messages
I add a room like above
const _rooms = [... this.rooms]
_rooms.push(room)
this.rooms = _rooms

The messages of the current room will appear with a loading icon,
Through the console can see that fetcehMessages is triggered,
but I didn't change the current room at this time, just added a room to the room list.
Both of the above cases are problems caused by the add room to this.rooms

You can set loading-rooms prop to false when your rooms are loaded.

thank you


text:
audit

hey, great project!
is there any audit available?

Closing since discussed offline - for posterity there is no current plan to audit, though it would be welcome. As of right now the project is pre-production with a beta right around the corner (likely following the Holocene Hardfork).

authors: emilianobonassi refcell

repo: anton-rs/kona


text:
Check version of terraform-docs or tflint

It would be nice to have an option to require certain versions of terraform-docs or tflint to prevent that users are using older/newer versions and creating different README.md files for example.

Related to https://github.com/antonbabenko/pre-commit-terraform/issues/69

Hi.
You can use Docker installation for now.
Closed as a duplicated of #188

authors: MaxymVlasov aschepp

repo: antonbabenko/pre-commit-terraform


text:
Case sensitive assert statements

Hi,
First of all thanks for sharing the data/scripts used in your ICSE publication.
I've successfully managed to generate an assert statement for a given test method, but the assert isn't case sensitive.  For instance, one of the generated asserts was:
org . junit . assert . asserttrue ( entry1 . equals ( entry2 ) )

which it won't compile when appended to a test method.

assert should be Assert
asserttrue should be assertTrue.

That is,
org . junit . Assert . assertTrue ( entry1 . equals ( entry2 ) )

Is there any option/flag/parameter to force your model to generate case sensitive assert statements?
--
Best,
Jose

Hello Jose,
Yep in this work, all the tokens have been lower-cased.
Nonetheless, this has been addressed in a follow-up study you can find here:
-- Paper: https://arxiv.org/abs/2206.08574
-- Replication Package: https://github.com/antonio-mastropaolo/TransferLearning4Code

authors: antonio-mastropaolo jose


text:
title is rendering only react App

Dear friends,
thanks for the good work.
i have added react-helmet in my create react app but when i check on build the header is always coming react app even when i render  my website through facebook and twitter. can u suggest me what to do for server side so tile and other meta information show as defined in react-helmet.
Regards
gmchaturvedi

This might help
https://github.com/nfl/react-helmet#server-usage

But looks like React 16 SSR support is still on their issues
https://github.com/nfl/react-helmet/issues/322

shall we use react-head  with cra-universal ?

not sure, from the documentation, they only use renderToString API.

any thing suggest so we can use SEO friendly tags.

sorry for now I've no other suggestions, I'm still investigating it though

repo: antonybudianto/cra-universal


text:
翻译官网核心概念部分

AntV Open Source Contribution Plan（可选）

[X] 我同意将这个 Issue 参与 OSCP 计划

Issue 类型
高级任务
任务介绍
目标
翻译官网核心概念下的所有文章：https://g2.antv.antgroup.com/manual/core/chart ，从“图表”一直到“主题”。
方法
使用 translate 脚本翻译文章，并且人工校对（语句是否通顺，大小写是否合理）
如果希望翻译 "开始使用"，可以输入如下的命令：
$ npx translate -d site/docs/manual/introduction/getting-started.zh.md

然后对生成的 getting-started.en.md 的内容进行校对，如果没有问题提 PR 即可。目前 site/docs/manual/ 下的文档都是需要翻译的，命令格式如下：
$ npx translate -d path

Deadline
2023.11.13 日之前
说明

可以提交多个 PR 完成任务，比如一个 PR 对应一篇或者多篇文章。
可以多个人（最多三个人）同时完成任务，每个人都算完成了高级任务。需要在这个 issue 下面协商各自翻译的部分。

参考说明
No response

【Zhizhi-2986 认领】

【andylili21 认领】

@owenchen1004 @Zhizhi-2986 @andylili21 欢迎认领！核心概念一共有24篇，大家分别负责8篇如何？比如可以如下这样：

owenchen1004: 图表 ～比例尺
Zhizhi-2986: 转换 ～ 标题
andylili21：坐标轴 ～ 主题

@owenchen1004 @Zhizhi-2986 @andylili21 欢迎认领！核心概念一共有24篇，大家分别负责8篇如何？比如可以如下这样：

owenchen1004: 图表 ～比例尺
Zhizhi-2986: 转换 ～ 标题
andylili21：坐标轴 ～ 主题

👌

@owenchen1004 @Zhizhi-2986 @andylili21 欢迎认领！核心概念一共有24篇，大家分别负责8篇如何？比如可以如下这样：

owenchen1004: 图表 ～比例尺
Zhizhi-2986: 转换 ～ 标题
andylili21：坐标轴 ～ 主题

👌

@owenchen1004 @Zhizhi-2986 @andylili21 大家可以先不用一次性翻译完，可以先各自翻译一篇提一个 PR 看看效果。

@owenchen1004 @Zhizhi-2986 @andylili21 大家可以先不用一次性翻译完，可以先各自翻译一篇提一个 PR 看看效果。

刚刚提交了一篇，这样可以吗？或者还有什么其他的要求。https://github.com/antvis/G2/pull/5756

@owenchen1004 @Zhizhi-2986 @andylili21 大家可以先不用一次性翻译完，可以先各自翻译一篇提一个 PR 看看效果。

提交了一个pr，麻烦看一下可以吗？有没有什么其他的要求？https://github.com/antvis/G2/pull/5757

@pearmini 有个问题问一下：标记统一翻译成Mark吗？包括标记节点之类的

closed by:

https://github.com/antvis/G2/pull/5764
https://github.com/antvis/G2/pull/5773
https://github.com/antvis/G2/pull/5764

@owenchen1004 @Zhizhi-2986 @andylili21
感谢对 G2 对贡献！欢迎加入下面的群，进一步贡献和了解更多：


text:
调用changeData画布空白问题

G6 Version: 3.4.7
Platform: Windows

步骤：
画布有开启拖拽交互，当自定义的节点超出当前画布高度，为了能看到超出部分，拖拽画布到最底部，此时添加一个节点，调用changeData更新数据，这时候画布空白，导致所有节点丢失无法找到

请提供一下复现在线 demo

我也遇到了，minimap上有内容但是canvas里面啥都没有，需要反复缩放有几率恢复

在线demo地址：http://134.175.28.61:8080/g6/

在线demo地址：http://134.175.28.61:8080/g6/

在这个地址先把画布网上拖，直到节点超出上边界，然后再往下拖，直到节点超出下便捷，然后点击添加节点按钮，再将画布向上拖一些，就能看到两个节点垂直排列，是这样操作的吗？没有复现到画布空白。

不是，节点上面有一个展开的按钮，先点击展开，然后拖动画布（不是拖拽节点）到最下面，直到看到展开的最下面，然后再点击新增节点，

不是，节点上面有一个展开的按钮，先点击展开，然后拖动画布（不是拖拽节点）到最下面，直到看到展开的最下面，然后再点击新增节点，

@Tang-Js 按你描述的这样操作后，你缩小一下画布，就会看到添加的效果。

PS：添加完以后，调用graph.fitView()，或者调用 graph.focusItem() 将新增加的画布移到画布中间，就不会出现这种问题，如果上面不是期望的效果，检查一下代码逻辑。

缩小之后还需要再拖动一下就能看到

我试试fitView这种方式吧，缩小后有时候也会找不到，拉半天都没有，再新增也没有

应该是因为展开第一个节点后它很长，增加节点的时候，第一个节点被收起来了，新增节点增加在被收起后的第一个节点的下面，导致它的实际位置在画布上方很远的位置。

是这样的，这时候不管怎么拉，怎么新增都不会出现

应该 G6 的 drag-canvas 交互做了限制，当 graph 完全超出画布的时候就限制不让拖动了，这是为了限制用户在交互的时候将图无限拖拽出画布。你这种情况可以用 fitView、 focusItem、translate、moveTo 等方式把画布调整回来。3.5.1 还将会增加 fitCenter，用于把 graph 的中心对齐到 canvas 中心。

好的，我试试，辛苦解答

minimap上有内容但是canvas里面啥都没有

我也遇到这个问题，想问下如何解决的？

authors: Okabe-Kurisu Tang-Js Yanyan-Wang baizn lilongllong


text:
combo与edge的连接点错位

问题描述
当combo设置fixSize或者fixCollapseSize后，与combo相连的边的位置错位

起始点都设置有箭头，edge终点的箭头被combo遮挡，源点的箭头位置错位
重现链接
https://codesandbox.io/s/combo-size-example-i4heob?file=/index.js
重现步骤

不设置combo的size属性
设置combo的fixSize或者fixCollapseSize属性

预期行为
edge链接点位置不在combo中，而是在combo的border上
平台

操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
G6 版本: [4.5.1 ... ]

屏幕截图或视频（可选）
No response
补充说明（可选）
No response

v4.8.1 已解决

大佬，当combo的size/fixSize/fixCollapseSize设置过大时，也会出现连接点错位的bug，截图中的size大小为60

v4.8.1 已解决
谢谢大佬

大佬，当combo的size/fixSize/fixCollapseSize超过一定大小时，连接点也会错位

authors: Yanyan-Wang zonejay


text:
多图层叠加并设置 zIndex，颜色重叠

L7 Version: 2.3.9 master
Platform:
Mini Showcase(like screenshots):
CodePen Link:

测试官网案例 https://l7.antv.vision/zh/examples/gallery/animate#world, 添加PolygonLayer 图层，设置飞线图层 zIndex 后，在PolygonLayer上的飞线颜色出现重叠
/* eslint-disable no-eval */
import { Scene, LineLayer, PointLayer, PolygonLayer } from '@antv/l7';
import { Mapbox } from '@antv/l7-maps';

const scene = new Scene({
  id: 'map',
  map: new Mapbox({
    pitch: 40,
    style: {
      version: 8,
      sprite: 'https://lzxue.github.io/font-glyphs/sprite/sprite',
      glyphs:
        'https://gw.alipayobjects.com/os/antvdemo/assets/mapbox/glyphs/{fontstack}/{range}.pbf',
      sources: {},
      layers: [
        {
          id: 'background',
          type: 'background',
          paint: {
            'background-color': '#2b2b3a'
          }
        }
      ]
    },
    center: [ 3.438, 40.16797 ],
    zoom: 0.51329
  })
});
scene.on('loaded', () => {
  Promise.all([
    fetch('https://gw.alipayobjects.com/os/basement_prod/dbd008f1-9189-461c-88aa-569357ffc07d.json').then(d => d.json()),
    fetch('https://gw.alipayobjects.com/os/basement_prod/4472780b-fea1-4fc2-9e4b-3ca716933dc7.json').then(d => d.text()),
    fetch('https://gw.alipayobjects.com/os/basement_prod/a5ac7bce-181b-40d1-8a16-271356264ad8.json').then(d => d.text())
  ]).then(function onLoad([ world, dot, flyline ]) {
    const dotData = eval(dot);
    const flydata = eval(flyline).map(item => {
      const latlng1 = item.from.split(',').map(e => { return e * 1; });
      const latlng2 = item.to.split(',').map(e => { return e * 1; });
      return { coord: [ latlng1, latlng2 ] };
    });
    const worldFill = new PolygonLayer()
      .source(world)
      .color('#98E3FA')
      .shape('fill')
      .style({
        opacity: 1
      });

    const worldLine = new LineLayer()
      .source(world)
      .color('#41fc9d')
      .size(0.5)
      .style({
        opacity: 0.4
      });
    const dotPoint = new PointLayer()
      .source(dotData, {
        parser: {
          type: 'json',
          x: 'lng',
          y: 'lat'
        }
      })
      .shape('circle')
      .color('#ffed11')
      .animate(true)
      .size(40)
      .style({
        opacity: 1.0
      });
    const flyLine = new LineLayer({
      zIndex: 10
    })
      .source(flydata, {
        parser: {
          type: 'json',
          coordinates: 'coord'
        }
      })
      .color('#ff6b34')
      .shape('arc3d')
      .size(2)
      .active(true)
      .animate({
        interval: 2,
        trailLength: 2,
        duration: 1
      })
      .style({
        opacity: 1
      });
    scene.addLayer(worldFill);
    scene.addLayer(worldLine);
    scene.addLayer(dotPoint);
    scene.addLayer(flyLine);
  });
});

https://l7.antv.vision/zh/docs/api/layer/layer#blend  这个参数设置成 normal

authors: jhgrrewq lzxue


text:
fix(strategysheet): 修复趋势分析表无法自定义 Tooltip

👀 PR includes

🐛 Bugfix

[x] Solve the issue and close #0

📝 Description
趋势分析表本身就是对 s2-core 的 tooltip 自定义, 但是业务侧还需要对趋势分析表的 Tooltip 再次进行自定义, 所以需要暴露一个口子
🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-react-v1.21.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.21.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


text:
x6 V2版本没有找到关于x6-react-components的文档

问题描述
x6 V2版本没有找到关于x6-react-components的文档，x6-react-components 对于2.0 版本有更新吗？ V1地址在这里 https://x6.antv.vision/zh/docs/tutorial/advanced/components
重现链接
无
重现步骤
无
预期行为
找到x6 v2版本关于x6-react-components的文档
平台

操作系统: [macOS, Windows, Linux, React Native ...]
网页浏览器: [Google Chrome, Safari, Firefox]
X6 版本: [1.28.2 ... ]

屏幕截图或视频（可选）
No response
补充说明（可选）
No response

V2 相对于 V1 只有一点更新，支持了 React 18 和 antd5，使用方式和 V1 相同，我后续会同步文档过来。

authors: NewByVector XueMeijing


text:
自定义线段

功能描述
创建独立的线条（没有任何连接node）
可以拖动两端端点控制线段的长度与位置
可以拖动两端端点链接上目标node
可以拖动线条本身整体移动
期望解决方案
创建独立的线条（没有任何连接node）
可以拖动两端端点控制线段的长度与位置
可以拖动两端端点自动链接上node
可以拖动线条本身整体移动

参考 如图

参考 如图

我也在做这块，我目前是采用自定义顶点工具，类似于edge的顶点，然后实现 渲染控制的，拖拽事件，删除事件等.....

自由变换拖拽那些可以的，但是怎么去让单独拖拽线段的时候连接到链接桩上呢，没看到API

你只能用边，才可以连接到连接桩上

@ZouYuLong 使用 source-arrowhead 和 target-arrowhead 工具就可以了。

你只能用边，才可以连接到连接桩上

请问能提供下参考代码么？

你只能用边，才可以连接到连接桩上

只能用边才可以链接到桩吗

authors: 9t5c NewByVector TLovers ZouYuLong light-years-run


text:
api是不是有错误，想确认一下

https://antv.alipay.com/g6/doc/tutorial/start/custom-shape.html

感谢指出

authors: TomHuangCN itsmyturn


text:
2.0版本中，通过npm安装后，如何import插件？

G6 Version: 2.0.1
Platform: npm
Mini Showcase(like screenshots):
CodePen Link:

G6的基础类可以通过下面的方式引入，但是Plugin应该如何 import 引入呢？
import G6 from '@antv/g6';

const graph = new G6.Graph({
  container: 'mountNode',
  width: 600,
  height: 300
});

试了下面的几种方法都不行：
const pl = require("node_modules/@antv/g6/plugins/your-want-import")
import * as Plugin from '@antv/g6/build/toolMinimap'

都报如下的错误：
./node_modules/@antv/g6/build/toolMinimap.js
Module not found: Can't resolve 'G6' in 'C:\Users\admin\Desktop\git\test-g6\node_modules\@antv\g6\build'

如果直接引用 G6.Plugins ，看G6初始化的时候只是把Plugins设置为{}，那这样拿到的是undefined的
const Plugin = G6.Plugins["tool.minimap"]; //undefined
    const plugin = new Plugin({
      container: "minimap",
      width: 180,
      height: 120,
    });

官方的插件目前维护在 G6 的主仓库里，如果要使用官方提供的插件，只需要安装 @antv/g6 即可。
npm install @antv/g6 --save

可以按需要引入
const G6 = require('@antv/g6');
const Minimap = require('@antv/g6/plugins/tool.minimap/');

也可以全部引入
const G6 = require('@antv/g6');
const G6Plugins = require('@antv/g6/plugins/');

我昨天也试过，用这种方式引入的时候也会报错

源码是 es7 的，直接引入源码，你需要用 es7 的 loader。

O_O 对于我这个非职业前端来说太复杂了，找了几个前端的同事帮忙看，也都有点懵。

你是用 webpack 吗？是的话，打包配置文件加这个：
  module: {
    rules: [
      {
        test: /\.js$/,
        // exclude: /(node_modules|bower_components)/,
        use: {
          loader: 'babel-loader',
          options: {
            babelrc: true
          }
        }
      }
    ]
  },

这个就是g6项目里的配置吧，我今天看到了，参考那边的试了一下，没成功。我明天再搞个测试的项目放 git 上好了。

最终怎么解决的呢？我在react中也遇到了

话说有解决方案了吗

正在改，提供个编译后的版本。

version: 2.0.4
const G6 = require('@antv/g6');
require('@antv/g6/build/plugins');

要调试，要源码引入的话，只能各位自己配置 webpack 了

Thanks! @TomHuangCN  等晚点有空的时候测试一把！

@BusyHe 遇到过相同问题。问题原因是在外面执行这些代码时，定义的DOM还没有被创建出来，所以肯定找不到id为minimap的DOM。需要将代码放到mounted中。不能直接放到外面。

@spengjie  import G6 from '@antv/g6'; 引入就报错 什么鬼呀。55555555 求大哥们给解答.
@all

@

@BusyHe 遇到过相同问题。问题原因是在外面执行这些代码时，定义的DOM还没有被创建出来，所以肯定找不到id为minimap的DOM。需要将代码放到mounted中。不能直接放到外面。

同样遇见过这个  咋解决啊

解决了

@spengjie import G6 from '@antv/g6'; 引入就报错 什么鬼呀。55555555 求大哥们给解答.
@ALL

删除node_modules文件夹，重新npm install。如果还不行，把npm-package-lock.json也删了，再试一次应该就可以了。

authors: TomHuangCN beijingdhy dxq613 jzoe luoandy spengjie tianlaixhh zsl1549