text:
Latency of Heart Rate When Starting Exercise

Hi, I'm a beginner in Android, Wear OS, and health services. Currently, I want to collect data such as heart rate and calories over a specific period, like 2 minutes.

I've tried using ExerciseSample and ExerciseSampleCompose, but I'm not sure about the differences between them since their functions seem quite similar.
Also, I believe that the data retrieved on the frontend is accurate, as it's collected by the sensor, but can it compete with the data provided by Samsung Health?
I noticed a latency in the heart rate readings when starting exercise, typically taking about 6-10 seconds. Why is there a delay, and why doesn't the sensor reflect the heart rate instantly when the exercise starts?
I noticed that Health Services perform standardized calculations for data such as calories. How can I adjust these calculations to account for age and weight?

Hey, thanks for the questions!

ExerciseSample and ExerciseSampleCompose demonstrate the same behaviors. ExerciseSampleCompose uses Compose for Wear OS, which is the recommended UI framework. We'll be deprecating the ExerciseSample in favor of ExerciseSampleCompose soon.
The data does not compete, but Health Services on Wear OS only allows one app to be running an active exercise at a time. Therefore, if you run ExerciseSampleCompose first, it should stop running once you start an exercise in Samsung Health. Is this what you are referring to? Samsung Health will still be able to track daily metrics in the background.
The HR sensor takes some time to warm up -- this is handled by prepareExercise (in the Exercise Sample this happens in the GPS acquisition screen). The amount of time the sensor needs to warm up may vary by device.
This happens through the default fitness app (i.e. Samsung Health for Galaxy Watches, Fitbit for Pixel Watches, etc). The default fitness app syncs the user profile back with WHS so the calculations can be adjusted based on height, weight, etc.

Hi Breanatate,
Thank you for your prompt reply. I have clarified some questions, as I believe I didn't explain them clearly before:
The data received and displayed by the health service is through the watch's own sensor, so I think it should be accurate. I am curious whether the health service data is as accurate as the data in Samsung Health.
Does this mean that WHS will automatically sync data such as age and weight from other fitness apps? For example, if I use a Samsung watch with Samsung Health, will WHS get age and weight data from Samsung Health? Will this data be added to the algorithm and influence the results? I want age and weight to be factors that affect the data, like how a heavier person might burn more calories than a thinner person, or how a younger person might burn more than an adult.

authors: Sanya-L breanatate

repo: android/health-samples


text:
Use gradle version catalog's type-safe accessors

Closes #317

Thanks for the proposal! Closing at the moment as this is a workaround that we probably don't want to recommend broadly, and could be brittle with different versions of Gradle.
Once Gradle has full support this would be great to add!

source: gharchive/pull-request

authors: MaximillianLeonov alexvanyo

repo: android/nowinandroid

license_type: permissive

license_source: bigquery


text:
Question - is this project still being worked on by some developer advocate?

Haven't seen any commits in a long time, and I wonder if there are still plans to extend UAMP.

Yes 😃 https://github.com/android/uamp/commits/master

source: gharchive/issue

authors: dturner jssingh

repo: android/uamp


text:
Sending feedback over email doesn't work

It shows "No apps can perform this action" message while Gmail is installed and the system sharing via Gmail works just fine from the other apps.

I can confirm on Marshmallow with physical device. Emulator with Nougat seems to work just fine.

Hi marta,
Can you please tell me how to add the fixed version to my application. The gradle inclusion does not update the code to fix feedback email intent.

Yes, I hope this week could be create the new gradle version

Hi,
As it seems that this library is not actively maintained I have forked it and I have released a new version fixing the bug with feedback email and share button. New Repo
I hope it would be useful for someone else.

repo: androidsx/rate-me

license: mit


text:
make a sample in the readme

[x] make a nice test suite example in the readme showing some of the nice tools
[x] also improve the readme to add a link to the documentation section from that first link instead of it going to the webpage.
[x] also think about making a script to generate the docs into the document browser instead of them having to type out that command. maybe overkill?

I think it is better for them to type out the command

repo: andybezaire/TDDKit

license: MIT

license_source: github-api


text:
Invalid OAuth signature or timestamp

Hi Andy,
I'm not sure what changed in how the oauth_signature is generated between 1.4.5 (1.4.5418.33006) and your most recent build (pulled from GitHub yesterday) but it is somehow generating an invalid OAuth Signature or Timestamp error within the LTI 1 Certification Test Suite.  I verified that the 1.4.5 library has no issues with the LTI 1 Certification Test Suite.  Also, I have thought of comparing the source files but I am unable to find the source for the 1.4.5 library and I only have a Nuget package.
Please let me know if you need any more information or if I can help in any way.
Thanks,
Nathan Moebus

Hello Nathan,
I did make a slight change to the way the signature base string is calculated between 1.5.1 and 1.5.2 to fix https://github.com/andyfmiller/LtiLibrary.Owin/issues/1. I do some more testing and let you know if I find what's wrong.
You can find the 1.4.5 code on CodePlex at http://ltisamples.codeplex.com/.

I found the problem. LtiLibrary.Core.OAuth.OAuthRequest.GenerateSignature was double encoding querystring parameters in the signature base string. For example %20 became %2520.

Thanks for the update Andy!
Thanks,
Nathan
On Sat, Apr 4, 2015 at 10:52 PM, Andy Miller notifications@github.com
wrote:

I found the problem. LtiLibrary.Core.OAuth.OAuthRequest.GenerateSignature
was double encoding querystring parameters in the signature base string.
For example %20 became %2520.
—
Reply to this email directly or view it on GitHub
https://github.com/andyfmiller/LtiLibrary.Owin/issues/3#issuecomment-89707802
.


text:
Error while starting example

$ ANGEL_ENV=production dart bin/server.dart
Unhandled error occurred: Could not connect to localhost:28015.  Error SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 64533
#0      Connection.reconnect.<anonymous closure> (package:rethinkdb_driver2/src/net.dart:125:28)
#1      _rootRunUnary (dart:async/zone.dart:1128)
#2      _CustomZone.runUnary (dart:async/zone.dart:1012)
#3      _FutureListener.handleError (dart:async/future_impl.dart:145)
#4      _Future._propagateToListeners.handleError (dart:async/future_impl.dart:648)
#5      _Future._propagateToListeners (dart:async/future_impl.dart:669)
#6      _Future._completeError (dart:async/future_impl.dart:486)
#7      _Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:536)
#8      _rootRun (dart:async/zone.dart:1120)
#9      _CustomZone.run (dart:async/zone.dart:1001)
#10     _CustomZone.runGuarded (dart:async/zone.dart:901)
#11     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:926)
#12     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#13     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#14     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:99)
#15     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:152)

If you take a look at the stack trace, the error is that you don't have a RethinkDB instance running.
I should modify this tutorial to use a simple JSON file service+pun sub, since not everyone has RethinkDB installed.

In the meantime, you might consider a more recent example of a WebSocket-powered chat. This one uses Flutter as the client:
https://github.com/angel-example/flutter

Thank you! Now everything works fine!

👍

repo: angel-example/chat


text:
Add ability to set/get stream id

Hello! This PR adds ability to:

Set id for AVStream.
Get id from AVStream.

As of right now the only option to "manage" streams is either using their codec params or using indexes. However, there's an option in ffmpeg to also use the stream id.
The only problem is in order to keep backward compatibility there's a bunch of boilerplate. This is due to the fact that Stream is being pushed to the vec. And there's no control over it outside of the crate since it's private. Adding some additional params for add_stream function would also break backward compatibility :(.
If you have an idea how to get rid of the boilerplate, i'd be grateful!

Hi @Lighty0410 and thank you for your PR! I've been a bit busy for the last few weeks but I'll try to find some time to check your PR later this week.

repo: angelcam/rust-ac-ffmpeg


text:
Translate simple enums to Kotlin

Simple Swift enums (without associated values) look like:
enum CompassPoint {
    case north
    case south
    case east
    case west
}

In Kotlin translates to:
enum class CompassPoint {
    north, south, east, west
}

Implemented with 044181b8ebef9c690e2837da0b3a59d42ba1b570

repo: angelolloqui/SwiftKotlin


text:
Multiple MIME type

I want to allow users to select only images(jpg, jpeg, png) and pdf files.
i want something like this -
storage.openFilePicker(REQUEST_CODE_PICK_FILE,"image/*,application/pdf")
As of now, I can only select only pdf or only images. not multiple.

0.7.0 has been released. Check it out!

authors: anggrayudi sagarnayak

repo: anggrayudi/SimpleStorage


text:
Framework.jar for Android 6

I extracted the framework.jar file from nexus 6p. Hope it helps. https://drive.google.com/file/d/0B4Sf9EwVaZ6jY1RlbmNhaHZROFU/view?usp=sharing

@amalChandran Did you pick the jar from emulator? I wonder why the jar less than 5MB.

Does it vary if its emulator. I did take it from android n preview from nexus 6p emulator.

Yes, it's vary. Try to open the jar with WinRar and you'll see that this jar doesn't contain classes.dex file.

authors: amalChandran anggrayudi

repo: anggrayudi/android-hidden-api


text:
The instance owner should be the default user

USER

DONE. With a response file this problem does not exist.


text:
Table of content in Wiki

Create a table of content in the right panel of the Wiki as this one https://github.com/serge-rider/dbeaver/wiki/SQL-Editor

It already exists.


text:
Concluidos

Team CoDev
Este pull request visa aprimorar a exibição dos eventos  e indicar claramente os eventos que já ocorreram.
Adicionamos "(CONCLUÍDO)" entre parênteses no final da descrição dos eventos dias dos  passados.
@aosccode
@aoscode
#30

Olá @Jacintomuambumba, muito obrigado pela PR.
Vi que o Deployment falhou, consegues justificar?

@antonio-pedro99
Boss, Essas alteração e adição de arquivos estão ocorrer, quando eu faço a instalação das depêndecias ou seja quando executo o coomando
next install
yarn install etc, e não faço propositadamente

@Jacintomuambumba essa branch tem conflitos.
Por outra evita mensagens sem significados nos commits :)
O que significa ddd ? hhh

repo: angolaosc/aosf-website


text:
clean up jspm readme

Our jspm readme still has some references to webpack such as we use webpack for tests

Done!


text:
Bootstrap 3.3.4 tootlip-html-unsave deprecated

After an CSS-Update to bootstrap 3.3.4. I got a warning, that the use of tooltip-html-unsafe is deprecated and that I should use tooltip-html instead.
Then I tried to use tootlip-html but nothing happens.
I use Bootstrap CSS 3.3.4 and angular-ui/bootstrap v0.13.0

tooltip-html takes an Angular expression as it's value.
And upgrading your Twitter Bootstrap CSS dependency couldn't have produced that deprecated warning.  Even though this seems to be a support request, provide a plunkr and I'll take a look.

The warning is new as of UI Bootstrap 0.13.0 - this is because its usage is now deprecated, and it is recommended to use the tooltip-html or tooltip-template directives instead.

Closing as a support issue, feel free to provide more information if you'd like to have help seeing any problems & the fixes for them.

authors: emasch rvanbaalen wesleycho

repo: angular-ui/bootstrap


text:
Allow Slide content to control Carousel

Feature request for carousel control functions to be accessible in uibSlide content. I just finished hacking a workaround where I passed the functions I needed through the actual parameter.

@ricksmt, what functions?  Did you try using contrillerAs syntax?

Can you explain your use case?

I used the UI Bootstrap modal to pop up a process for sharing some data. There's three pages involved. The first page is a brief explanation of what they're sharing; the second allows them to select who to share it with; the third allows them to add a custom message. The UI was a bit bloated having it all in one page, so I split it into these three parts and used the carousel for rotating between them.
Depending on context, they also have the option of being popped straight to the last page with the option of going back one. Normally they'd start with the first and funnel through or abandon the process/modal.
I wan't the access in the Slide control because then I can style the previous and next buttons and use text to specify where they'll go. I admit it's very different from the traditional use of the carousel. I've already got my workaround, and I suppose I can share that if anyone else happens to have the same use case. I assume this would be a low-priority feature request.

If you want to restyle the controls, then you need to override the template.  From within the template HTML, you have access to any exposed controller functions via controllerAs.  You can select a given slide via the active attribute on the uib-carousel directive.
I'd like to see, specifically, what you want in order to consider this request as all I'm hearing right now is stuff that you can do using the API.

This sounds like you're overloading the component - couldn't you have logic in the parent controller that handles the paging without requiring any new functionality from the carousel itself?
It sounds like you have a sufficient workaround that doesn't require api bloat on the library's side. I'm hesitant to add additional support in the library itself for this use case, as it seems like it potentially adds mixed concerns.

I suppose I could push the paging out to the parent, but I really like each slide handling the quirks on which controls display and what they say.
I'll try to put together a demo, and then you can advise me on a simpler approach, or you'll better understand what I'm requesting.

Closing due to lack of response.

authors: icfantv ricksmt wesleycho


text:
Move sort arrow in columns to the right. Currently it is in the center

What is the best way to move the sort arrow in the column headers from the center to the right?

At the moment it goes immediately after the column title, in order to visually separate it from the column menu.  To change that I'd use a customHeaderCellTemplate.

Solution provided, and no new comments for over 2 weeks.  Assuming issue is resolved, closing.

repo: angular-ui/ng-grid


text:
Issue registering multiple grids onRegisterApi

Hi,
I have 3 grids on a screen, with different gridOptions. I want to have access to the gridApi, so have set up the onRegisterApi callback, however, only 1 of the callbacks ever triggers.
Has anyone come across this and know how to solve it please?

How did you resolve this?

I think I had made a mistake in the HTML - having the wrong gridOptions name in the ui-grid directive. Either that or wrong gridOption name elsewhere .
If you post a code snippet I can try see what's up with yours.

I might have a different problem than you, then. I have multiple grids on a page that each have different dynamically generated columns. My problem might be how I'm manipulating gridOptions to make it dynamic. I'll post back if I think it has to do with this -- thanks.

I am not able to register 2 different gridOptions(gridCustOptions,gridOptions) on the RegisterApi.

authors: PhilBroadbent Sushsusmitha sebilozano


text:
Switching states does not properly clean up scope if using Controller As syntax

Using controller as angular syntax, you can register a state's controller like so:
controller: 'MainCtrl as main'
However when using this syntax, when switching out of the state, MainCtrl is not destroyed like it would be if you were using the "standard" $scope syntax.

https://gist.github.com/eddiemonge/f6a58169c2846731a1eb

authors: SamMaier eddiemonge

repo: angular-ui/ui-router


text:
This is another reloadOnSearch problem ... am I missing something?

Hi,
I'm trying to jump between these, it doesn't work either ways,
#/pages/fp_test?id=xxx to #/pages/fp_test (through a <a href="#/pages/fp_test"> tag)
But nothing changes, I had to press F5 manually, is there a problem with the code below?
app.config(function($stateProvider, $urlRouterProvider) {
  $urlRouterProvider.otherwise('/pages/dashboard');

  $stateProvider.state('index', {
    url: '/pages/:name',
    reloadOnSearch: true,
    templateUrl: function($stateParams) {
      return 'templates/' + $stateParams.name + '.html';
    },
    controllerProvider: function(loader) {
      return loader;
    },
    resolve: {
      loader: ['$ocLazyLoad', '$stateParams', function($ocLazyLoad, $stateParams) {
        var url = 'templates/controllers/' + $stateParams.name + '.js';

        return $ocLazyLoad.load(url).then(function () {
          return $stateParams.name;
        });
      }]
    }
  });
});

Ok added a child state
.state('index.id', {
url: '?id'
});
Now jumping from #/pages/fp_test to #/pages/fp_test?id=xxxx works via   $state.go('index.id', { id: res.data.id }, {reload: true});
But jumping back won't do

You should be using ui-sref to switch states.

authors: CaledoniaProject eddiemonge


text:
feat: generate a README.md file when creating a new library

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

Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Desired functionality
Generate a default README.md file when creating a new library. I think it's more common to have a README.md file on a NPM package than not.
I'd be happy to work on it o/

Hey @alan-agius4 , I made the tests work, but, when I run the CLI it didn't create the file.
Could you help me on this?
What was done?
Here is the forked repository's commit diff (README.md content is just for testing purposes).
I tried to follow the Development Hints for working on Angular CLI, but the linked package didn't present any changes that I've made.
I've even deleted everything from /packages/schematics/angular/library/files/__projectRoot__ and built it, but the result was the same, no changes on ng g lib.
Am I changing the right place?

Just an update. npm pack worked for me.

repo: angular/angular-cli


text:
option for "template" in AOT webpack build

I'm using 3rd-party module (ng2-bootstrap) in my AOT webpack build.
At this time, this module's components do not reference "templateUrl", only "template". As a result, the html templates are not compiled to javascript in my AOT bundle output.
See https://github.com/valor-software/ng2-bootstrap/blob/8305a56cd7aaebfd33920fe6b7ab86813449fac0/src/pagination/pagination.component.ts
Is there an option to force AOT code generation when using inline template?

Hi. Unfortunately that's up to the library (in this case ng2-bootstrap) to publish javascript files without the decorators built in. The CLI does not have control on that code. We're working on a proper solution, but in the meantime there's nothing you can do. We'll try to communicate with ng2-bootstrap to help them publish a better version of their library.

authors: hansl pborunda


text:
'x'  @angular/cli not working after installation

I have installed the @angular/cli on my MacBook machine(Sierra). Node server version is v6.9.5 and the npm version is 3.10.10. I have ran the following command to install the @angular/cli.
sudo npm install -g @angular-cli
When I run the ng --version command or any command for ng. It shows me the following error

Parsing .angular-cli.json failed. Please make sure your .angular-cli.json is valid JSON. Error: SyntaxError: Unexpected token u in JSON at position 22 InvalidConfigError: Parsing .angular-cli.json failed. Please make sure your .angular-cli.json is valid JSON. Error: SyntaxError: Unexpected token u in JSON at position 22 at InvalidConfigError (/usr/local/lib/node_modules/@angular/cli/models/config/config.js:10:9) at Function.fromConfigPath (/usr/local/lib/node_modules/@angular/cli/models/config/config.js:77:19) at Function.fromProject (/usr/local/lib/node_modules/@angular/cli/models/config.js:96:46) at Object. (/usr/local/lib/node_modules/@angular/cli/commands/build.js:7:35) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.require (module.js:497:17)

I also uninstalled and @angualr/cli and clear the cache then reinstalled @angualr/cli. I run the following command.
sudo npm uninstall -g @angular/cli
npm cache clean sudo
npm install -g @angular/cli

I googled it and someone saying The format of angular-cli.json has changed couple of times. Maybe you still have an old version. Can you post your JSON somewhere with a link so we can have a look what might be wrong with it? –
There is no file for this name on whole machine.

Seems like a dup of #6087 and #5669
According to the OP on 6087, deleting the .angular-cli.json fixed it for him.

Not able to find the angular-cli.json. Could it be possible for you to share the path of the file?
/usr/local/lib/node_modules/@angular/cli
Above is the path.

It should be in your home directory,
Open your terminal and find your HOME path with the following command:
printenv
look for the HOME= variable, for me the result is:
HOME=/Users/ricardo_varanda
So then you would do the following:
rm /Users/ricardo_varanda/.angular-cli.json

No there is no file for this name in the HOME path.

Thank you so much. Resolve the issue by deleting the file from the HOME. It was hidden.
BTW why we need to delete the file?

The file was generated by an old version of the cli, possibly even the old package angular-cli, which had a different format for .angular-cli.json

Nice work @RicardoVaranda, glad this is resolved fo ryou @mumarm45.... closing

authors: Brocco RicardoVaranda mumarm45


text:
ERROR in ./node_modules/css-loader?{"sourceMap":false,"import":false}!./node_modules/postcss-loader/lib?{"ident":"postcss","sourceMap":false}!./node_modules/less-loader/dist/cjs.js?{"sourceMap":fa lse}!./src/styles/site.less

Versions

npm: 4.2.0
Angular CLI: 1.6.4
Node: 7.10.0
OS: win32 x64
Angular: 4.4.6
... common, compiler, core, forms, http, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.6.4
@angular/compiler-cli: 4.4.4
@angular/tsc-wrapped: 4.4.4
@angular-devkit/build-optimizer: 0.0.38
@angular-devkit/core: 0.0.25
@angular-devkit/schematics: 0.0.48
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.9.4
@schematics/angular: 0.1.13
@schematics/schematics: 0.0.13
typescript: 2.6.2
webpack: 3.10.0

Repro steps

Open Nodejs command prompt
enter "npm run start" or "ng serve"
i get the error

Observed behavior
ERROR in ./node_modules/css-loader?{"sourceMap":false,"import":false}!./node_modules/postcss-loader/lib?{"ident":"postcss","sourceMap":false}!./node_modules/less-loader/dist/cjs.js?{"sourceMap":fa
lse}!./src/styles/site.less
Module build failed: Error: Can't resolve 'Archer/fonts/HCo_fonts.css' in 'C:\MyProjectName\src\styles'
    at onError (C:\MyProjectName\node_modules\enhanced-resolve\lib\Resolver.js:61:15)
    at loggingCallbackWrapper (C:\MyProjectName\node_modules\enhanced-resolve\lib\createInnerCallback.js:31:19)
    at runAfter (C:\MyProjectName\node_modules\enhanced-resolve\lib\Resolver.js:158:4)
    at innerCallback (C:\MyProjectName\node_modules\enhanced-resolve\lib\Resolver.js:146:3)
    at loggingCallbackWrapper (C:\MyProjectName\node_modules\enhanced-resolve\lib\createInnerCallback.js:31:19)
    at next (C:\MyProjectName\node_modules\tapable\lib\Tapable.js:252:11)
    at C:\MyProjectName\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:40:4
    at loggingCallbackWrapper (C:\MyProjectName\node_modules\enhanced-resolve\lib\createInnerCallback.js:31:19)
    at runAfter (C:\MyProjectName\node_modules\enhanced-resolve\lib\Resolver.js:158:4)
    at innerCallback (C:\MyProjectName\node_modules\enhanced-resolve\lib\Resolver.js:146:3)
    at loggingCallbackWrapper (C:\MyProjectName\node_modules\enhanced-resolve\lib\createInnerCallback.js:31:19)
    at next (C:\MyProjectName\node_modules\tapable\lib\Tapable.js:252:11)
    at innerCallback (C:\MyProjectName\node_modules\enhanced-resolve\lib\Resolver.js:144:11)
    at loggingCallbackWrapper (C:\MyProjectName\node_modules\enhanced-resolve\lib\createInnerCallback.js:31:19)
    at next (C:\MyProjectName\node_modules\tapable\lib\Tapable.js:249:35)
    at resolver.doResolve.createInnerCallback (C:\MyProjectName\node_modules\enhanced-resolve\lib\DescriptionFilePlugin.js:44:6)
 @ ./src/styles/site.less 4:14-196
 @ multi ./src/styles/site.less

Desired behavior
There should not be any build error

The HC._fonts.css file is something as follows
/*
Copyright (C) 2011-2015 Hoefler & Co.
This software is the property of Hoefler & Co. (H&Co).
Your right to access and use this software is subject to the
applicable License Agreement, or Terms of Service, that exists
between you and H&Co. If no such agreement exists, you may not
access or use this software for any purpose.
This software may only be hosted at the locations specified in
the applicable License Agreement or Terms of Service, and only
for the purposes expressly set forth therein. You may not copy,
modify, convert, create derivative works from or distribute this
software in any way, or make it accessible to any third party,
without first obtaining the written permission of H&Co.
For more information, please visit us at http://typography.com.
269000-98249-20151112
*/
@font-face {
font-family: 'Archer 5r';
src: url('279F9105D04D05167.eot');
src: local('?'),
url('279F9105D04D05167.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRk9UVE8AAD6qAA0AAAAAbPgAAQAAAAA8iAAAAiIAAAaEAAAAAAAAAABDRkYgAAAI1AAAKNMAADI0Cx0++EdERUYAADGoAAAAHgAAACAA+wAER1BPUwAAMcgAAAhpAAAmHOMDzb1HU1VCAAA6NAAAAFoAAACA6jAts09TLzIAAAGMAAAAUgAAAGBYVGVbY21hcAAABmQAAAJcAAADWB8BSFZnYXNwAAA3ANuh4LsH6Zj88xs5a1bxjmDW53Uzx3MQeNJPRfzHfmVRo6tI2qnIF8+8eOYxz5xapZiaPetero9v8Gb9FjJGWfAzTS6k/i+HIn7AKzyJGpWgH+VHqloGYOkE3O9eNOIChlZyJybNdwiEe+4DT2Se7hoq9q/g9bYn6WpZTQxcVMQPiY7jGJ+e7Ty74+MvpfwFHRs+bw==);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer 5i';
src: url('505E365E76C094002.eot');
src: local('?'),
url('505E365E76C094002.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRk9UVE8AAD+AAA0AAAAAbswAAQAAAAA9YAAAAiAAAAaEAAAAAAAAAABDRkYgAAAI2AAAKgcAADVNzVk96kdERUYAADLgAAAAHgAAACAA+wAER1BPUwAAMwAAAAf/AAAk1vxV5EBHU1VCAAA7AAAAAFoAAACA6jAts09TLzIAAAGQAAAAUwAAAGBYVGVUY21hcAAABmQAAAJcAAADWB8BSFZnYXNwAAA7XAAAAAgAAAAIAAAAC2hlYWQAAAEwAAAANAAAADYFQ3NeaGhlYQAAAWQAAAAhAAAAJAdXA2dobXR4AAA7ZAAAAfsAAAM4okEmC21heHAAAAGIAAAABgAAAAYAzlAAbmFtZQAAAeQAAAR+AAALrCcRfStwb3N0AAAIwAAAABUAAAAg/6wAMnjaY2BkYGBgZHBcEhuYHc9v85WBm/kFUIThYuD0izD6f/9/VZDqDsWnbRfoNtsAUsD7mfhEOQp0xLZlKb6FBFcLQvyTgDs4jHPHn55MUGsik3lhxnA3+KCVwii6bepwvTs3JIplUclEEEAWSRoTIGDybJMtoVwqKZV+mStMxsyIYCWTZfJZNFhYQRw6NLhGlKEUpg0Vs+AfqVCNdNvsvd4Ovd13hZ+5VYumXsZkK/X2/zHwKQxm+WeCRrSBqL0Uv1GN6is1ndzVDPwKt81POWI4l6Il7uo55eTiJlA7a9pr693aHBzMzBxsysxrZdIirkNkSyW4V4l877HxHOQ6vV+R5pXVPnNiLyKm22Nw2uQxpXnj6E85BvrfT0iQz25WPnHH/+xq7llul1fTHuA9PHmuOxjCHJp88BLXeKcoxxZAxAZnaHCO+0a3N/F9+AS81tVxjratpht7neUh0XMf49G7n3Z0cfynlLwnzPis=);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer 7r';
src: url('9D54B24EB081DDF76.eot');
src: local('?'),
url('9D54B24EB081DDF76.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRk9UVE8AAEE2AA0AAAAAbcAAAQAAAAA/FAAAAiIAAAaEAAAAAAAAAABDRkYgAAAI1AAAKjIAADL2mMf5AUdERUYAADMIAAAAHgAAACAA+wAER1BPUwAAMygAAAmPAAAmIOhT0xdHU1VCAAA8uAAAAFoAAACA6jAts09TLzIAAAGMAAAAUQAAAGBWhlWTY21hcAAABmQAAAJcAA99Ix+ac3ctas4h3BrE/rZo6nIPCon4rkj/3KokZXkbRTkc+eefbMQ545tkoxNXvWvVwd3uDV6jXkjBLyM0vPpP4vhyK5xys8iRqVoB/lJ6paBmDpBNztnjViCEMruROT5lsEwh33gScyT3cNFftX8HrTk3S1rCYGLi6S+0SHcYyPz3ae3cnhl1L+Alq8Pj8=);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer 7i';
src: url('60E6C69CCFB494F0A.eot');
src: local('?'),
url('60E6C69CCFB494F0A.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRk9UVE8AAEM7AA0AAAAAcQQAAQAAAABBGAAAAiMAAAaIAAAAAAAAAABDRkYgAAAI2AAALGkAADZ6w+M0HkdERUYAADVEAAAAHgAAACAA+wAER1BPUwAANWQAAAlNAAAl3ASi7NxHU1VCAAA+tAAAAFoAAACA6jAts09TLzIAAAGUAAAAUAAAAGBWhmWQY21hcAAABmQAAAJcAAADWB8BSFZnYXNwAAA/EAAAAAgAAAAIAAAAC2hlYWQAAAEwAAAANgAAADYHjmg0aGhlYQAAAWgAAAAhAAAAJAdxA4NobXR4AAA/GAAAAf0AAAM4rLYg1m1heHAAAAGMAAAABgAAAAYAzlAAbmFtZQAAAeQAAASAAAALsh8D2xRwb3N0AAAIwAAAABUAAAAg/6sAMgABAAAAAQBBoLSspl8PPPUACw
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer 8r';
src: url('7766FE836C7695F8A.eot');
src: local('?'),
url('7766FE836C7695F8A.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRk9UVE8AAD7aAA0AAAAAbDQAAQAAAAA8uAAAAiIAAAaEAAAAAAAAAABDRkYgAAAI1AAAKDsAADFqCF+gE0dERUYAADEQAAAAHgAAACAA+wAER1BPUwAAMTAAAAkuAAAmIOvb1olHU1VCAAA6YAAAAFoAAACA6jAts09TLzIAAAGMAAAAUQAAAGBWn2WiY21hcAAABmQAAAJcAAADWB8BSFZnYXNwAAA6vAAAAAgAAAAIAAAAC2hlYWQAAAEwAAAANAAAADYFnbQXaGhlYQAAAWQAAAAfAAAAJAd5A7lobXR4AAA6xAAAAfIAAAM4qO0XG21heHAAAAGEAAAABgAAAAYAzlAAbmFtZQAAAeAAAASCAAALrxZZsG9wb3N0AAAIwAAAABMAAAAg/7gAMnjaY2BkYGBgZHBM3frePp7fqCA27IPcL+bH0e/Hfs32/ro/BZdRWjwxPoeGbAZUO9p/9Gc/h2aAdiQoWsOLXvQCWSaIQVK7w8s8KQIRVdt7q6yA4wlqyn2vN7XeeDGjuU32oAkrVXD32fCUh3BSp190NxDnXnQvANX9ScdveYiso+MJmMopthJMQCPEbLUHp4snHQfP8MJ3V+1fwetOTdLWsJgYuLpKHRIdxjE/Pdp7dyeGXUv4GSo8+Ow==);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer 8i';
src: url('6B52B7ED3AC281FEA.eot');
src: local('?'),
url('6B52B7ED3AC281FEA.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRk9UVE8AAEADAA0AAAAAbpAAAQAAAAA94AAAAiMAAAaIAAAAAAAAAABDRkYgAAAI3AAAKfcAADSTqgQHD0dERUYAADLUAAAAHgAAACAA+wAER1BPUwAAMvQAAAiGAAAlUCF+zsdHU1VCAAA7fAAAAFoAAACA6jAts09TLzIAAAGUAAAAUQAAAGBWn2WiY21hcAAABmgAAAJcAAADWB8BSFZnYXNwAAA72AAjEuTjpr
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer SSm 5i';
src: url('35B410DD408B18F0E.eot');
src: local('?'),
url('35B410DD408B18F0E.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRgABAAAAAHqrABIAAAAA7vQAAQAAAAB4gAAAAisAAAaQAAAAAAAAAABHREVGAABs+AAAAB4AAAAgAQwABUdQT1MAAG0YAAALCgAALQopMiInR1NVQgAAeCQAAABaAAAAgOo0LbVPUy8yAAACDAAAAFEAAABgVuBWLmNtYXAAAAz8AAACYwAAA1SAqqELY3Z0IAAAEOwAAABCAAAAQgGvFE1mcGdtAAAPYAAAAPcAAAFhkkHa+mdhc3AAA4=);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer SSm 7r';
src: url('06B328F14EA944AE9.eot');
src: local('?'),
url('06B328F14EA944AE9.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,Nn+bJQ9Ljasan9zzv8eT4eyl+A1OQQrY=);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer SSm 7i';
src: url('FF035F5C8A1C0FB53.eot');
src: local('?'),
url('FF035F5C8A1C0FB53.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRgABAAAAAHweABIAAAAA56QAAQAAAAB59AAAAioAAAaQAAAAAAAAAABHREVGAABvxAAAAB4AAAAgAQwABUdQT1MAAG/kAAAJtAAAJewFs+hKR1NVQgAAeZgAAABaAAAAgOo0LbVPUy8yAAACEAAAAFAAAABgV2ZmY2NtYXAAAA9sAAACYwAAA1SAqqELY3Z0IAAAE2QAAABCAAAAQgI9FPBmcGdtAAAR0AoaEC7j2uDuUEulpxVwb99wiEB+4Jb2fe9AYkz7Lg87Yl5UslBzZ+micPSU+rGZ/e87zHk9PvpfgFY+1Cug==);
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Archer SSm 8r';
src: url('BB466FC78313F6AF5.eot');
src: local('?'),
url('BB466FC78313F6AF5.eot?#hco') format('embedded-opentype'),
url(data:application/x-font-woff;base64,d09GRgABAAAAAHsLABIAAAAA6SgAAQAAAAB44AAAAisAAAaQAAAAAAAAAABHREVGAABuTAAAAB4AAAAgAQwABUdQT1MAAG5sAAAKFwAAKNDvP9epR1NVQgAAeIQAAABaAAAAgOo0LbVPUy8yAAACDAAAAFEAAABgWAxmXmNtYXAAAA/0AAACZgAAA1iBBKFQY3Z090NytE+8NkiaT+Q2SAdWFAQe0LUaNijFgHwlgv3sMPQIRromaAw5QXqXytmzeiyPoG4i56MYUddzquqmNTAw7XkrMcprPlC26FewzY9kpuAa1Bw7EF5Jv/8Ro6aSb4RzPq8buZ4DgJPzlOe/Bm/Ii/RS1JuKPJlZl5m5rGZOR2VfGj2qHuxOr7Bm9VbmDHKhJ9ZeiH1fznkyQNeHkiUqAX9LD6TrBlgI1les+GrMDRUwL3HxaGcQFcr7sqg/w6BcM894e3Mm96A5FkWfN60pHyp5MDGT/PkIelxNePTe573eHL8vRS/AZUAQsY=);
font-weight: normal;
font-style: normal;
}

Works again with CLI 1.6.7
Thanks guys!

I had this problem but found it only happened when I didn't run 'ng serve' from the root of the project.
'ng serve'ing from the root fixed it for me..

background: url('../../../assets/img/angular.png');

authors: Drammy Nrusingha1 SimonKunz ismailbaig


text:
build: Included githubactions in the dependabot config

This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.
Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot
GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool

Thanks for your contribution, but we use Renovatebot to update github actions.


text:
Docs Error: Module Providers Scope

Migrated from https://github.com/angular/angular/issues/12047
I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior
The docs are inconsistent with regards to providers and module scope. Here are two contradictory explanations:
From https://angular.io/docs/ts/latest/guide/ngmodule.html#!#providers
"The ContactService provider is application-scoped because Angular registers a module's providers with the application's root injector... ...We might expect Angular to offer a module-scoping mechanism to enforce this design. It doesn't. Angular module instances, unlike components, do not have their own injectors so they can't have their own provider scopes."
From https://angular.io/docs/ts/latest/guide/router.html#!#child-routing-component
"The CrisisService is neither needed nor wanted outside the Crisis Center domain. Instead of registering it with the AppModule's providers — which makes it visible everywhere — we register the CrisisService in the CrisisCenterModule providers array... ...This limits the scope of the CrisisService to the Crisis Center routes. No module outside of the Crisis Center can access it."
Expected behavior
Either the provider scope is limited to the module its declared in or not. I expect the docs to reflect the correct behavior everywhere. Which one of these paradigms is the real McCoy?
Angular version: 2.0.0

I think you missed the critical difference between the eagerly loaded AppModule and the lazy_ loaded CrisisCenterModule. That difference resolves the apparent contradiction.
We talk about this difference in numerous places including the FAQs. Do you have a specific recommendation about how we can make that more clear?

Closing the issue? Seems to me I am not the only one that feels this is unclear: https://github.com/angular/angular.io/issues/2527

I think you missed the critical difference...

A sign that the docs need work.
I would clarify this by explicitly stating everywhere that module providers can be scoped. In other words, delete the following:
"We might expect Angular to offer a module-scoping mechanism to enforce this design. It doesn't. Angular module instances, unlike components, do not have their own injectors so they can't have their own provider scopes."
This is false based on what you are now telling me as Angular does provide a module-scoping mechanism--the loading paradigm.

We talk about this difference in numerous places including the FAQs. Do you have a specific recommendation about how we can make that more clear?

Yes, talking about this in the FAQ would be ok if you linked to the FAQ every time you mention module provider scope. Because the loading paradigm critically alters scope behavior you need to disclose that any time you talk about scope. Without referencing the loading paradigm when talking about module provider scope, you are simply saying that module providers do AND do not have their own scope.

I also agree that this is confusing and imo bad practice. What if later for whatever reason a developer decided to make the module eagerly loaded. All of a sudden the app blows up.
Also if we provided the service via the root level component that the router defines, doesn't that scope it to only that component and all directives, pipes, components and (this is the one im not 100% on) services?

@alindsay55661: My statement isn't false. It's true. You ONLY get something resembling module scoping if you lazy load the module. And that is not an aspect of modules, it's an aspect of how the router works.
I agree that this is not as easy to follow as I would like.  I do not have a better way of expressing it at this time. With respect I must say that your proposal does not strike me as sufficiently better. Others have asked me to remove much of the repetition.
@falconmick Suppose you do eagerly load a module that you formerly loaded lazily? Something "bad" (i.e., breaking) happens ONLY if your feature module deliberately tried to shadow (replace) a provider defined in the root injector. Now you may have a reason to do that! But I'll bet it is rare and that you'll be aware that you did that intentionally ... in which case you will not be tempted to eagerly load that module.
There is very little risk from having a feature-specific provider in the Feature Module promoted to the root injector. Who is going to know? Who (outside of the feature) will inject it?  You can object on purist grounds but there is little to worry about in practice. And if you are a purist, you will have followed my advice to purists and provided the service in the top component for that feature.
If you added a provider to the root level component (AppComponent), that service will be available to every routed component from an eagerly loaded module.
Lazy loaded modules are different. They do NOT have access to anything provided in the AppComponent (or its subcomponents). They only have access the root injector services (above AppComponent) and the provided services within the context of the lazy loaded module.
I wish I knew an easy way to say this. If you wish to challenge the design, please send your comments to the angular site.

My statement isn't false. It's true.

@wardbell Sorry for the confusion, I wasn't referring to your statement. I was referring to the following line from the documentation (this could be your statement if you are the only author):

We might expect Angular to offer a module-scoping mechanism to enforce this design. It doesn't.

Since module scoping is dictated via the loader this line isn't correct. Or if argued to be correct, it is misleading. Generally if the documentation is difficult to write it indicates a problem with the design, so I can appreciate your challenge. In your case I would push back on those asking to remove documentation... a very odd request for a new framework with a large degree of ceremony.

authors: alindsay55661 falconmick wardbell


text:
docs(security): improve xsrf description and add it to http chapter as well

Improves the English description of XSRF in the Security chapter and adds a shorter version (with references) to the Http chapter where developers would expect to find it..
@mprobst Please review and confirm that the XSRFStrategy override, described in the original text, actually works in AoT:
{ provide: XSRFStrategy, useValue: new CookieXSRFStrategy('myCookieName', 'My-Header-Name') }

I fear that it might not because it involves executing code (newing the class).  It may be necessary to do this:
export const xsrfStrategy  = () =>  new CookieXSRFStrategy('myCookieName', 'My-Header-Name');
...
{ provide: XSRFStrategy, useFactory: xsrfStrategy  }

Please confirm which approach is best.

Perhaps it would be worth mentioning why the malicious code cant simply read the cookie and do the same thing.

Re whether this works with AoT, it should. The static reflector understands class instantiations and string literals, AFAIK.

@johnpapa I didn't want to get into this depth in our Angular docs. That's why we provide links. The real answer is that it has nothing to do with reading the cookie. In fact, the key to the XSRF attack is that the browser can be counted on to forward the cookie.
The key to the technique, as I understand it, is that the XSRF attack cannot set the request header! Knowing the cookie is useless; the server rejects the request if the cookie (whatever it is) doesn't match the header ... and the attacker can't set the header at all.
In any case, I really don't want to go into it.

@mprobst I wasn't sure about AoT's ability to instantiate with string literals. Not sure what the rules are. Good to know. Thanks. And thanks for your other comments which I will incorporate.

@mprobst @johnpapa Changes have  been made. I'll merge in a day or two if you have no more objections.

Thanks @mprobst @johnpapa. I you have more changes, time for a new PR

@wardbell please note that most folks don't work on weekends, so might be nice to leave a workday at least for comments. I think we also do mandatory code reviews in most Angular repos now, whether that's useful here for docs is probably your call.

authors: johnpapa mprobst wardbell


text:
[Guide] 'User Input' Final Code

I just did the Guide and found in the third Guide 'User Input' in the Final Code example a small typo.
In line 18 directives: [NgFor, NIf]
it has to be NgIf and not NIf

This should probably be reported to the Angular 2 repo.
This repo is for "Angular 1" (AngularJS).

Sorry, the angular.io page navigated me to this repo

@KapuzenSohn, np !
angular.io mentions both ng1 and ng2 (among other things), but the documentation primarily refers to ng2 (for the time being at least).
Where exactly on angular.io where you directed to this repo ?
(I'm asking, because it might be a bug in angular.io that needs fixing.)

I clicked on
'Contribute' -> 'Contribute to Angular for JS' then I was in the Contribution guide of this repository https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md

@KapuzenSohn, it is indeed confusing. Thx for pointing it out.
The issue has been reported here: https://github.com/angular/angular.io/issues/191

No problem, I reported the other one in the right repo :)

authors: KapuzenSohn gkalpak


text:
feat(ngRepeat): expose the iterating properties over the alias

Expose the properties $index, $first, $middle, $last, $odd and $even as part of the alias
Closes #9582

there is no traction on this idea, closing


text:
feat(storage): upload, read, and process* files

I'm submitting a feature request.
Current behavior
Exploring ways to handle file upload (images & pdf in particular) using Angular2. I was searching around the web and all the solutions points to using the multer middleware (an express app) for file upload.
Expected/desired behavior
The outcome I would like to achieve is to use Angular2 front end to allow user to upload the file to a Firebase3 storage as per Firebase SDK3.
Question

Will direct file storage to Firebase Storage be a part of AngularFire2? (I believe the answer is Yes)
If so, when will it be available?
The process* in the title is referring to processing the images and documents using Google Vision API. Will AngularFire2 have inbuilt connector to perform this?

Answers

Will direct file storage to Firebase Storage be a part of AngularFire2?

Yes! 💯

If so, when will it be available?

No date yet, but it's top on the list after the update.

The process* in the title is referring to processing the images and documents using Google Vision API. Will AngularFire2 have inbuilt connector to perform this?

This would be a feature of Firebase Storage and not AngularFire2, so I can't address it here.

any updates?

Hi @davideast any updates?

Hi, I'm using the regular way until it is released in AngularFire2. Just plain javascript inside a class method. But for some reason I keep getting a POST 404 error. What am I doing wrong?
This is the template:
<input type="file" (change)="upload($event)">
This is the method, most of it is just a copy paste from the Firebase example:
upload(value){
    let file = value.target.files[0];
    let storageRef = firebase.storage().ref('noticias/' + file.name);
    let uploadTask = storageRef.put(file);

    uploadTask.on(firebase.storage.TaskEvent.STATE_CHANGED,
      function(snapshot) {
        // Get task progress, including the number of bytes uploaded and the total number of bytes to be uploaded
        var progress = (snapshot.bytesTransferred / snapshot.totalBytes) * 100;
        console.log('Upload is ' + progress + '% done');
        switch (snapshot.state) {
          case firebase.storage.TaskState.PAUSED: // or 'paused'
            console.log('Upload is paused');
            break;
          case firebase.storage.TaskState.RUNNING: // or 'running'
            console.log('Upload is running');
            break;
        }
      }, function(error) {
      switch (error) {
        case 'storage/unauthorized':
          // User doesn't have permission to access the object
          break;

        case 'storage/canceled':
          // User canceled the upload
          break;

        case 'storage/unknown':
          // Unknown error occurred, inspect error.serverResponse
          break;
      }
    }, function() {
      // Upload completed successfully, now we can get the download URL
      var downloadURL = uploadTask.snapshot.downloadURL;
    });

  }

Any ideas?
Thx!

Any updates on this?

Any updates on this?

Hi, how can i upload a file on firebase storage

@EralpB @escobara @choopage
Right now we're focusing on some bug fixes and "recipes" section to help with common questions. After that is done we are going to start looking into Firebase Storage for AngularFire2.

@davideast i believe this feature is not live yet, so is there a work around for the same?

@veerni Use the regular Firebase SDK.
https://firebase.google.com/docs/storage/web/start

can i use firebase.storage() with angularfire 2, do i have to re-initialize firebase again, i have whole ionic app made up on angularfire 2, it has only one screen with file upload(profile pic).

@jtushar53 You do not have to reinitialize if you are already using AngularFire2

@davideast Sir we are waiting for storage API of angularfire2. Is there an update?

Any update on this feature? Thank u

any update? i'm waiting for angularfire2 storage 👍
Best regards 😃

I have faced the same issue, and the current work around is to access firebaseApp (firebase instance inside AngularFire2 module). Here is the original solution.
import { Component, Inject } from '@angular/core';
import { FirebaseApp } from 'angularfire2';
@Component({
template: 'testing'
})
export class AnyComponent {
constructor(@Inject(FirebaseApp) firebaseApp: any) {
const storageRef = firebaseApp.storage().ref().child('images/image.png');
storageRef.getDownloadURL().then(url => this.image = url);
}
}

Since the issue is closed I assume it has been added ? am I wrong ?

@sunlyear
I just tried this solution, but  it also seams to be affected by the same bug as this:
https://github.com/angular/angularfire2/issues/637
It takes ages until the image get shown, or it it working properly for you ?

Its not ready yet, we are waiting for the final release.
Best Regards.

Hi Mark,
Sorry but the firebase storage works really bad on the preview release, take a long time to show the files. We have to wait to the final release for better performance, because now is just 2 lines of code adapted.
Best Regards.
Sebastian Díaz Villada
Desarrollador Full-Stack
Móvil: +56 9 79852830
http://www.norweb.cl/
Antofagasta - Chile
[cid:EA86A0BA-D1E3-48FF-8230-6C7E72D06C41]
Esta comunicación puede contener material confidencial y/o información con derechos reservados del propietario, por lo tanto el uso de la misma es exclusiva para el destinatario. Si usted recibió este material por error, por favor notifíquelo inmediatamente al remitente, borre el correo y cualquier documento asociado con el mismo.
El 26-10-2016, a las 04:15, Marc Wensauer <notifications@github.commailto:notifications@github.com> escribió:
@sunlyearhttps://github.com/sunlyear
I just tried this solution, but it also seams to be affected by the same bug as this:
#637https://github.com/angular/angularfire2/issues/637
It takes ages until the image get shown, or it it working properly for you ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/angular/angularfire2/issues/213#issuecomment-256267819, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ARMku5bpAt4JY-7c8VEE3gJ-iX5NweX5ks5q3v4DgaJpZM4IwgaR.

hello this may help beginners to upload files from local drive to firebase especially for those who are using angular2 typescript angular-cli
import { Component, EventEmitter } from '@angular/core';
import * as firebase from 'firebase';
@Component({
selector: 'app-root',
template:           <input type="file" id="filebutton" value="upload" #filebtn (change)="filebuttoni($event)">                ,
styleUrls: ['./app.component.css']
})
export class AppComponent {
storageref;
storage;
path;
constructor(){
let config = {
apiKey: ,
authDomain: ,
databaseURL: ,
storageBucket:
};
firebase.initializeApp(config);
this.storage =firebase.storage().ref();
}
filebuttoni(event){
let files = event.srcElement.files[0];
let uploader=document.getElementById("uploader");
this.path="images/"+files.name;
this.storageref=this.storage.child(this.path);
let task=this.storageref.put(files);
}
}
make sure you made your firebase storage rules true because i am not doing authentication since this is a test code. i got this form some great programmers written their answers in stackoverflow . i am new in this so you may get explanations from experts. i done "npm install --save angularfire2 firebase" . works for me. please let me know if i did anything wrong. thank you

Hi @davideast any updates?

Hi @davideast,
Please any news about this  feature? please give us just an estimation of the release date,

Hi Folks, there are no ballparks or public release dates we can share. Sorry.

authors: Daewju EralpB MMOSX MmtBkn candidature cerealexx choopage da45 daslicht davideast escobara jtushar53 katowulf okonovalenko r-vijay-r sdiazvi sunlyear veerni


text:
bug(datepicker): It should announce the month name instead of number, when reading the focused date

Reproduction
Steps to reproduce:

Open the Datepicker Examples
Go to the "basic datepicker" demo
Activate "Open calendar" button from any section, say, "Single date selection"
Focus on any date value

Expected Behavior
It should announce the month name instead of month number for better understanding by the screen readers
Actual Behavior
It is announcing the month number instead of name. For example, it is announcing as "Thursday 08 5, Column 5 of 7"
Environment
OS| Browser | Screen reader
macOS Catalina | Google Chrome 92.0.4515.131 | VoiceOver
Additional Notes
This is copied from an internal bug report found during a11y testing.

I tried again, and I still can't reproduce this. I couldn't find where a numeric month would be coming from each cell on the calendar has an aria label with the full date (e.g. aria-label="February 1, 2022")
MacOS 12.2 (21D49), Chrome Version 97.0.4692.99 (Official Build) (x86_64), VoiceOver

repo: angular/components


text:
bug(MatChipList): Cannot set selectable of mat-chip with Angular Material

The previous version in which this bug was not present was
No response
Description
Using mat-chip-list as a multi select with fixed mat-chips and using selected as values do not seem to work:
<mat-form-field
    floatLabel="always"
    appearance="outline">
    <mat-chip-list multiple
                   required
                   name="roles"
                   [ngModel]="user.roles">
      <mat-chip
        [selectable]="true"
        [removable]="false"
        *ngFor="let option of options"
        (click)="addRole(option )"
        [selected]="user?.roles?.includes(option )">
        <span [outerText]="role"></span>
        <button
          *ngIf="user?.roles?.includes(option )"
          (click)="removeRole(option )"
          matChipRemove>
          <mat-icon>cancel</mat-icon>
        </button>
      </mat-chip>
    </mat-chip-list>
</mat-form-field>

and in .ts:
addRole = (role: string): void => {
    if (!this.user?.roles ?.some(auth => auth == role)) this.user?.roles ?.push(role);
    this.user.roles = [...this.user.roles];
  }

  removeRole = (role: string): void => {
    if (this.user?.roles?.some(auth => auth == role)) this.user.roles = this.user.roles?.filter(auth => auth != role);
    this.user.roles = [...this.user.roles];
  }

event with [selected]="true" on mat-chip it is not selected. If I don't clone with this.user.roles = [...this.user.roles]; the ngModel stops updating, and required validator is always invalid.
Reproduction
Steps to reproduce:

Use mat-chip-list with template driven forms as multi select

Expected Behavior
I'd expect the selected property to take change. Or ngModel to be updated.
Actual Behavior
Even if selected is set to true chip is never selected.
Environment

Angular:
CDK/Material: ^13.3.7
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Hello @hasancansaral,
I believe this issue was resolved in the newer MDC-based components released in v15. Does upgrading to v15 resolve this issue for you?
-Zach

Closing this issue due to no recent activity, if this is still an issue please create a new issue with a reproduction.

authors: amysorto hasancansaral zarend


text:
bug(virtual-scroll): Type inference broken when using *ngFor nested inside *cdkVirtualFor with keyvalue pipe

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Note: StackBlitz template is outdated, points to v15.x, but this is present in 16.0.4 also.
If you iterate over a key-value collection using *ngFor inside a *cdkVirtualFor, you encounter a compile error.
This error does not occur if you use *ngFor nested inside *ngFor.
Reproduction
StackBlitz link: https://stackblitz.com/edit/components-issue-kfvxis?file=src%2Fapp%2Fexample-component.html
Steps to reproduce:

Open demo
Observe no compile error under *ngFor
Uncomment *cdkVirtualFor example
Observe compile error

Expected Behavior
CdkVirtualFor should be a drop-in replacement for NgFor.
Actual Behavior
Object is of type 'unknown'. error.
Environment

Angular: 16.0.5
CDK/Material: 16.0.4
Browser(s): All
Operating System (e.g. Windows, macOS, Ubuntu): All

I suspect this is the same root cause as https://github.com/angular/components/issues/26609 where we don't have proper typings for the virtual for context yet.

authors: benelliott crisbeto


text:
(slideend) is not working as expected with [(ngModel)]  [material version is alpha 10]

i did two way binding md-slider with class attribute 'sliderVal'. as below code.
<md-slider (slideend)="onSlideEnd();" [min]="0" [max]="100"  [(ngModel)]="sliderVal">
//class members
sliderVal: number = 10;
onSlideEnd(){
console.log("slider value", this.sliderVal);
}
but the problem is when onSlideEnd() is called. its shows previous slider value in console.

The slideend event isn't really meant to be used on the slider element. If you're just looking to know when the value changes, the slider now has a change event. Is that what you need?

yes.. i have used (change) event too. but i am facing same problem

`<md-slider (change)="onSlideEnd($event);" [min]="0" [max]="100" [(ngModel)]="sliderVal">
//class members
sliderVal: number = 10;
onSlideEnd($event){
console.log("slider value", this.sliderVal);
}`
again.. the value for sliderVal shows previous value. (not the current value of slider)

Are you importing the FormsModule?
I was able to get this working with (slideend)
You can see a working plnkr here

authors: amanullahnxb jelbourn josephperrott


text:
Icons on md-tab-link and md-tab is not aligned

Bug, feature request, or proposal:
Icons are not aligned when used together with md-tab-nav-bar and md-tab-link.
What is the expected behavior?
Expecting to see the icon aligned middle with the text.
What is the current behavior?
Icons is aligned too high.
What are the steps to reproduce?
Source:

	TEST
	<md-icon>cloud</md-icon> TEST

Screenshot:

Source for inline tab:
<md-tab-group>
	<md-tab>
		<ng-template md-tab-label>
			<md-icon>cloud</md-icon> TEST
		</ng-template>

Some tab content

	</md-tab>
	<md-tab label="TEST">

Some more tab content

	</md-tab>
</md-tab-group>

What is the use-case or motivation for changing an existing behavior?
Shouldn't need to write custom CSS to use icons on tabs or navigation.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.2.5, Material beta 8, TypeScript 2.3.2, tested in Chrome.

Workaround:
.tab-icon {
	vertical-align: middle;
}

<md-icon class="tab-icon">date_range</md-icon> select a date

Screenshot:

I think vertical-align: middle; is not good enough

Now, the icon is too low

Should be fixed in master. Closing since it looks like I forgot to label https://github.com/angular/material2/pull/5771 properly.

In wait for the fix, adding font-size: 20px; make it look good

.tab-icon {
vertical-align: middle;
}
.tab-text {
    margin-left: 5px;
    vertical-align: middle;
}

{{link.icon}}
{{link.title}}

authors: Robouste brandon1525 crisbeto sondreb


text:
Why does  not giving any space?

Bug, feature request, or proposal:
I think it's a bug
What is the expected behavior?
example-spacer should fills the space in the remaining row
What is the current behavior?
nothing was filled
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/cli: 1.1.1
node: 6.10.3
os: win32 x64
Typescript: 2.4.1
Browser: Google chrome, and firefox
Is there anything else we should know?

example-spacer is not part of material2. It sounds like a CSS class defined in the example you're looking at.

Yeah, this sounds like a demo class and not something exported by Material.

authors: grizzm0 kara zikrimarquel


text:
Feature request: Google APIs' native support

Bug, feature request, or proposal:
I want a feature in Angular2.
What is the expected behavior?
We cannot use Google APIs natively in Angular, whereas the Polymer Project has it's own tags to use Google APIs. I would like to see the same in Angular, because I like Angular more than Polymer, atleast for now.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Every possible version.

You might want to try posting this in the Angular repository. This repository is for the Material library.

This is indeed out of scope for Angular Material, which is specially for Material Design UI components.

authors: Harshul-Vijay baruchvlz jelbourn


text:
feat(md-checkbox): Implement md-checkbox.

This commit adds the md-checkbox component to the material2 repo. It
includes unit tests and demos for the component. Note that while there
is a demo which exhibits all functionality of the component, the "Nested
Checklist" demo is still a WIP.
Fixes #35

@jelbourn all changes made!

@jelbourn all changes made!

LGTM
@kara can you do a pass? I think it's generally good to have a second set of eyes on any larger change.

@traviskaufman Looks like CI is failing:
IE 11.0.0 (Windows 8.1 0.0.0) MdCheckbox when the checkbox is clicked toggles the checked value FAILED
	TypeError: Object doesn't support this action

Is this something we can change in the code? Looks like there's a missing polyfill.

@jelbourn @kara @marcysutton all changes made!

@traviskaufman looks like there a few failures left on CI?

@jelbourn looking into it now

authors: jelbourn traviskaufman


text:
What I liked so much about durandalJS and wish for the new angularJS router

This is a feature request for something I have used in durandalJS and which is not existing at all in the angular ui router 0.2.13 and I am really surprised how well the architecture from durandalJS was where people are praising the ui router 0.2.13...
Please give the API user function hooks like active , canActivate, etc... where the user can put the logic inside the "controller" and prevent leaving an url like "do you want to save?". Using the global '$stateChangeStart" hook is not funny. This leaves duplicate code and not encapsulated.
Also consider create a guardRoute function:
http://stackoverflow.com/questions/17089694/how-to-handle-ignore-a-bad-route-with-durandal
Thanks!

Thanks for the feedback! This is already implemented, so I'm going to close this.

authors: bastienJS btford

repo: angular/router


text:
cacheDir clears the directory

I use a shared folder for caching, and cacheDir removes all files in the directory!

The cachedDir, is not really supposed to cache the outputted between sessions, its main purpose, is to reduce duplicate processing for common include files. So anytime you rerun the grunt task, it will clear out the cache directory.

authors: anguspiv monolithed

repo: anguspiv/grunt-ssi


text:
Delete older kubeconfig

Delete these after the backup
/home/anilsezer/.kube/config

Remade the entire cluster. Removed Microk8s, used vanilla k8s via ansible. IT IS NICE

repo: anil-sezer/Portfolio


text:
no chrome binary

Describe the bug
Program can't file no chrome binary
To Reproduce
Steps to reproduce the behavior:
When I try to log in at step 3
Screenshots

Desktop (please complete the following information):

OS: Ubuntu, I also try on mint but still the same.

Thanks for your help

I'm getting the same error, please help

a

@wild20tea Which arch ubuntu? Is it running on arm64 or amd64?
Download the chrome binary for that arch from releases

@wild20tea v3 released, reclone to a new folder and refer readme for setup instructions


text:
Leverage new rb-sys features for simplified CI and cross-platform builds

This PR updates the project to utilize the latest features of rb-sys.
Key changes

Simplify GitHub Actions workflows by using pre-built actions from oxidize-rb/actions
Enable some new platforms:

arm-linux
aarch64-linux-musl
x64-mingw-ucrt [^1]

Add smoke tests for many of the platform gems
Replace Rake::ExtensionTask with RbSys::ExtensionTask since it does the same thing as the old custom code
Upgrade rb-sys and rb-sys-build crates to version 0.9.94.

Tophat
For reference, you can see the passing CI builds here:

release -> https://github.com/ianks/tokenizers-ruby/actions/runs/8732060423
build -> https://github.com/ianks/tokenizers-ruby/actions/runs/8732060426

[^1]: 3pl fails currently because winapi-x86_64-pc-windows-gnu v0.4.0, how should I fix?

Saw your comment on https://github.com/ankane/tokenizers-ruby/pull/34#issuecomment-2062910399 so I closed this. If you change your mind, I'd be happy to re-open.

repo: ankane/tokenizers-ruby


text:
When I use "BertForQuestionAnswering.from_pretrained"

When I use "BertForQuestionAnswering.from_pretrained" to import my pytorch_model.bin, there having a error "tarfile.ReadError: not a gzip file".So, what should I do to use my pytorch_model.bin? Thanks.

When I use "BertForQuestionAnswering.from_pretrained" to import my pytorch_model.bin, there having a error "tarfile.ReadError: not a gzip file".So, what should I do to use my pytorch_model.bin? Thanks.
Just like these:
  Model_path = "../chinese_roberta_wwm_large_ext_pytorch/pytorch_model.bin"     bert_config = BertConfig.from_pretrained(args.config_path, output_hidden_states=False)         tokenizer = BertTokenizer.from_pretrained(args.vocab_path, config=bert_config)     model = BertForQuestionAnswering.from_pretrained(Model_path , config=bert_config)

When I use "BertForQuestionAnswering.from_pretrained" to import my pytorch_model.bin, there having a error "tarfile.ReadError: not a gzip file".So, what should I do to use my pytorch_model.bin? Thanks.

Just like these:
Model_path = "../chinese_roberta_wwm_large_ext_pytorch/pytorch_model.bin"
bert_config = BertConfig.from_pretrained(args.config_path, output_hidden_states=False)
tokenizer = BertTokenizer.from_pretrained(args.vocab_path, config=bert_config)
model = BertForQuestionAnswering.from_pretrained(Model_path , config=bert_config)

repo: ankit-ai/BertQA-Attention-on-Steroids


text:
[ci] Moves the CI to Nix. - [merged]

In GitLab by @freuk on May 9, 2019, 11:03
Merges nixCI -> replicaset

In GitLab by @freuk on May 9, 2019, 11:07
added 19 commits
089e66c4...4e8c08e5 - 18 commits from branch replicasete10f344a - [ci] Moves the CI to Nix.
Compare with previous version

In GitLab by @freuk on May 9, 2019, 18:52
added 3 commits
e10f344a...24bfa6d0 - 2 commits from branch replicaset1e84a751 - [ci] Moves the CI to Nix.
Compare with previous version

In GitLab by @freuk on May 9, 2019, 19:00
added 3 commits
e10f344a - [ci] Moves the CI to Nix.81775547 - Merge branch 'nixCI' of xgitlab.cels.anl.gov:argo/aml into nixCI289c6495 - checkpatch fix
Compare with previous version

In GitLab by @freuk on May 9, 2019, 19:11
added 1 commit
cc7f9e0a - checkpatch
Compare with previous version

In GitLab by @freuk on May 10, 2019, 06:55
added 1 commit
087b29f5 - [fix] checkpatch
Compare with previous version

In GitLab by @freuk on May 10, 2019, 07:07
merged

repo: anlsys/aml


text:
🛑 Rainbow is down

In 8d3f498, Rainbow (https://радуга-талантов.рф) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rainbow is back up in b459815 after 12 minutes.

repo: ano-pedproject/repo


text:
Tower of Hanoi in python

Tower of Hanoi in python using recursive logic

Please assign this issue to me

@anomekumar08 can you please assign this issue to me

@anomekumar08 I have added the code.

okk... @theyashwanthsai

hey can you please assign it to me too.

Please check and merge my PR #98

Can you please assign this issue to me?


text:
Use second-order finite differences when possible

Make the code use second-order finite differences for the v_x term whenever possible. We can for example follow the approach from the paper below.
http://epubs.siam.org/doi/abs/10.1137/060675186
@article{wang2008maximal,
  title={Maximal use of central differencing for Hamilton-Jacobi-Bellman PDEs in finance},
  author={Wang, J and Forsyth, Peter A},
  journal={SIAM Journal on Numerical Analysis},
  volume={46},
  number={3},
  pages={1580--1601},
  year={2008},
  publisher={SIAM}
}

This may cause the objective function to be non-smooth/discontinuous in the controller. This would cause issues with Optim, so it might be best to only do with the "constant policy timestepping" method.


text:
DM_2024-135.MSSante - Profession à rôle RPPS+ - JDV_J71-ProfessionFonction-MSSante

Système demandeur
MSSante
Date de génération souhaitée
ASAP
Contexte
Impact de la DM #146 sur MSSante
Jeu de valeurs à modifier
JDV_J71-ProfessionFonction-MSSante
Dans le cas de la mise à jour de la description du jeu de valeurs, veuillez indiquer la nouvelle description.
No response
Dans le cas de la mise à jour de la règle de mise à jour du JDV , veuillez indiquer la nouvelle règle.
No response
Dans le cas de la modification du contenu du JDV, veuillez indiquer sa nouvelle règle de construction ou les lignes mises à jour.
DM_2024-135.MSSante-JDV_J71-ProfessionFonction-MSSante.xlsx

Équipe NOS le 17/10/2024 : "La DM_2024-135-Professions à rôle RPPS+ peut impacter le JDV MSSanté : JDV_J71-ProfessionFonction-MSSante
En tant que référents pour MSSanté, souhaitez-vous faire évoluer vos NOS en conséquence ?"

Équipe MSS le 31/10/2024 : "Je ne sais pas évaluer quelle nouvelle catégorie de professionnels (habilité à l'échange de données de santé par le CSP) ajouté dans le RPPS+ pourrait intégrer notre JDV MSSanté. Je mets Alexia CARRERE en copie pour avis. Peut-etre les interne et les externes ?"

authors: ahn-kereval aml-kereval

repo: ansforge/IG-terminologie-de-sante


text:
.github/CODEOWNERS: add basic file

Set Sorin and I in CODEOWNERS, to get some reviewers automatically assigned.
Signed-off-by: Arnaud Patard apatard@hupstream.com

fyi, the failures of gh actions -devel tests will by fixed by PR122

repo: ansible-community/molecule-vagrant


text:
update GALAXY_PLATFORMS dictionary

add Fedora 33 and Fedora 34
add Ubuntu Hirsute Hippo
add vSphere 7.0 and vCenter 7.0

@ziegenberg Galaxy platforms are dumped using the API and I did run it again now and there are no collections with that data.
I cannot merge these as they would be overridden on next update. Someone needs to publish data on galaxy using these values before we can add them here.

If it's ok with you I would put this PR in the draft state and go have a look at where to file the PR for the necessary changes to the API data.

We assumed that Galaxy API does return a list of allowed platforms and versions but in reality  it does return a list of existing platforms and versions already published. This means that it could contain junk or miss newer platforms.
In order to provide auto-complete support in the schema we clearly need a list of values, otherwise we can allow any plain text at the cost of not helping most user pick a value.
I will need help from Galaxy folks on how to address this limitation, ideally Galaxy project should provide a way for people to add new acceptable values.
@awcrowby @chrousenecht Do you happen to be able to suggest a workaround for this issue?

authors: ssbarnea ziegenberg

repo: ansible-community/schemas


text:
Enable adding multiple users to sugroup via a loop

Overall Review of Changes:
Enable user to provide a list of users to add to the rhel_sugroup via a loop.
Issue Fixes:
None.
Enhancements:
Enable user to provide a list of users to add to the rhel_sugroup via a loop.
How has this been tested?:
Tested deployment on several freshly installed RHEL 8.5 and 9 servers.

Apologies for cluttering the pull requests. On reflection I don't think adding sudoer was the intention of that section.


text:
Auto Completion didn't work.

Summary
Auto Completion didn't work.
Extension version
v0.4.5
VS Code version
Version: 1.61.0 (Universal)
Ansible Version
ansible [core 2.11.5]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/Users/think/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.9/site-packages/ansible
  ansible collection location = /Users/think/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.9.7 (default, Sep  3 2021, 12:37:55) [Clang 12.0.5 (clang-1205.0.22.9)]
  jinja version = 2.11.3
  libyaml = True

OS / Environment
macOS: BigSur 11.6
Relevant log output
No response

I will support @ZaSiMiSaZ auto Completion didn't work
VS Code version 1.61.2
Extension version v0.4.5
macOS: BigSur 11.6
ansible [core 2.11.6]
config file = None
configured module search path = ['/Users/dnikitin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/4.7.0/libexec/lib/python3.9/site-packages/ansible
ansible collection location = /Users/dnikitin/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.9.7 (default, Oct 13 2021, 06:45:31) [Clang 13.0.0 (clang-1300.0.29.3)]
jinja version = 3.0.2
libyaml = True

repo: ansible/vscode-ansible


text:
Inconsistent syntax highlighting and autocompletion

Summary
Syntax highlighting is inconsistent and only highlights some modules. Even some modules that are part of the autocompletion (i.e. ansible.builtin.*) are not highlighted in the correct way:

As you can see, ansible.builtin.apt and ansible.builtin.pip are recognised correctly. ansible.builtin.docker_prune and the suggested improvement community.docker.docker_prune are not recognised.
On a side note: Is it correct, that only the ansible.builtin.* are part of the autocompletion?
Extension version
v1.0.90
VS Code version
1.73.1
Ansible Version
ansible --version
ansible [core 2.13.5]
  config file = /Users/lucas/Documents/GitHub/ansible/ansible.cfg
  configured module search path = ['/Users/lucas/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /opt/homebrew/Cellar/ansible/6.5.0/libexec/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/lucas/.ansible/collections:/usr/share/ansible/collections
  executable location = /opt/homebrew/bin/ansible
  python version = 3.10.8 (main, Oct 13 2022, 09:48:40) [Clang 14.0.0 (clang-1400.0.29.102)]
  jinja version = 3.1.2
  libyaml = True

OS / Environment
Apple MacBook Air M1
MacOS Ventura 13.0.1
ansible-lint 6.8.1 using ansible 2.13.5
Relevant log output
Path for lint:  /opt/homebrew/bin/ansible-lint
Validating using ansible-lint
Path for lint:  /opt/homebrew/bin/ansible-lint
Validating using ansible-lint
[Info  - 8:36:37 PM] [ansible-lint] [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names
to new standard, use callbacks_enabled instead. This feature will be removed
from ansible-core in version 2.15. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
WARNING  Overriding detected file kind 'yaml' with 'playbook' for given positional argument: /Users/lucas/Documents/GitHub/ansible/docker-maintenance.yml

Passed with production profile: 0 failure(s), 0 warning(s) on 1 files.

@luc-ass, auto-completion works for all the ansible collections found in your env. It is undoubtedly not limited to just ansible.builtin.*.
But for the first part, community.*.* (for all the FQCN's consisting of more than 3 parts), some discussions are going on in the team. Please refer: https://github.com/ansible/vscode-ansible/issues/573

@priyamsahoo thank you for your feedback! I am embarrassed, that I missed installing the collection first. :blush:
I'll report back/close the issue If this solves my issue.

ansible-galaxy collection install community.docker solved this issue for me. Thanks for pushing me in the right direction!

authors: luc-ass priyamsahoo


text:
Configure ansys doc-changelog and doc-deploy-changelog actions

See https://actions.docs.ansys.com/version/stable/migrations/index.html#version-v6 for details

This may be difficult given that these actions hard-code the relevant labels. We use different labels in this repo for the template and API definition updates, which would be grouped into a single 'misc' heading if we use these actions.
We should consider if making this change makes sense.

I think we should opt out of these changes for auto-generated packages in general. The changes will only ever be "updated to latest swagger.json" or "updated to latest template", which aren't particularly useful. No real functionality will ever be delivered in these packages.

authors: Andy-Grigg ludovicsteinbach

repo: ansys/grantami-bomanalytics-openapi


text:
Return a tuple in get_product_version()

FluentVersion doesn't support the patch version field. Also, FluentVersion is restricted to only few version numbers and won't work generally if this module is reused outside PyFluent.
I think it is better of simply return a tuple from this method.

Please note the later comment:

f"{response.major}.{response.minor}.{response.patch}" is also fine and as per the semvar syntax.

Please note the later comment:

f"{response.major}.{response.minor}.{response.patch}" is also fine and as per the semvar syntax.

@mkundu1 Yes, got it. Thanks a lot.

repo: ansys/pyfluent


text:
🐛[BUG]protable中pagination={{pageSize: 30}}api无效，无法设置每页展示数据条数

演示地址：
https://codesandbox.io/s/pro-table-k8g80?fontsize=14&hidenavigation=1&theme=dark
设置每页数据条数无效
      pagination={{
        pageSize: 30,
        defaultCurrent: 2
      }}

即便是文档提供的演示，这段代码也是无效的
https://codesandbox.io/embed/dreamy-river-q7v6s?fontsize=14&hidenavigation=1&theme=dark&view=preview
      pagination={{
        defaultCurrent: 10
      }}

你使用的是1.x 的版本吗？

试了一下，request的时候 取值时取了defaultPageSize的值。

应该pageSize  的优先级更高

repo: ant-design/pro-table


text:
Fix the docker file to have the correct mount of the local system for development in the container

Sort out the file volumes in the docker file

Complete system developed that each container connects to


text:
webstorm nuxt3  Cannot resolve directory '~icons'

webstorm error Cannot resolve directory '~icons'
webstorm Version 2022.1.2
nuxt Version 3.0.0-rc.4

Any help?

declare module '~icons/*' {
  import { FunctionalComponent, SVGAttributes } from 'vue'
  const component: FunctionalComponent<SVGAttributes>
  export default component
}

or: https://github.com/antfu/unplugin-icons/issues/204#issuecomment-1157570814

This issue can be closed

@LUDA0831 how did you solve it? I still have the issue :/

@LUDA0831 how did you solve it? I still have the issue :/

declare module '~icons/*' {
import { FunctionalComponent, SVGAttributes } from 'vue'
const component: FunctionalComponent
export default component
}

@ennioVisco this can be solved

Ok, thanks, but where did you put it?

@ennioVisco

When i have any other declaration then the ~icons/* it fails. Why is that?

declare module '~icons/*' {
import { FunctionalComponent, SVGAttributes } from 'vue'
const component: FunctionalComponent
export default component
}

can we add it to README.md?

authors: LUDA0831 anburocky3 darianstlex dongnaebi ennioVisco talaxasy

repo: antfu/unplugin-icons


text:
useTransition / useElementVisibility cleanup and jsdoc

Just a couple tweaks to help get my functions ready for the stable release.

useRafFn has start/stop marked as deprecated, renamed functions to resume/pause
adds jsdoc to useTransition
adds jsdoc to useElementVisibility
minor cleanups to useTransition to improve readability

Thanks a lot and the jsdocs are great!

authors: antfu scottbedard

repo: antfu/vueuse


text:
🛑 Students@VNU-HCMUS is down

In 910bbe1, Students@VNU-HCMUS (https://student.hcmus.edu.vn) was down:

HTTP code: 502
Response time: 1042 ms

Resolved: Students@VNU-HCMUS is back up in 7d1d97a after 20 hours, 52 minutes.


text:
Circle is too big on first load

Hi mate, see what happens when I present my BaTabBarController - the circle of the selected item is too big:

Device is iPhone X (iOS 13.1.2)

Hey - can you give me more info on what device you're trying this on? Sample code?

Closed due to inactivity

authors: antiguab scourgy

repo: antiguab/BATabBarController


text:
Highly nested Json

Hi,
I've a highly nested Json that I want to iterate through. Here is an example.
[{"a":[{"3":5},{"2":3},{"b":[{"n":2},{"b":"c"},{"c":[{"d":1},{"u":2}]}]}]},{"a":[{"3":5},{"2":3},{"b":[{"n":2},{"b":"c"},{"c":[{"d":1},{"f":[[2,3,4,{"tik":1}],3,5]}]}]}]},{"a":[{"3":5},{"2":3},{"b":[{"n":2},{"b":"c"},{"c":[{"d":1},{"i":2}]}]}]}]

Ho do I get to the tik key?
Also probably an unrelated question, is there a way how to search this highly nested Json based on key or value?
Thank you

@ehmo
Hi, ehmo!!
Do you remember this issue?
I've just finished to support this issue on my forked repo.
You can find your "tik" key.
https://github.com/aimof/jason/blob/fbb734d7ff248e01beea369ac2cc01b945c185aa/jason_highly_nested_test.go#L69
https://github.com/aimof/jason/blob/fbb734d7ff248e01beea369ac2cc01b945c185aa/jason_highly_nested_test.go#L120
Please check my srouce code.
The way of parsing is changed but it has compatibility.
Thank you.

authors: aimof ehmo

repo: antonholmquist/jason


text:
store.delete issues error

When trying to execute store.delete, I get the following error ::
/home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/graph_callbacks.js:71
    this.updateInProgress[event].push(quad);
                         ^
TypeError: Cannot read property 'deleted' of null
    at Callbacks.CallbacksBackend.nextGraphModification (/home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/graph_callbacks.js:71:26)
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/query_engine.js:1707:43
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/lexicon.js:440:9
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/utils.js:438:26
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/utils.js:420:9
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/utils.js:401:21
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/utils.js:417:13
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/utils.js:434:21
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/lexicon.js:437:13
    at /home/ckristo/rdfstore-js-example/node_modules/rdfstore/src/utils.js:431:20

Process finished with exit code 1

I'm using node.js and the following code:
           // - delete existing statements
            var g = rdfEnv.createGraph();
            g.add(rdfEnv.createTriple(me,
                rdfEnv.createNamedNode('foaf:mbox'),
                rdfEnv.createNamedNode('mailto:mail1@example.com')));
            g.add(rdfEnv.createTriple(me,
                rdfEnv.createNamedNode('foaf:mbox'),
                rdfEnv.createNamedNode('mailto:mail2@example.com')));
            store.delete(g, function(arg1, arg2, arg3) {
                console.log(arg1);
                console.log(arg2);
                console.log(arg3);
            });

I'm trying to reproduce the error unsuccessfully.
Trying this adapted version of your example:
var Store = require('./src/store');

var frankie = 'http://test.com#francesca';

console.log(Store);

Store.create({name: 'test', overwrite: true}, function (err, store) {

    var graph = store.rdf.createGraph();
    var rdfEnv = store.rdf;

    graph.add(rdfEnv.createTriple(rdfEnv.createNamedNode(frankie),
                              rdfEnv.createNamedNode('foaf:mbox'),
                              rdfEnv.createNamedNode('mailto:mail1@example.com')));
    graph.add(rdfEnv.createTriple(rdfEnv.createNamedNode(frankie),
                              rdfEnv.createNamedNode('foaf:mbox'),
                              rdfEnv.createNamedNode('mailto:mail2@example.com')));

    store.insert(graph, function (err, results) {
        console.log("INSERTING: "+err+" :: "+results);

        store.execute('SELECT * { ?S ?P ?O }', function(err,results){
            console.log(results);
            store.delete(graph, function(err, results){
                console.log("DELETING: "+err+" :: "+results);
                store.execute('SELECT * { ?S ?P ?O }', function(err,results){
                    console.log(results);
                });
            });
        });
    });
});

I got a correct result:
{ Store: { [Function] VERSION: '0.9.6' },
  create: [Function],
  connect: [Function] }
INSERTING: null :: true
[ { S: { token: 'uri', value: 'http://test.com#francesca' },
    P: { token: 'uri', value: 'http://xmlns.com/foaf/0.1/mbox' },
    O: { token: 'uri', value: 'mailto:mail1@example.com' } },
  { S: { token: 'uri', value: 'http://test.com#francesca' },
    P: { token: 'uri', value: 'http://xmlns.com/foaf/0.1/mbox' },
    O: { token: 'uri', value: 'mailto:mail2@example.com' } } ]
DELETING: null :: true
[]

I just run the example directly from current sources. Could you tell me which version of the store are you using?
Also, if you could provide me with a self contained example showing the problem, including the data loading part, I could try to debug it better.
Thanks.

Hi, sure -- here's the link where you can download the complete source of the example: https://www.ckristo.net/owncloud/index.php/s/xurJMhIHAqIjk7c

Hi @ckristo
I found the problem: you didn't nest the delete operation within the insert and it was causing a problem in the execution of the callbacks.
Since the rewrite, the all modifications in the store are asynchronous, you need to nest the callbacks correctly.
Here's the corrected version: https://gist.github.com/antoniogarrote/8d1fad8df957d090f86c
Cheers.

Hi, ah I see -- so it is not a good idea to start two operations that modify the store in parallel ... thanks!

authors: antoniogarrote ckristo

repo: antoniogarrote/rdfstore-js


text:
"Aurora has stopped working" at boot or launch

2017_30_10.log
What are you experiencing an issue with?

[x] Aurora Lighting issue

What kind of an issue is it?

[x] Crash

Actual behavior:
When i boot or when I lauch aurora, aurora work properly (RGB profil is correctly loaded) but i have this crash report:

https://img4.hostingpics.net/pics/662573auroraerror.png

When I click OK, aurora stop
How often does this problem occur?
Every time
Explanation
At first, Aurora worked perfectly, one day I left my computer on all day while I was at work for some downloads
When I returned to my computer, it was totally frozen, aurora took 100% use of my CPU.
I restarted my computer, uninstalled and reinstalled aurora.
Since, this error message appears at each startup or when I try to launch the application
.
I reinstalled the latest version of aurora and the previous version several times, and then tried to clone the git to the location indicated by the error message without success.
Sorry for my french and thanks in advance

Delete %appdata%/Aurora/Config.json

authors: Overfloow simon-wh

repo: antonpup/Aurora


text:
Update wimboot to version 2.6.0

Hi there,
Love the project. I recently wanted to use some newer features in wimboot, notably dynamic patching of winpeshl.ini and install.bat to kick-off Windows setup.
I realized wimboot 2.6.0 that enables dynamic patching is slightly newer than the one currently included in netboot.xyz. I would have opened a pull request although I wasn't entirely clear on how image signatures should be handled so in my custom menu I simply skipped verifying them.
Happy to help.
Thanks for the great project!

I updated wimboot back in January: https://github.com/antonym/netboot.xyz/commit/702f4851b310ecea91e1e43ea2b22a07039f7298
Let me know if it isn't pulling that version for whatever reason.

@antonym Oh thank you, so sorry, I did scroll back through commit history but missed this one. I'll give it a try today!

No problem, the versioning in netboot.xyz is related to the how the netboot.xyz iPXE bootloader is generated and really only used to pull a newer version of iPXE if it's required by the netboot.xyz code.

authors: antonym barnabyc


text:
[e2e] Several improvement

Remove unused 'antreaNamespace' parameters in getFeatures related methods
Check length of 'bwSlice'
Move 'AntreaConfigMap' to framework.go
Improve Pod name in networkpolicy_test.go

Signed-off-by: Zhecheng Li lzhecheng@vmware.com

Codecov Report

Merging #2527 (29c85b5) into main (028393d) will decrease coverage by 17.55%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #2527       +/-   ##
===========================================
- Coverage   59.78%   42.23%   -17.56%
===========================================
  Files         284      148      -136
  Lines       22265    18220     -4045
===========================================
- Hits        13312     7695     -5617
- Misses       7535     9830     +2295
+ Partials     1418      695      -723

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/util/runtime/runtime.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/cniserver/pod_configuration_linux.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/apis/controlplane/v1beta1/register.go
0.00% <0.00%> (-92.86%)
:arrow_down:

pkg/ovs/openflow/logs.go
9.52% <0.00%> (-90.48%)
:arrow_down:

pkg/apis/controlplane/register.go
0.00% <0.00%> (-90.00%)
:arrow_down:

pkg/agent/nodeportlocal/k8s/annotations.go
0.00% <0.00%> (-83.88%)
:arrow_down:

pkg/agent/agent_linux.go
0.00% <0.00%> (-80.00%)
:arrow_down:

pkg/agent/client.go
0.00% <0.00%> (-77.42%)
:arrow_down:

... and 231 more

/test-e2e /skip-conformance /skip-networkpolicy

@antoninbas I believe it is. I witnessed the failure before so I made the code change.
I will retrigger and let's see the result.
/test-e2e /skip-conformance /skip-networkpolicy

/test-e2e /skip-conformance /skip-networkpolicy

=== RUN   TestFlowAggregator/IPv4/RemoteServiceAccess
    flowaggregator_test.go:514: Error when running iperf3 client: command terminated with exit code 1

Is it just the test being flaky?
cc @srikartati

Looks like there is a failure when running iperf command itself. Command exit code 1 usually corresponds to issue with options given or wrong options in the iperf command. Wondering how can this error be possible if it's flaky.

@antoninbas @tnqn this time e2e test is successful. I think we can get this PR merged.

@srikartati @zyiou
This code should probably be improved in another PR:
	stdout, _, err := data.runCommandFromPod(testNamespace, "perftest-a", "perftool", []string{"bash", "-c", cmdStr})
	if err != nil {
		t.Errorf("Error when running iperf3 client: %v", err)
	}

the test should abort early if iperf fails, and we should log stdout / stderr for future debugging

authors: antoninbas codecov-commenter lzhecheng srikartati

repo: antrea-io/antrea


text:
Fix openflow15 GroupMod.MarshalBinary to correctly handle marshaling twice.

During experiments with stress testing of flow/group insertion into OVS, I've came across a small bug in GroupMod marshaling, when doing it more than one time.
I've modified tests to check no other message is affected.
I'll be glad if someone will look at it. Thanks in advance!

@wenying / @hongliangl could you take a look at this one?

https://github.com/antrea-io/libOpenflow/releases/tag/v0.14.1 has the change.

authors: tnqn xelez-work

repo: antrea-io/libOpenflow


text:
Update CHANGELOG and VERSION for v0.2.0 release

Set VERSION to v0.2.0
Create CHANGELOG file for 0.2.0 release.
List new features and issues fixed

Signed-off-by: Ziyou Wang ziyouw@vmware.com

Thanks for all your comments! I have changed it accordingly, please help to take another look.

repo: antrea-io/theia


text:
bug: sankey chart render offset or disappear in docs demo

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link
https://g2.antv.vision/zh/examples/relation/relation#sankey
Steps to reproduce

open demo link

comment line 29

Environment
Info

g2
4.2.5

System
macOS Monterey

Browser
Chrome 104.0.5112.79（正式版本） (arm64)

求你的数据，我本地复现一下。

求你的数据，我本地复现一下。

我这边没有修改过数据。

@hustcc 请问能复现该问题吗，需要我提供其他信息吗

注释掉 29 行也没有问题啊。

你浏览器版本是啥？

注释掉 29 行也没有问题啊。

你浏览器版本是啥？

浏览器 Chrome 版本 104.0.5112.79（正式版本） (arm64)
系统 macOS Monterey v12.4

authors: Lmmmmmm-bb hustcc


text:
存在多个 transform 的情况下，Tooltip 默认不会展示堆叠前的数据

问题描述
#4681 提到 Tooltip 默认展示堆叠前的数据，但是如果存在 .transform({ type: 'groupColor', y: 'count' }) ，会导致 Tooltip 展示堆叠后的数据：
import { Chart } from '@antv/g2';

const chart = new Chart({
  container: 'container',
  height: 640,
});

chart.coordinate({ type: 'theta', innerRadius: 0.6 });

chart
  .interval()
  .transform({ type: 'groupColor', y: 'count' })
  .transform({ type: 'stackY' })
  .data(
    [
      { name: 'A' },
      { name: 'A' },
      { name: 'A' },
      { name: 'B' },
      { name: 'C' },
    ]
  )
  .encode('color', 'name')
  .style('stroke', 'white')
  .style('inset', 1)
  .style('radius', 10)
  .scale('color', {
    palette: 'spectral',
    offset: (t) => t * 0.8 + 0.1,
  })
  .animate('enter', { type: 'waveIn' })
  .legend(false);

chart.render();

如何展示堆叠前的数据？
是否应该默认展示堆叠前？

重现链接
No response
重现步骤
No response
预期行为
No response
平台

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

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

这例子中期望展现的堆叠前的数据是啥？

@pearmini 3,1,1 啊
不是三个A，1个B，1个C嘛

chart
  .interval()
  .interaction('tooltip', { shared: true }) // 这样？

authors: YiSiWang pearmini


text:
离散坐标下，如何标注 [-Infinity, x] 区域？

问题描述
https://g2.antv.antgroup.com/zh/examples/annotation/line/#quadrant-scatter
标注例子是连续坐标，如何在离散坐标下，标注超出某个值的区域？（即包含 padding 区域等）

import { Chart } from '@antv/g2';

const chart = new Chart({
  container: 'container',
});

chart.data({
  type: 'fetch',
  value:
    'https://gw.alipayobjects.com/os/bmw-prod/0b37279d-1674-42b4-b285-29683747ad9a.json',
  transform: [
    { type: 'filter', callback: (d) => d['change in male rate'] !== 'NA' },
  ],
});

chart
  .range()
  .data([
    { x: [-25, 0], y: ['Low income', 'Lower middle income'], region: '1' },
  ])
  .encode('x', 'x')
  .encode('y', 'y')
  .style('fill', '#d8d0c0')

chart
  .point()
  .encode('x', 'change in female rate')
  .encode('y', 'income')
  .encode('size', 'pop')
  .encode('color', 'continent')
  .encode('shape', 'point')
  .scale('y', {
    domain: ['Low income', 'Lower middle income', 'Upper middle income', 'High income'],
  })
  .scale('color', {
    range: ['#ffd500', '#82cab2', '#193442', '#d18768', '#7e827a'],
  })
  .scale('size', { range: [4, 30] })
  .style('fillOpacity', 0.8)
  .legend(false);

chart.render();

重现链接
No response
重现步骤
No response
预期行为
No response
平台

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

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

如下标注看上去会好一点？视觉上就是向两头扩展一下，可能需要处理一下 band scale 的 offset？

@pearmini 实际的场景是需要标注 "xx以上" 或 "xx以下" 的区域。
你的提议是 算出最大/最小的离散值，然后标注 [xx, 最大/最小值]区域，扩展 offset ？
这样也行，但是散点图的比例尺是 point 而不是 band

如果 range 能像 text 支持 dx dy 那样进行偏移，也可以用 style 扩展边界（不是整体的偏移，而是某条边的偏移）
感觉会比动 scale 更合理些🤔


text:
fix(tooltip): 修复tooltip 在非极坐标下 marker 位置显示错误的问题

[x] 修复非极坐标下 的 marker 位置显示错误的问题
[x] 修复 polygon 多边形 marker 位置不在中心点点问题。

before
after

@ai-qing-hai  对于 polygon 更好的做法是取重心作为 tooltip marker 的 位置，

Pull Request Test Coverage Report for Build 3021024721

18 of 20 (90.0%)  changed or added relevant lines in 2 files are covered.
51 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.2%) to 91.133%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/util/tooltip.ts
8
10
80.0%

Files with Coverage Reduction
New Missed Lines
%

src/animate/animation/sector-path-update.ts
1
93.1%

src/core.ts
1
93.59%

src/component/labels.ts
3
87.31%

src/chart/controller/tooltip.ts
5
91.02%

src/util/tooltip.ts
5
85.68%

src/chart/controller/annotation.ts
7
93.44%

src/geometry/label/layout/hide-overlap.ts
14
13.79%

src/geometry/label/util/createWorker.ts
15
40.91%

Totals

Change from base Build 2582561281:
-0.2%

Covered Lines:
11857

Relevant Lines:
12507

💛  - Coveralls

authors: ai-qing-hai coveralls visiky


text:
使用addItem添加的节点无法使用getNodeDegree

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce
使用了官方的DEMO，然后使用addItem手动添加了一个节点，其ID为9，然后我在window下挂载了graph，在控制台使用window.g.getNodeDegree查找id === 9 节点的度，在4.1.12版本中报错，在3.7.0中返回0

Environment
Info

g6
4.1.12

System
windows10

Browser
firefox 85

请问这是BUG还是我遗漏了什么操作？

@baizn 您好，我看了一下您的修复方式，似乎只是考虑到了新增节点未连线的情况？还有一种情况是addItem新增节点，然后与现有节点连线，再获取新节点的度，此时该新节点的入度或者出度肯定有一个不是0的。我之前debug过，好像是通过addItem添加的节点并不存在于graph的data中，导致计算度的时候出错。

4.1.13 修复了哈

authors: Yanyan-Wang lmsccc


text:
docs: 完善表组件文档,添加事件回调接口说明

👀 PR includes

🐛 Bugfix

[ ] Solve the issue and close #0

🔧 Chore

[ ] Test case
[x] Docs / demos update
[ ] CI / workflow
[ ] Release version
[ ] Other ()

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
feat(switcher): add disabled property

👀 PR includes

✨ Feature

add disabled property

add css to center disabled popover Button

:tada: This PR is included in version @antv/s2-react-v1.14.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:
chore: 🤖 更新 changelog 文件

  🤖 由 [🚀 After the release is successful] action 自动创建.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: