Improvement: Ensure respect for --no-deprecation flag when adding non…

… util.depracation warnings to console output

What kind of change does this PR introduce?
Account for --no-deprecation flag while pushing deprecation warnings outside of util.deprecate

Did you add tests for your changes?
No

If relevant, link to documentation update:

Summary
After looking at #5942 i thought that adding a flag to hide 2-3 deprecation warnings in each place wasnt the best idea, if we really dont want to see the messages which we actually trigger with tests, we should be able to change the test:unit and test:integration commands to use --no-deprecation instead of doing --trace-deprecation and per call change to process.noDeprecation value.

Does this PR introduce a breaking change?
No

Other information
None
CC: @madeinfree

The test for the apply method is here. You could add a test for the plugin method too to get full test coverage.

Hi @sokra
I've added a test for plugin and moved to util.deprecation, but now as i dont push to warnings the test becomes redundant, any other way that we can check it here: https://github.com/webpack/webpack/pull/5985/files#diff-8f9ae416209a5b226aebb96b28bb7fb9R97

Ok just leave the NoErrorsPlugin as it was before the changes. It's doesn't log to stdout so I guess it's not relevant. I'll remove the plugin in the next branch, as it's deprecated since v2 anyway.

@sokra think its good now, i've seen you already made removal #5988 👍

Thanks

Thank you @EugeneHlushko, @sokra could I PR to help fix this 💪?

@sokra OK~ I send a new PR here https://github.com/webpack/webpack/pull/6005, thank you !!


Pass on gwms distro requests to condor backends (SOFTWARE-2801)

As requested by @jdost321

Though, I'm open to a discussion.

We could add a config knob that controls whether or not we use this requirements expression.

Really, I would like @bbockelm to weigh in.  I may be just blowing our use case out of proportion.

What happens when a glidein requests any?
What happens when there is a request for a non-RHEL site?  (i.e., Debian)?  I think we should probably whitelist known distros instead of blindly applying substr.
Maybe have this requirement be an eval_set and be disabled if WantDocker is true?
I would prefer to see the factory use the HTCondor nomenclature.

@bbockelm so you envision that the factories would submit pilots with something like the following?
requirements = "OpSysMajorVer =?= '6'"

I was going through old JIRA tickets and was reminded of this PR. If this is something we still want, I'm still unclear about what you meant here @bbockelm :

I would prefer to see the factory use the HTCondor nomenclature.

Abandoning this


SPA - default to browser language

Hi,
Thanks for this awesome module, first of all. I'm developing a pure SPA with nuxt and I'm trying to implement nuxt-i18n for my project. Everything works well except for the fact that, when I enter the root URL for my application, the locale doesn't default to the current browser language. I've read the browser language detection in the doc, but I was wondering if this only applies to universal applications and whether this could be somehow adapted to pure SPAs.
Thanks in advance.

This question is available on Nuxt community (#c96)

Hi @mapeal2 !
Browser language detection should now work in v4.2.0 :)

Hi @paulgv ,
That was my understanding, but couldn't make it work. I console logged "req" parameter in middleware.js and it's always undefined, and that's why the logic doesn't go into the browser detection block. Is there any circumstance that could make req be undefined?
Thanks in advance.

@mapeal2 sorry, I meant that I just implemented the change in the module, it did not work before but it should work if you upgrade to v4.1.0 :)

Hi @paulgv ,
My fault, I had v4.0.2 and didn't realize that this functionality was available in v4.1.0.
I've tested this now and I've detected what I think could be an issue, from my humble point of view. Given 2 locales ('en', 'fr'), default locale is 'en' and the preferred browser language is 'fr', with the 'prefix_except_default' option, the steps to reproduce it would be:

Visit home page '/' --> browser language is detected and redirected to '/fr', which is correct.
Close the browser.
Open a new browser and enter the home page ('/') again --> 'en' locale is chosen, ignoring cookie.

I would expect that, when opening the home page again, the application would be redirected to '/fr' instead of staying in '/'.
Please confirm this is expected behaviour, if you'd be so kind.
Regards.

Hi @paulgv ,
Just to clarify what I'm looking for, I created a plugin to implement my expected behaviour. First, I set detectBrowserLanguage: false not to interfere with the new logic, and rather perform the actions in the mounted hook instead of doing it in the middleware, which could be less efficient (correct me if I'm wrong). Then I implemented this logic in the new plugin:
import extend from '@/utils/extend_i18n'
import Cookies from 'js-cookie'
const cookieKey = 'my_i18n_locale'
export default async function ({ app }) {
extend(app, {
mounted() {
if (!Cookies.get(cookieKey)){
let navigatorLocale = navigator.language.toLocaleLowerCase().substring(0, 2)
let browserLocale = app.i18n.locales.find(locale => locale.code == navigatorLocale)
		  if (browserLocale){
		    app.i18n.locale = browserLocale.code
		  } else {
		    app.i18n.locale = app.i18n.defaultLocale
		  }

		  const date = new Date()
		  Cookies.set(cookieKey, app.i18n.locale, {
		    expires: new Date(date.setDate(date.getDate() + 365))
		  })

		} else {
			app.i18n.locale = Cookies.get(cookieKey)
		}

		this.$router.replace(this.switchLocalePath(Cookies.get(cookieKey)))
	},
}),
app.i18n.onLanguageSwitched = (oldLocale, newLocale) => {
	const date = new Date()
	Cookies.set(cookieKey, newLocale, {
		expires: new Date(date.setDate(date.getDate() + 365))
	})
}

}
This way, whenever I enter '/', it always gets redirected to what is set in the cookie, except for the first time, in which the browser language is taken into account.
Hope this clarifies my point of view.
Thanks and regards.

Hi @paulgv ,
Could then this be considered as an issue?
Regards.

Hi,
Could you please take a look at the scenario I pointed out and let me know if this is something that could be incorporated/improved in coming releases?
Thanks in advance.

Hi @mapeal2 sorry for the delay.
The scenario you described does look like something that should be taken into account and fixed in a future release, I'll open a bug report for this.


User should be able to get a full branch-wise partition of the data from the LST.

This is what the "branch-mass" form of the plot uses, but it's not currently exposed for the user.

Addressed by PR #39.


Maven dependency-check does not honor -Dformat or -Dformats options

Describe the bug
When running the maven dependency-check plugin via the command line,  options for report output formats (-Dformat=XML or -Dformats=XML,HTML,CSV) cannot be specified via the command line. Other options like e.g. -DassemblyAnalyzerEnabled=false work fine. Supplying output formats via the command line should also be possible, when formats are not specified in the POM. The HTML and CSV reports are always generated regardless of the format specification on the command line.
Version of dependency-check used
The problem occurs using version 6.1.1, 6.1.5 to 6.2.2 of the maven plugin. I did not test versions prior to 6.1.1
Log file
https://gist.github.com/gl-mc/9835b445e0f28b4b35fb1b9eb034202b
To Reproduce
Steps to reproduce the behavior:

Choose a Java project of your choice
Remove any dependency-check-maven plugin sections from the POM, e.g. by using the xslt stylesheet https://gist.github.com/gl-mc/732f3c66dfb00698a42a5fb973d65a36 and xstlproc. Command line would be
xsltproc dep-check-pom-remover.xslt pom.xml > pom.new.xml && mv pom.new.xml pom.xml
Run a mvn plugin target with the -Dformat or -Dformats switch, e.g.
mvn org.owasp:dependency-check-maven:6.2.2:check -DfailOnError=false -DskipProvidedScope=true -DnuspecAnalyzerEnabled=false -DassemblyAnalyzerEnabled=false -Dformat=XML -Dformats=HTML,CSV,XML
only HTML and CSV files are produced in target/ folder, but no XML file as expected. Other switches seem to work correctly.

Expected behavior
File formats defined with -Dformat and -Dformats are created in target/ directory
Additional context
I also tried to use -DFormat(s) (with a capital F), but that didn't make any difference

Just ran the following and got a JSON report:
$ mvn verify -Dformat=JSON
...
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (23 seconds)
[INFO] Writing report to: /Users/jeremy/Projects/odc-falsepositives/target/dependency-check-report.json
...

Or using formats:
$ mvn verify -Dformats=XML,CSV
...
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (23 seconds)
[INFO] Writing report to: /Users/jeremy/Projects/odc-falsepositives/target/dependency-check-report.xml
[INFO] Writing report to: /Users/jeremy/Projects/odc-falsepositives/target/dependency-check-report.csv
...

Agree it's a FP.

The settings were introduced through a parent pom, which was not removed when generating mvn help:effective-pom.
Thanks!


Redeclaring a global variable in eval code resets variable to undefined

https://github.com/svaarala/duktape/issues/1350#issuecomment-277453162
Repro:
global.fn = function() { console.log("the pig ate it"); };
(0, eval)('var fn;');
fn();

Node prints the pig ate it. Duktape throws TypeError: undefined not callable.

The issue doesn't occur when global code or eval code redeclares the variable in the same compilation unit, e.g.:
var foo = 123;
var foo;
console.log(foo);  // -> 123

This is the case because the compiler "squashes" the duplicate declaration as part of tracking identifiers, so only one DECLVAR gets emitted, and the issue isn't triggered. In the problematic eval case the eval code is a separate compilation unit which allows the case to happen.

Related issue, useful in repro test cases:
print(Math);
var Math;
print(Math);

This should print:
[object Math]
[object Math]

but prints
undefined
undefined

because of the same root cause.

In the problematic eval case the eval code is a separate compilation unit which allows the case to happen.

That explains the real-world issue too: In my case a native C-provided binding was being overwritten.

I assume the fix is to change DECLVAR to not set the variable to undefined if a binding by that name already exists.

Essentially yes, with careful reading of all the related semantics in each execution mode.

I assume this is the relevant bit:

b. Let varAlreadyDeclared be the result of calling env’s HasBinding concrete method passing dn as the argument.
c. If varAlreadyDeclared is false, [...]

HasBinding:

Let envRec be the declarative environment record for which the method was invoked.
If envRec has a binding for the name that is the value of N, return true.
If it does not have such a binding, return false.

But global code doesn't have a declarative environment IIRC--it has an object environment.  So I'm not sure whether varAlreadyDeclared should be true or false in that case (assuming a global binding by the same name already exists).

I'll look at ES2016 to see if anything has changed.

It's quite difficult to follow the variable declaration semantics in the specification as they're all over the place, but considering that var x; is evaluated as follows:

Return NormalCompletion(empty).

That seems to indicate that the current behavior of overwriting existing global bindings is indeed a bug.  A var statement without an initializer has no observable effects at runtime.

It is clearly a bug, yes.

I also found following the specification semantics for declarations rather complicated btw... :)

I ran into something similar (or the same?) on 1.5.1:
duk_peval_string( ctx, "var a=5; print(a);if(typeof a=='undefined'){var a=6; print(a);} print(a);" ); duk_pop( ctx ); duk_peval_string( ctx, "print(a);if(typeof a=='undefined'){var a=6; print(a);} print(a);" ); duk_pop( ctx );
prints 5,5,6,6... somehow just evaluating the string causes a re-definition.  Is this is same as the issue described here?

So I recently ran into something in 1.5.1 that can be demonstrated like this:
duk_peval_string( ctx, "a=5; print(a);" );
duk_pop( ctx );
duk_peval_string( ctx, "print(a); a=6; print(a);" );
duk_pop( ctx );
duk_peval_string( ctx, "print(a); var a=7; print(a);" );
duk_pop( ctx );
Which outputs 5,5,6,undefined,7.  Is this the same issue addressed here or am I misunderstanding?

@mpietras It is very likely the same issue. It occurs on the third eval. The var a=7 is executed in two parts:

First is a DECLVAR opcode on entry to the third eval (before anything else runs). Because a is already declared this should be a no-op, but the bug caused the variable to overwritten with undefined at that point.
Second is the assignment itself, here a=7. This works correctly in your case.

The key thing is that a redeclaration in the same compilation unit (eval code, global code) won't trigger the issue. The binding must already exist or must be declared and redeclared in separate compilation units.
If you wanted to verify this, you could try the v1-maintenance branch which has a backported fix.

The 1.x fix will be in the 1.7.0 release, 1.6.x doesn't have the fix.

I tried out just commit 48f7ad5c06331fac88d1e9aa5a767030a143ba88 on 1.5.1 and it did resolve my specific version of the issue, thanks.

@mpietras Good to hear - you can use that cherry-pick or v1-maintenance (to become 1.7.0 in a week or two). Upgrading from 1.5.1 to 1.7.0 should be straightforward: the changes are quite minor, and the minor version has just been bumped because of a few small API additions.


Fix the color of PR comment hyperlinks.

Fix issue #12995 by limiting the grey-color span up to cover the comment header only.

Codecov Report

Merging #13009 into master will increase coverage by 0.00%.
The diff coverage is 60.00%.

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

Thanks!

You may want to differentiate link color between unvisited and visited link, something like:
a:visited {
    color: something;
}

a:link {
    color: other;
}

Otherwise, ack.

That shouldn't change (and example above would be a site wide change) and PR is good as is.

🚀


Enable self typecheck when running tests

Note we have "build-typed": "npm run build && babel --plugins typecheck -d ./lib ./src", – the output has to be built twice.
I think we should remove lib/ from the repo now.

@fixplz thanks! Not sure about removing lib though.

@phpnode Ok. I have not been checking in lib though because I don't understand the policy for updating it. It was last committed before 1.2.0.

@fixplz ah, yes we could remove it from the repo because it gets built with the npm publish command.

Ok, I'll just do that.

If you .gitignore it I think we'll need to add an empty .npmignore too, apparently npm will use .gitignore if no .npmignore file exists, so npm publish would break.

I see, I didn't know that.
How about adding a files section to package.json?


JSQMessagesInputToolbar preferredDefaultHeight error

Hi. Why I get the next error:
[JSQMessagesInputToolbar preferredDefaultHeight]: unrecognized selector sent to instance 0x7ffde2e73c70
 *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[JSQMessagesInputToolbar preferredDefaultHeight]: unrecognized selector sent to instance 0x7ffde2e73c70'

It happens when I use:
class MessagesViewController: JSQMessagesViewController {

How can I fix this error? I searched a lot, but nothing helps me. Thanks in advance!

hey @orkhanalizade - maybe you need to import the library or update to the latest version?

@jessesquires I've updated my framework like
pod "JSQMessagesViewController", "~> 7.1.0"
but after update I get the next errors:
failed to import bridging header '/Users/orkhanalizade/Desktop/messenger/Messenger-Bridging-Header.h'
and
'GCDAsyncSocket.h' file not found
Why?

GCDAsyncSocket.h is not part of this library


fix: added placement support in button, button group, and menu widget

Description

added placement support in button, button group, and menu widget

Fixes #7913
Type of change

Bugfix (non-breaking change which fixes an issue)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: feature/alignment-options-button-widget

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.05 (0.01)
36.94 (0.01)
33.79 (0.01)
55.53 (0.01)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.26 (0.22)
41.25 (0.83)
34.48 (0)
56.22 (0.26)

:red_circle:
app/client/src/widgets/WidgetUtils.ts
77.97 (-5.36)
50 (-9.38)
50 (0)
72.92 (-6.57)

:red_circle:
app/client/src/widgets/ButtonGroupWidget/component/index.tsx
25.61 (-0.64)
11.38 (0)
5 (-0.26)
28.17 (-0.4)

:green_circle:
app/client/src/widgets/ButtonWidget/component/index.tsx
52.08 (1.55)
31 (1)
47.83 (2.38)
51.19 (1.79)

:red_circle:
app/client/src/widgets/MenuButtonWidget/component/index.tsx
25.45 (-0.48)
14.71 (0)
0 (0)
29.79 (-0.64)

/ok-to-test sha=1b4b759

/ok-to-test sha=ca7c938

/ok-to-test=7275146

/ok-to-test sha=7275146

/ok-to-test sha=5eab243

/ok-to-test sha=ecd6403

/ok-to-test sha=45d49cb

/ok-to-test sha=45d49cb

/ok-to-test sha=15ee9d6

@techbhavin 1. If icon is not selected then selecting Between option in placement property does nothing.
https://www.loom.com/share/03bc17af0fcc47bd94b0e118375f00a3

@vivekverma2312  between property only works with an icon reason is between  is justify-content: space-between.

@techbhavin Deploy preview is tested and looks good.

/ok-to-test sha=164aced

/ok-to-test sha=19f1226

/ok-to-test sha=19f1226


angular i18n pluralization breaks html formatter

VSCode Version: 1.44.2
OS Version: Windows 10 64bit

Steps to Reproduce:

Create an new html file
Put this code somewhere in the html file

   <div *ngIf="currentPeriodType === '0'">{currentMultiplier,
    plural, =1 {{{currentMultiplier}} Day} other {{{currentMultiplier}} Days} }
   </div>

Try to format your html file

The html code gets formatted well till the pluralization. After this line the code doesn't get formatted anymore. Looks like vs code html formatter can't handle this syntax.

Does this issue occur when all extensions are disabled?: Yes

We use beautifyjs as the underlying HTML formatter. Would you mind filing this request directly against https://github.com/beautify-web/js-beautify ?


Function app v4 TypeScript route parameters

We are migrating from v3 to v4 currently and have reached a critical problem. It seems like the routing does not work with numbers/int.
I took the basic example for Docs: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cfunctionsv2&pivots=programming-language-typescript#customize-the-http-endpoint
We can see that the category is resolving perfectly fine, but the id is undefined.
import { app, HttpRequest, HttpResponseInit, InvocationContext } from '@azure/functions';

export async function httpTrigger1(request: HttpRequest, context: InvocationContext): Promise<HttpResponseInit> {
  console.log(request.params); // { category: 'books' }
  const category = request.params.category; // books
  const id = request.params.id; // undefined

  return { body: `Category: ${category}, ID: ${id}` }; // Category: books, ID: undefined
}

app.http('httpTrigger1', {
    methods: ['GET'],
    authLevel: 'anonymous',
    route: 'products/{category:alpha}/{id:int?}',
    handler: httpTrigger1,
});

No matter if I remove the route constraint it still is undefined.
System:
Azure Functions Core Tools
Core Tools Version:       4.0.5858 Commit hash: N/A +f9ca1cc1f385317a558bc35b3a3fc96af22665e4 (64-bit)
Function Runtime Version: 4.834.3.22875

Hi @e-karlsson, this appears to be working for me:

Can you confirm which version of the @azure/functions npm package you're on?

Hi @ejizba ! Thank you for taking the time. Very interesting. Here is the version I have in the package.json file:
"@azure/functions": "^4.0.0".
Also, I am running on Mac if that can make any difference here.

Yeah I'm on a mac as well. If you check your package-lock.json file, it should display the specific version of the npm package being used. For example:

"node_modules/@azure/functions": {
"version": "4.5.0",

Could you send screenshots of what you're doing? It might allow me to catch a difference.

Hm, that's odd.. Yeah sure, see below:

What do you mean with screenshots of what I am doing? I posted the example code above:

Any additional files that are of interest? My colleagues meets the same problem

Yeah two more things:

A screenshot of sending the request - are you using curl? The browser? Postman? etc.
The full logs from func start (above you just had the version info)

Hi.
See full logs below. Generated by first func start --verbose and then trigger a call with Postman. Tried through browser also, same result. The code that is executed is the one on top. No other functions. The project was generated by Visual Studio Code extension for Azure Function app, and the code taken from MS documentation.
➜  test-folder git:(main) ✗ func start --verbose
SkipInProcessHost compilation symbol is not defined.
FUNCTIONS_INPROC_NET8_ENABLED app setting is not enabled in local.settings.json

                  %%%%%%
                 %%%%%%
            @   %%%%%%    @
          @@   %%%%%%      @@
       @@@    %%%%%%%%%%%    @@@
     @@      %%%%%%%%%%        @@
       @@         %%%%       @@
         @@      %%%       @@
           @@    %%      @@
                %%
                %

Azure Functions Core Tools
Core Tools Version:       4.0.5858 Commit hash: N/A +f9ca1cc1f385317a558bc35b3a3fc96af22665e4 (64-bit)
Function Runtime Version: 4.834.3.22875

[2024-07-17T07:40:59.552Z] Building host: version spec: , startup suppressed: 'False', configuration suppressed: 'False', startup operation id: '819c6fba-adaa-45d7-86b4-0a44d95a39dc'
[2024-07-17T07:40:59.612Z] Reading host configuration file '/Users/user1/Documents/repos/test-folder/host.json'
[2024-07-17T07:40:59.614Z] Host configuration file read:
[2024-07-17T07:40:59.614Z] {
[2024-07-17T07:40:59.614Z]   "version": "2.0",
[2024-07-17T07:40:59.614Z]   "logging": {
[2024-07-17T07:40:59.614Z]     "applicationInsights": {
[2024-07-17T07:40:59.614Z]       "samplingSettings": {
[2024-07-17T07:40:59.614Z]         "isEnabled": true,
[2024-07-17T07:40:59.614Z]         "excludedTypes": "Request"
[2024-07-17T07:40:59.614Z]       }
[2024-07-17T07:40:59.614Z]     }
[2024-07-17T07:40:59.614Z]   },
[2024-07-17T07:40:59.614Z]   "extensionBundle": {
[2024-07-17T07:40:59.614Z]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[2024-07-17T07:40:59.614Z]     "version": "[4.*, 5.0.0)"
[2024-07-17T07:40:59.614Z]   }
[2024-07-17T07:40:59.614Z] }
[2024-07-17T07:40:59.670Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python
[2024-07-17T07:40:59.710Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java
[2024-07-17T07:40:59.712Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell
[2024-07-17T07:40:59.725Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at /Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle
[2024-07-17T07:40:59.726Z] Found a matching extension bundle at /Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/4.17.0
[2024-07-17T07:40:59.752Z] Loading functions metadata
[2024-07-17T07:40:59.756Z] Worker indexing is enabled
[2024-07-17T07:40:59.768Z] Fetching metadata for workerRuntime: node
[2024-07-17T07:40:59.768Z] Reading functions metadata (Worker)
[2024-07-17T07:41:00.048Z] Worker f1dfbe74-6215-48a5-aa6f-3ded65e5ba16 connecting on <IP_ADDRESS>:50164
[2024-07-17T07:41:00.309Z] Worker f1dfbe74-6215-48a5-aa6f-3ded65e5ba16 received WorkerInitRequest
[2024-07-17T07:41:00.418Z] Loading entry point file "dist/src/index.js"
[2024-07-17T07:41:00.418Z] Loaded entry point file "dist/src/index.js"
[2024-07-17T07:41:00.418Z] HTTP streaming enabled.

[2024-07-17T07:41:00.418Z] Loading entry point file "dist/src/functions/httpTrigger1.js"
[2024-07-17T07:41:00.419Z] Setting Node.js programming model to "@azure/functions" version "4.5.0"
[2024-07-17T07:41:00.419Z] Loaded entry point file "dist/src/functions/httpTrigger1.js"
[2024-07-17T07:41:00.610Z] Worker f1dfbe74-6215-48a5-aa6f-3ded65e5ba16 received FunctionsMetadataRequest
[2024-07-17T07:41:00.643Z] 1 functions found (Worker)
[2024-07-17T07:41:00.661Z] 1 functions loaded
[2024-07-17T07:41:00.664Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at /Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle
[2024-07-17T07:41:00.664Z] Found a matching extension bundle at /Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/4.17.0
[2024-07-17T07:41:00.664Z] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json
[2024-07-17T07:41:04.342Z] Skipping bundle download since it already exists at path /Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/4.17.0
[2024-07-17T07:41:04.347Z] Loading extension bundle from /Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/4.17.0/bin
[2024-07-17T07:41:04.347Z] Script Startup resetting load context with base path: '/Users/user1/.azure-functions-core-tools/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/4.17.0/bin'.
[2024-07-17T07:41:04.364Z] Reading host configuration file '/Users/user1/Documents/repos/test-folder/host.json'
[2024-07-17T07:41:04.364Z] Host configuration file read:
[2024-07-17T07:41:04.364Z] {
[2024-07-17T07:41:04.364Z]   "version": "2.0",
[2024-07-17T07:41:04.364Z]   "logging": {
[2024-07-17T07:41:04.364Z]     "applicationInsights": {
[2024-07-17T07:41:04.364Z]       "samplingSettings": {
[2024-07-17T07:41:04.364Z]         "isEnabled": true,
[2024-07-17T07:41:04.364Z]         "excludedTypes": "Request"
[2024-07-17T07:41:04.364Z]       }
[2024-07-17T07:41:04.364Z]     }
[2024-07-17T07:41:04.364Z]   },
[2024-07-17T07:41:04.364Z]   "extensionBundle": {
[2024-07-17T07:41:04.364Z]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[2024-07-17T07:41:04.364Z]     "version": "[4.*, 5.0.0)"
[2024-07-17T07:41:04.364Z]   }
[2024-07-17T07:41:04.364Z] }
[2024-07-17T07:41:04.864Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python
[2024-07-17T07:41:04.866Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java
[2024-07-17T07:41:04.866Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell
[2024-07-17T07:41:05.047Z] Initializing Warmup Extension.
[2024-07-17T07:41:05.137Z] Initializing Host. OperationId: '819c6fba-adaa-45d7-86b4-0a44d95a39dc'.
[2024-07-17T07:41:05.154Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=819c6fba-adaa-45d7-86b4-0a44d95a39dc
[2024-07-17T07:41:05.260Z] LoggerFilterOptions
[2024-07-17T07:41:05.260Z] {
[2024-07-17T07:41:05.260Z]   "MinLevel": "None",
[2024-07-17T07:41:05.260Z]   "Rules": [
[2024-07-17T07:41:05.260Z]     {
[2024-07-17T07:41:05.260Z]       "ProviderName": null,
[2024-07-17T07:41:05.260Z]       "CategoryName": null,
[2024-07-17T07:41:05.260Z]       "LogLevel": null,
[2024-07-17T07:41:05.260Z]       "Filter": "<AddFilter>b__0"
[2024-07-17T07:41:05.260Z]     },
[2024-07-17T07:41:05.261Z]     {
[2024-07-17T07:41:05.261Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2024-07-17T07:41:05.261Z]       "CategoryName": null,
[2024-07-17T07:41:05.261Z]       "LogLevel": "None",
[2024-07-17T07:41:05.261Z]       "Filter": null
[2024-07-17T07:41:05.261Z]     },
[2024-07-17T07:41:05.261Z]     {
[2024-07-17T07:41:05.261Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2024-07-17T07:41:05.261Z]       "CategoryName": null,
[2024-07-17T07:41:05.261Z]       "LogLevel": null,
[2024-07-17T07:41:05.261Z]       "Filter": "<AddFilter>b__0"
[2024-07-17T07:41:05.261Z]     },
[2024-07-17T07:41:05.261Z]     {
[2024-07-17T07:41:05.261Z]       "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2024-07-17T07:41:05.261Z]       "CategoryName": null,
[2024-07-17T07:41:05.261Z]       "LogLevel": null,
[2024-07-17T07:41:05.261Z]       "Filter": "<AddFilter>b__0"
[2024-07-17T07:41:05.261Z]     }
[2024-07-17T07:41:05.261Z]   ]
[2024-07-17T07:41:05.261Z] }
[2024-07-17T07:41:05.261Z] LoggerFilterOptions
[2024-07-17T07:41:05.261Z] {
[2024-07-17T07:41:05.261Z]   "MinLevel": "None",
[2024-07-17T07:41:05.261Z]   "Rules": [
[2024-07-17T07:41:05.261Z]     {
[2024-07-17T07:41:05.261Z]       "ProviderName": null,
[2024-07-17T07:41:05.261Z]       "CategoryName": null,
[2024-07-17T07:41:05.261Z]       "LogLevel": null,
[2024-07-17T07:41:05.261Z]       "Filter": "<AddFilter>b__0"
[2024-07-17T07:41:05.262Z]     },
[2024-07-17T07:41:05.262Z]     {
[2024-07-17T07:41:05.262Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2024-07-17T07:41:05.262Z]       "CategoryName": null,
[2024-07-17T07:41:05.262Z]       "LogLevel": "None",
[2024-07-17T07:41:05.262Z]       "Filter": null
[2024-07-17T07:41:05.262Z]     },
[2024-07-17T07:41:05.262Z]     {
[2024-07-17T07:41:05.262Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2024-07-17T07:41:05.262Z]       "CategoryName": null,
[2024-07-17T07:41:05.262Z]       "LogLevel": null,
[2024-07-17T07:41:05.262Z]       "Filter": "<AddFilter>b__0"
[2024-07-17T07:41:05.262Z]     },
[2024-07-17T07:41:05.262Z]     {
[2024-07-17T07:41:05.262Z]       "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2024-07-17T07:41:05.262Z]       "CategoryName": null,
[2024-07-17T07:41:05.262Z]       "LogLevel": null,
[2024-07-17T07:41:05.262Z]       "Filter": "<AddFilter>b__0"
[2024-07-17T07:41:05.262Z]     }
[2024-07-17T07:41:05.262Z]   ]
[2024-07-17T07:41:05.262Z] }
[2024-07-17T07:41:05.262Z] LanguageWorkerOptions
[2024-07-17T07:41:05.262Z] {
[2024-07-17T07:41:05.262Z]   "WorkerConfigs": [
[2024-07-17T07:41:05.262Z]     {
[2024-07-17T07:41:05.262Z]       "Description": {
[2024-07-17T07:41:05.262Z]         "Language": "node",
[2024-07-17T07:41:05.262Z]         "DefaultRuntimeName": null,
[2024-07-17T07:41:05.262Z]         "DefaultRuntimeVersion": null,
[2024-07-17T07:41:05.262Z]         "SupportedArchitectures": null,
[2024-07-17T07:41:05.263Z]         "SupportedOperatingSystems": null,
[2024-07-17T07:41:05.263Z]         "SupportedRuntimeVersions": null,
[2024-07-17T07:41:05.263Z]         "SanitizeRuntimeVersionRegex": null,
[2024-07-17T07:41:05.263Z]         "WorkerIndexing": "true",
[2024-07-17T07:41:05.263Z]         "Extensions": [
[2024-07-17T07:41:05.263Z]           ".js",
[2024-07-17T07:41:05.263Z]           ".mjs",
[2024-07-17T07:41:05.263Z]           ".cjs"
[2024-07-17T07:41:05.263Z]         ],
[2024-07-17T07:41:05.263Z]         "UseStdErrorStreamForErrorsOnly": false,
[2024-07-17T07:41:05.263Z]         "DefaultExecutablePath": "node",
[2024-07-17T07:41:05.263Z]         "DefaultWorkerPath"<EMAIL_ADDRESS>[2024-07-17T07:41:05.263Z]         "WorkerDirectory"<EMAIL_ADDRESS>[2024-07-17T07:41:05.263Z]         "Arguments": [],
[2024-07-17T07:41:05.263Z]         "WorkerArguments": null
[2024-07-17T07:41:05.263Z]       },
[2024-07-17T07:41:05.263Z]       "Arguments": {
[2024-07-17T07:41:05.263Z]         "ExecutablePath": "node",
[2024-07-17T07:41:05.263Z]         "ExecutableArguments": [],
[2024-07-17T07:41:05.263Z]         "WorkerPath"<EMAIL_ADDRESS>[2024-07-17T07:41:05.263Z]         "WorkerArguments": []
[2024-07-17T07:41:05.263Z]       },
[2024-07-17T07:41:05.263Z]       "CountOptions": {
[2024-07-17T07:41:05.263Z]         "SetProcessCountToNumberOfCpuCores": false,
[2024-07-17T07:41:05.263Z]         "ProcessCount": 1,
[2024-07-17T07:41:05.263Z]         "MaxProcessCount": 10,
[2024-07-17T07:41:05.263Z]         "ProcessStartupInterval": "00:00:10",
[2024-07-17T07:41:05.263Z]         "ProcessStartupTimeout": "00:01:00",
[2024-07-17T07:41:05.263Z]         "InitializationTimeout": "00:02:00",
[2024-07-17T07:41:05.263Z]         "EnvironmentReloadTimeout": "00:02:00",
[2024-07-17T07:41:05.264Z]         "ProcessRestartInterval": "00:00:10",
[2024-07-17T07:41:05.264Z]         "ProcessShutdownTimeout": "00:00:10"
[2024-07-17T07:41:05.264Z]       }
[2024-07-17T07:41:05.264Z]     }
[2024-07-17T07:41:05.264Z]   ]
[2024-07-17T07:41:05.264Z] }
[2024-07-17T07:41:05.264Z] ConcurrencyOptions
[2024-07-17T07:41:05.264Z] {
[2024-07-17T07:41:05.264Z]   "DynamicConcurrencyEnabled": false,
[2024-07-17T07:41:05.264Z]   "MaximumFunctionConcurrency": 500,
[2024-07-17T07:41:05.264Z]   "CPUThreshold": 0.8,
[2024-07-17T07:41:05.264Z]   "SnapshotPersistenceEnabled": true
[2024-07-17T07:41:05.264Z] }
[2024-07-17T07:41:05.264Z] FunctionResultAggregatorOptions
[2024-07-17T07:41:05.264Z] {
[2024-07-17T07:41:05.264Z]   "BatchSize": 1000,
[2024-07-17T07:41:05.264Z]   "FlushTimeout": "00:00:30",
[2024-07-17T07:41:05.264Z]   "IsEnabled": true
[2024-07-17T07:41:05.264Z] }
[2024-07-17T07:41:05.264Z] SingletonOptions
[2024-07-17T07:41:05.264Z] {
[2024-07-17T07:41:05.264Z]   "LockPeriod": "00:00:15",
[2024-07-17T07:41:05.264Z]   "ListenerLockPeriod": "00:00:15",
[2024-07-17T07:41:05.264Z]   "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[2024-07-17T07:41:05.264Z]   "LockAcquisitionPollingInterval": "00:00:05",
[2024-07-17T07:41:05.264Z]   "ListenerLockRecoveryPollingInterval": "00:01:00"
[2024-07-17T07:41:05.264Z] }
[2024-07-17T07:41:05.265Z] ScaleOptions
[2024-07-17T07:41:05.265Z] {
[2024-07-17T07:41:05.265Z]   "ScaleMetricsMaxAge": "00:02:00",
[2024-07-17T07:41:05.265Z]   "ScaleMetricsSampleInterval": "00:00:10",
[2024-07-17T07:41:05.265Z]   "MetricsPurgeEnabled": true,
[2024-07-17T07:41:05.265Z]   "IsTargetScalingEnabled": true,
[2024-07-17T07:41:05.265Z]   "IsRuntimeScalingEnabled": false
[2024-07-17T07:41:05.265Z] }
[2024-07-17T07:41:05.268Z] Starting JobHost
[2024-07-17T07:41:05.276Z] Starting Host (HostId=c02f82lxml7h-1792276392, InstanceId=5034a29e-8f4e-495f-91cf-33626e8f701c, Version=4.834.3.22875, ProcessId=8435, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[2024-07-17T07:41:05.302Z] Loading functions metadata
[2024-07-17T07:41:05.302Z] Worker indexing is enabled
[2024-07-17T07:41:05.302Z] Fetching metadata for workerRuntime: node
[2024-07-17T07:41:05.302Z] Reading functions metadata (Worker)
[2024-07-17T07:41:05.326Z] Reading functions metadata (Custom)
[2024-07-17T07:41:05.348Z] 1 functions found (Custom)
[2024-07-17T07:41:05.364Z] 1 functions loaded
[2024-07-17T07:41:05.441Z] Generating 1 job function(s)
[2024-07-17T07:41:05.444Z] Worker process started and initialized.
[2024-07-17T07:41:05.447Z] Worker f1dfbe74-6215-48a5-aa6f-3ded65e5ba16 received FunctionLoadRequest
[2024-07-17T07:41:05.527Z] Found the following functions:
[2024-07-17T07:41:05.528Z] Host.Functions.httpTrigger1
[2024-07-17T07:41:05.528Z]
[2024-07-17T07:41:05.544Z] HttpOptions
[2024-07-17T07:41:05.544Z] {
[2024-07-17T07:41:05.544Z]   "DynamicThrottlesEnabled": false,
[2024-07-17T07:41:05.544Z]   "EnableChunkedRequestBinding": false,
[2024-07-17T07:41:05.544Z]   "MaxConcurrentRequests": -1,
[2024-07-17T07:41:05.544Z]   "MaxOutstandingRequests": -1,
[2024-07-17T07:41:05.544Z]   "RoutePrefix": "api"
[2024-07-17T07:41:05.544Z] }
[2024-07-17T07:41:05.546Z] Initializing function HTTP routes
[2024-07-17T07:41:05.546Z] Mapped function route 'api/products/{category:alpha}/{id:int?}' [GET] to 'httpTrigger1'
[2024-07-17T07:41:05.546Z]
[2024-07-17T07:41:05.565Z] Host initialized (268ms)
[2024-07-17T07:41:05.572Z] Host started (293ms)
[2024-07-17T07:41:05.573Z] Job host started

Functions:

        httpTrigger1: [GET] http://localhost:7071/api/products/{category:alpha}/{id:int?}

[2024-07-17T07:41:10.281Z] Host lock lease acquired by instance ID '0000000000000000000000003219BFCE'.
[2024-07-17T07:41:28.155Z] Executing HTTP request: {
[2024-07-17T07:41:28.155Z]   "requestId": "426634ed-2adb-4210-ac98-2b43010af0a5",
[2024-07-17T07:41:28.155Z]   "method": "GET",
[2024-07-17T07:41:28.156Z]   "userAgent": "PostmanRuntime/7.40.0",
[2024-07-17T07:41:28.156Z]   "uri": "/api/products/books/5"
[2024-07-17T07:41:28.156Z] }
[2024-07-17T07:41:28.439Z] Executing 'Functions.httpTrigger1' (Reason='This function was programmatically called via the host APIs.', Id=fe4ad3f8-39b1-42ea-9a26-c12aee61369f)
[2024-07-17T07:41:28.607Z] { category: 'books' }
[2024-07-17T07:41:28.634Z] Worker f1dfbe74-6215-48a5-aa6f-3ded65e5ba16 received FunctionInvocationRequest with invocationId fe4ad3f8-39b1-42ea-9a26-c12aee61369f
[2024-07-17T07:41:28.717Z] Executed 'Functions.httpTrigger1' (Succeeded, Id=fe4ad3f8-39b1-42ea-9a26-c12aee61369f, Duration=324ms)
[2024-07-17T07:41:28.757Z] Executed HTTP request: {
[2024-07-17T07:41:28.757Z]   "requestId": "426634ed-2adb-4210-ac98-2b43010af0a5",
[2024-07-17T07:41:28.757Z]   "identities": "",
[2024-07-17T07:41:28.757Z]   "status": "200",
[2024-07-17T07:41:28.757Z]   "duration": "601"
[2024-07-17T07:41:28.757Z] }

Just to clarify the problem, I did a request also with endpoint http://localhost:7071/api/products/books/05, then it works as it see 05 as a string..
[2024-07-17T07:43:07.860Z] Executing HTTP request: {
[2024-07-17T07:43:07.860Z]   "requestId": "beef9a6d-29a4-475c-954d-ec428bdd399f",
[2024-07-17T07:43:07.860Z]   "method": "GET",
[2024-07-17T07:43:07.860Z]   "userAgent": "PostmanRuntime/7.40.0",
[2024-07-17T07:43:07.860Z]   "uri": "/api/products/books/05"
[2024-07-17T07:43:07.860Z] }
[2024-07-17T07:43:07.861Z] Executing 'Functions.httpTrigger1' (Reason='This function was programmatically called via the host APIs.', Id=79c2200a-ab20-41d0-8a2c-11051688f8a4)
[2024-07-17T07:43:07.864Z] Worker f1dfbe74-6215-48a5-aa6f-3ded65e5ba16 received FunctionInvocationRequest with invocationId 79c2200a-ab20-41d0-8a2c-11051688f8a4
[2024-07-17T07:43:07.865Z] { category: 'books', id: '05' }
[2024-07-17T07:43:07.868Z] Executed 'Functions.httpTrigger1' (Succeeded, Id=79c2200a-ab20-41d0-8a2c-11051688f8a4, Duration=6ms)
[2024-07-17T07:43:07.868Z] Executed HTTP request: {
[2024-07-17T07:43:07.868Z]   "requestId": "beef9a6d-29a4-475c-954d-ec428bdd399f",
[2024-07-17T07:43:07.868Z]   "identities": "",
[2024-07-17T07:43:07.868Z]   "status": "200",
[2024-07-17T07:43:07.868Z]   "duration": "7"
[2024-07-17T07:43:07.868Z] }

Okay, I figured out our difference! Projects created recently will have a new http stream feature enabled by default (more info here), but older projects (like I was testing on) will not. I can repro the issue with http streaming turned on and will look into a fix. Thanks for reporting!
In the meantime, you can workaround this by turning http streaming off. In your src/index.ts file you can either change enableHttpStream to false or remove the call to app.setup altogether


Convert backslashes to forward slashes for Azure factory

Part of the effort to get rid of the silly backslashes in the Azure provider.
See also https://github.com/ManageIQ/manageiq-providers-azure/pull/245

LGTM, @Ladas please review...
@djberg96 will the azure repo fail as soon as this is merged here?  (until this is merged?  https://github.com/ManageIQ/manageiq-providers-azure/pull/245)

@jrafanie yes, it will cause a failure.

OK, @djberg96 let's try to merge this and the other together.  @Ladas Please approve this PR when it's ready and ping me or anyone else who can merge here when the other is ready.

@jrafanie I was hoping to get a data migration in as well to go along with the other two, but it's not strictly necessary unless/until there's a backport.

@jrafanie looks great to me, I would probably merge it together with the migration though. We can't backport this @djberg96 , because of the migration.

@djberg96 do you have a schema change PR somewhere?  Please put he dependent/related PRs in each PR's description.  Once they're all ready to go, please ping us so we can do final review and merge.  Thanks!


add AnimatedSlide widget

While Flutter already provides easy-to-use implicitly animated widgets, like AnimatedOpacity or AnimatedPositioned (and now also AnimatedScale and AnimatedRotation), there's no such widget for item's offset animation — which would behave the same as SlideTransition, but wouldn't require AnimationController to be provided.
This PR adds AnimatedOffset widget to resolve this, which could be considered an implicitly animated version of Transform.translate.
Fixes: https://github.com/flutter/flutter/issues/86081
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[ ] All existing and new tests are passing.

I've covered small things you mentioned, and also renamed widget to AnimatedSlide to make the naming more explicit.
I also noticed that IDE added unwanted formatting to the code in latest commits - I will fix it now

I guess it became unclear now what lines I actually changed.
So I will revert latest 4 commits and create 2 new commits with actual changes — sorry for this mess.

It looks like you got the line at the end of the file, but the Linux analyze test is complaining about spaces at the ends of lines.

The docs are failing with the following error:
dartdoc:stdout: Generating docs for library widgets from package:flutter/widgets.dart...
dartdoc:stderr:   error: unresolved doc reference [alignment]
dartdoc:stderr:     from widgets.AnimatedSlide: (file:///b/s/w/ir/x/w/flutter%20sdk/packages/flutter/lib/src/widgets/implicit_animations.dart:1735:7)

It looks like you mention another widget and in that comment you attempt to reference one of its properties (alignment) that is not in scope for the comment for your widget.
You might have copied the comment from AnimatedContainer which got away with this because it also has an alignment property - which means its comment has a bug in that it is referencing the wrong property and the checks failed to notice due to serendipity.
The AnimatedPadding makes this reference to another widget's property correctly [AnimatedAlign.alignment].
It would be nice to fix AnimatedContainer's comment reference as well while you are fixing that up in your own doc comment.

@flar Thanks a lot for your help. I changed docs references to AnimatedAlign.alignment for both AnimatedSlide and AnimatedContainer, and now all tests seem to pass with no errors.


Elapsed time table column

😯 Problem to Solve
SLE apps need a column that displays elapsed time.
See AzDO feature: https://ni.visualstudio.com/DevCentral/_workitems/edit/2526116
📋 Tasks

[x] nimble-duration-text-column spec
[x] nimble-duration-text-column custom element
[x] nimble-duration-text-column unit tests
[x] nimble-duration-text-column Storybook tests
[x] nimble-duration-text-column Storybook docs
[x] nimble-duration-text-column Angular wrapper
[x] nimble-duration-text-column Blazor wrapper
[x] Add to Angular example app
[x] Add to Blazor example app

#1619 added Blazor/Angular integration, and added the duration column to the all-components bundle.


Changes related to caching Freshdesk data in OIM CMS.

This change is

Reviewed 13 of 13 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Implement 'click' functionality

The LIS3DH allows for the 'interrupt' (INT) pin to be set high according to a set of given parameters, functionality to set and make use of this is not currently exposed in this library.
Example C code here

Nice Driver function.
I've found one error (RANGE_16 divisor should be 1365.33 not 2048)
But also implemented Click functionality via INT
please add me as a collaborator & I'll upload a branch with the changes

Thanks @MalSmalley - please submit a PR and I'll happily merge the changes!


Granting write access for Main

We have reviewed the people who have write access to main, and have removed anyone who has not been active in the last 6 months. We have also granted write access to @nick-l-o3de and @AMZN-daimini, as this will be needed for the upcoming point release. This issue is to serve as a paper trail of the changes and will be closed 2 weeks from today 5/8.

Just to close the loop, the changes have been granted.


die-on dies too early

Instead of printing all warnings, it only prints the first warning it found. I can see the reasoning, but that's not the most useful. What a user of this feature wants I think is as many errors listed as possible, but never a positive response if there's an error.

Hm, I see the reasoning here. It unfortunately doesn't mesh well with my current design, as it would require maintaining "do I have a fatal error?" state on a document that makes it exit with non-zero status instead of outputting itself, but my messaging tooling is independent of documents (and sometimes called from functions that don't have access to the document).
That said, my current design has some annoying flaws that I wouldn't mind mending; in particular, I'd love to be able to start tracking error messages as test expectations, and that also generally requires tracking error state on the document.
So consider this problem accepted, but timeline unknown.


Imported PuTTY session with working key auth not working in superputty

PuTTY session with key authentication work when using it in Putty. When the imported PuTTY session to Superputty is used it wont use the key authentication instead prompts for a password.
This is a new Putty session the original imported session work as expected with key authentication.
Desktop (please complete the following information):

OS: Windows 10
Superputty Version <IP_ADDRESS>
PuTTY Version Development snapshot 2018-12-09.3322d4c Build platform: 64-bit x86 Windows

Also observed the same issue in my environment as well

OS: Windows 10
Superputty: Version <IP_ADDRESS>

The issue I was having was related the putty session profile name using special characters. The profile had + in the name. When I changed the name removing the + and edited the supperputty sessions files to remove the extra space (that should have been a +) the session starts as expected in supperputty.


Update splash screen with new logo and graphics

duplicate of https://github.com/BeamMW/beam-ui/issues/17?
@alexandrashelenkova @sasha-abramovich

Yes, seems it's a duplicate, sorry.


FluentListbox replace max-width to width

Pull Request
📖 Description
<FluentStack Orientation="Orientation.Vertical" VerticalGap="10" Width="100%">
    <FluentToolbar Style="width: 100%;">
        <FluentButton>Foo</FluentButton>
    </FluentToolbar>
    <FluentListbox TOption="string"
                   Items="data"
                   Multiple="false" Height="100px" Width="100%" />
</FluentStack>

@code {
    List<string> data = new() { "Foo", "Bar" };
}

🎫 Issues

👩💻 Reviewer Notes

📑 Test Plan

✅ Checklist
General

[ ] I have added tests for my changes.
[ ] I have tested my changes.
[ ] I have updated the project documentation to reflect my changes.
[ ] I have read the CONTRIBUTING documentation and followed the standards for this project.

Component-specific

[ ] I have added a new component
[ ] I have added Unit Tests for my new compontent
[ ] I have modified an existing component
[ ] I have validate Unit Tests for an existing component

⏭ Next Steps

Hi,
We are missing a bit of information here. What problem are you trying to solve? Is the image from the before of after situation?
Also, moving forward we are going to be way more strict on PRs having unit tests associated with the changes. Please take a look at the supplied docs and provide tests for this change.

I think you also need to correct the Height value:
protected virtual StyleBuilder BorderStyle => new StyleBuilder()
    .AddStyle("width", Width, when: !string.IsNullOrEmpty(Width))                     // <==
    .AddStyle("height", Height, when: !string.IsNullOrEmpty(Height))                  // <==
    .AddStyle("overflow-y", "auto")
    .AddStyle("border", "calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest)")
    .AddStyle("border-radius", "calc(var(--control-corner-radius) * 1px)");

Hi,
sorry my english is ultimate bad :)
A width of 100% is specified in the FluentListbox.
But the setting becomes max-width: 100%.
It is also not possible to define your own style. Since the style only works on the inner div.
<div style="@BorderStyle.Build()"> <!--PARENT (max-width: 100%)-->
   ...
   <fluent-listbox @ref="Element"
                        ...
                        style="@($"{StyleValue} border: none; width: 100%;")" <!--INNER DIV-->
   </fluent-listbox>
</div>

I only have one option:
<FluentStack Style="align-items: stretch"></FluentStack>

I understand the importance of unit testing. But for that

I think you also need to correct the Height value:
protected virtual StyleBuilder BorderStyle => new StyleBuilder()
    .AddStyle("width", Width, when: !string.IsNullOrEmpty(Width))                     // <==
    .AddStyle("height", Height, when: !string.IsNullOrEmpty(Height))                  // <==
    .AddStyle("overflow-y", "auto")
    .AddStyle("border", "calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest)")
    .AddStyle("border-radius", "calc(var(--control-corner-radius) * 1px)");

I like the max-height height value

I think you also need to correct the Height value:
protected virtual StyleBuilder BorderStyle => new StyleBuilder()
    .AddStyle("width", Width, when: !string.IsNullOrEmpty(Width))                     // <==
    .AddStyle("height", Height, when: !string.IsNullOrEmpty(Height))                  // <==
    .AddStyle("overflow-y", "auto")
    .AddStyle("border", "calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest)")
    .AddStyle("border-radius", "calc(var(--control-corner-radius) * 1px)");

I like the max-height height value

Perhaps, but the problem is the same: without the correct height style, the ListBox won't be displayed correctly.
If you decide to set a width or a height values, the result must be this value.

Perhaps, but the problem is the same: without the correct height style, the ListBox won't be displayed correctly.
If you decide to set a width or a height values, the result must be this value.

Yes, the problem is the same, but the correct height can be achieved by adding x items.
Achieving the correct width is more difficult.
max-height is not correct, but could stay there

No, when using max-height, the result will not always be correct.
For example, if the number of elements is less than the height, the result will not be correct.

Yes that is correct. Thanks

What is the status of this? Can we close th PR?

The max-height value has not yet been changed to height. So it's not a valid PR at the moment, in my opinion.

Hey, I am running into the same issue. I agree with @dvoituron, that max-height should also be changed to height. Looking forward for this fix to get in.

Replaced with PR #1083. Closing this one.


Camera failed, E (235) camera_demo: Camera probe failed with error 0x20003

I am trying to use OV2640, but I don't know why the camera failed?
Any help please
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.2.1
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash params set to 0x0220
Compressed 19664 bytes to 11618...
Wrote 19664 bytes (11618 compressed) at 0x00001000 in 1.0 seconds (effective 153.3 kbit/s)...
Hash of data verified.
Compressed 532480 bytes to 327160...
Wrote 532480 bytes (327160 compressed) at 0x00010000 in 28.9 seconds (effective 147.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 103...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.0 seconds (effective 1891.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting...
MONITOR
--- idf_monitor on /dev/ttyUSB0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:5648
ho 0 tail 12 room 4
load:0x40078000,len:0
load:0x40078000,len:13912
entry 0x40078fd8
I (30) boot: ESP-IDF v3.1-dev-363-g417ef19 2nd stage bootloader
I (30) boot: compile time 18:15:19
I (30) boot: Enabling RNG early entropy source...
I (36) boot: SPI Speed      : 40MHz
I (40) boot: SPI Mode       : DIO
I (44) boot: SPI Flash Size : 4MB
I (48) boot: Partition Table:
I (51) boot: ## Label            Usage          Type ST Offset   Length
I (59) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (66) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (74) boot:  2 factory          factory app      00 00 00010000 00100000
I (81) boot: End of partition table
I (85) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x127b8 ( 75704) map
I (120) esp_image: segment 1: paddr=0x000227e0 vaddr=0x3ffb0000 size=0x0316c ( 12652) load
I (126) esp_image: segment 2: paddr=0x00025954 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _iram_start at /home/user/esp/esp-idf/components/freertos/./xtensa_vectors.S:1685
I (128) esp_image: segment 3: paddr=0x00025d5c vaddr=0x40080400 size=0x0a2b4 ( 41652) load
I (153) esp_image: segment 4: paddr=0x00030018 vaddr=0x400d0018 size=0x5dbd4 (383956) map
0x400d0018: _stext at ??:?
I (287) esp_image: segment 5: paddr=0x0008dbf4 vaddr=0x4008a6b4 size=0x043d8 ( 17368) load
0x4008a6b4: vTaskExitCritical at /home/user/esp/esp-idf/components/freertos/./tasks.c:3529
I (294) esp_image: segment 6: paddr=0x00091fd4 vaddr=0x400c0000 size=0x00000 (     0) load
I (303) boot: Loaded app from partition at offset 0x10000
I (303) boot: Disabling RNG early entropy source...
I (305) cpu_start: Pro cpu up.
I (309) cpu_start: Starting app cpu, entry point is 0x40080fb8
0x40080fb8: call_start_cpu1 at /home/user/esp/esp-idf/components/esp32/./cpu_start.c:215
I (0) cpu_start: App cpu up.
I (319) heap_init: Initializing. RAM available for dynamic allocation:
I (326) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (332) heap_init: At 3FFB8E78 len 00027188 (156 KiB): DRAM
I (338) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (345) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (351) heap_init: At 4008EA8C len 00011574 (69 KiB): IRAM
I (357) cpu_start: Pro cpu start user code
I (152) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
E (235) camera_demo: Camera probe failed with error 0x20003

my project show too:E (235) camera_demo: Camera probe failed with error 0x20003
and I find ESP32 read the OV7725:PID=0x4a VER=0x000 MIDL=0x10 MIDH=0x10
what happend?

@Janet2018

@Janet2018
https://github.com/igrr/esp32-cam-demo/issues/57


Request: change asm.bin to ez80asm.bin

This would make it clear what assembler it is, I have multiple installed. It would also be consistent across Windows, MacOS and Linux.
Yes you can change the name yourself, a default standard would be good.

Implemented in v0.98